samba.git
16 years agor974: Fix open code to pass more torture tests. We now pass the Samba4
Jeremy Allison [Wed, 2 Jun 2004 02:12:54 +0000 (02:12 +0000)]
r974: Fix open code to pass more torture tests. We now pass the Samba4
oplock test. We do this be changing the algorithm when breaking
oplocks slightly. Previously we broke an oplock, then re-loaded
the share modes and re-iterated. Now we break all oplocks, then
re-load the share modes and check the share details - then iterate.
This seems to match the way Win2k3 does it.
Jeremy.
(This used to be commit 5ec4f4e4e6596ea0f52aca5c9e1a75bf35612e37)

16 years agor971: Auto remove store dos attributes if underlying filesystem
Jeremy Allison [Tue, 1 Jun 2004 20:43:32 +0000 (20:43 +0000)]
r971: Auto remove store dos attributes if underlying filesystem
doesn't support EA's.
Jeremy.
(This used to be commit 9de6b25c9e9abe982e21b0229df520802cafbfd8)

16 years agor966: fixing package dependencies
Gerald Carter [Tue, 1 Jun 2004 15:06:08 +0000 (15:06 +0000)]
r966: fixing package dependencies
(This used to be commit f614991544bcad9f825e7e091bed58c59c42f5ac)

16 years agor964: The max_size field in cli_samr_enum_als_groups is more like an account_control
Volker Lendecke [Tue, 1 Jun 2004 14:45:49 +0000 (14:45 +0000)]
r964: The max_size field in cli_samr_enum_als_groups is more like an account_control
field with indiviual bits what to retrieve. Set this to 0xffff as NT4
usrmgr.exe does to get everything. I'm too lazy (sorry) to get this through to
rpc_parse/ etc.

Volker
(This used to be commit d7239c2611a62873cc9eff296c84e91198a5c552)

16 years agor957: Fixup moribund unix extensions mknod code path. Don't add in
Jeremy Allison [Tue, 1 Jun 2004 04:55:42 +0000 (04:55 +0000)]
r957: Fixup moribund unix extensions mknod code path. Don't add in
configure test yet. Also allow unix domain socket create.
Jeremy.
(This used to be commit 2db0c4ca7b23cdd1dbf83d4de58acbf4dc118df2)

16 years agor947: Patch from Fabian Franz <FabianFranz@gmx.de> that allows you
Jelmer Vernooij [Sun, 30 May 2004 11:59:12 +0000 (11:59 +0000)]
r947: Patch from Fabian Franz <FabianFranz@gmx.de> that allows you
to specify a port in the device URL.
(This used to be commit e6dcda2b10c4871ca8488bf04b22c2c11673621d)

16 years agor945: "Correct" (as in, more correct) way to handle stat opens. Doesn't regress
Jeremy Allison [Sun, 30 May 2004 07:21:50 +0000 (07:21 +0000)]
r945: "Correct" (as in, more correct) way to handle stat opens. Doesn't regress
the torture tester. Passes OPEN tests in Samba3 and Samba4 and oplock tests
in Samba4. Last thing to check, can an "attribute only" open actually create
a file. I think it can....
Jeremy.
(This used to be commit d8177a42d4a2a2b6df5d0593f2f92bddc29ffe94)

16 years agor942: If using DOS error codes, we need to return ERRDOS/ERRbadpath for chkpth even
Volker Lendecke [Fri, 28 May 2004 19:15:11 +0000 (19:15 +0000)]
r942: If using DOS error codes, we need to return ERRDOS/ERRbadpath for chkpth even
if only the last component failed. I'm not sure if all the other cases of
NT_STATUS_OBJECT_NAME_NOT_FOUND also need to be fixed, this at least helps
with 'copy test1.txt test2.txt' from DOS within a subdirectory.

Yes, I do have someone who needs this :-)

Jeremy, could you take a look at this?

Thanks,

Volker
(This used to be commit 3093ab100653782bd8e029170d315c68b7f271af)

16 years agor938: on an error save the original errno before calling iconv to reset
Herb Lewis [Fri, 28 May 2004 17:57:18 +0000 (17:57 +0000)]
r938: on an error save the original errno before calling iconv to reset
the conversion state
(This used to be commit 4a5a122b3a85c653bbf458342400f3b8a69dc615)

16 years agor936: Fix a rather weird error that crippled my site, when we upgraded to
Andrew Bartlett [Fri, 28 May 2004 08:57:00 +0000 (08:57 +0000)]
r936: Fix a rather weird error that crippled my site, when we upgraded to
Samba 3.0.4.

If we fail a query for the members of the 'administrators' group (and we may well just have the IDL wrong), this destroys later parts of the domain logon process.

For reasons I can't understand, the client-side 'heck, what happened'
bailout causes the connection to the DC to be dropped, and causes the
mandetory profile not to be loaded.  (This also only occours after a reboot)

Return the members of 'administrators', and it all works fine.

The reason we hit this is because we run winbindd (to support
pam_winbind) on our DC, and the winbindd lookup in sid_to_gid was
messing things up.  As we don't care what type of thing this is,
provided it exists in the group mapping db, we should not bother
winbindd here.

Andrew Bartlett
(This used to be commit d626b5c6d401e72296cf570e50f324c145fd70e0)

16 years agor933: When using widelinks = no, use realpath to canonicalize the
Jeremy Allison [Fri, 28 May 2004 01:54:01 +0000 (01:54 +0000)]
r933: When using widelinks = no, use realpath to canonicalize the
connection path on connection create for the user. We'll be
checking all symlinked paths are below this directory.
Jeremy.
(This used to be commit b562fe9fbca4971059b913959bbaca02af42c1a4)

16 years agor931: Ensure we push 16 bytes (including null termination)
Jeremy Allison [Fri, 28 May 2004 00:41:08 +0000 (00:41 +0000)]
r931: Ensure we push 16 bytes (including null termination)
not 15.
(This used to be commit 1d3fd1a58e0a8b08fe028ceee03618180c7d4b97)

16 years agor928: Ensure we're calling send_mailslot() with a UNIX charset
Jeremy Allison [Thu, 27 May 2004 22:57:50 +0000 (22:57 +0000)]
r928: Ensure we're calling send_mailslot() with a UNIX charset
target name.
Jeremy.
(This used to be commit 409eef2be78a74b8ae69e4f1f58514006f0ae090)

16 years agor925: add changes frpm trunk (r841 and r842) -- enable background queue update proces...
Gerald Carter [Thu, 27 May 2004 15:38:54 +0000 (15:38 +0000)]
r925: add changes frpm trunk (r841 and r842) -- enable background queue update process and allow printers to have different sharenames from printernames
(This used to be commit 066b9c4276a968788a03709a00d4f672ac032df7)

16 years agor923: Fixes so tdbtool and tdbtest can be built. Added build specs for tdbdump and...
John Terpstra [Thu, 27 May 2004 12:50:55 +0000 (12:50 +0000)]
r923: Fixes so tdbtool and tdbtest can be built. Added build specs for tdbdump and tdbbackup.
(This used to be commit c5dc3da3406541891f412d32c292765d7b650f0f)

16 years agor922: Adding notes regarding location of documentation.
John Terpstra [Thu, 27 May 2004 09:06:09 +0000 (09:06 +0000)]
r922: Adding notes regarding location of documentation.
(This used to be commit 1b0fd9b5bc0a96b38158df19e40c04f307a2acd7)

16 years agor921: Change notice from CVS to SVN.
John Terpstra [Thu, 27 May 2004 08:25:20 +0000 (08:25 +0000)]
r921: Change notice from CVS to SVN.
(This used to be commit 032a827c329a3d0bc5bfd62800f34aa25b9d3cbb)

16 years agor916: Memory leak fix from kawasa_r@itg.hitachi.co.jp.
Jeremy Allison [Thu, 27 May 2004 00:04:43 +0000 (00:04 +0000)]
r916: Memory leak fix from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit c336ccf4e8a6340f8d786219fbc7e4e5a7877e4e)

16 years agor914: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure
Jeremy Allison [Wed, 26 May 2004 18:52:45 +0000 (18:52 +0000)]
r914: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure
correct sid type returned for builtin sids.
Jeremy.
(This used to be commit 14cf55abb8239e7c90f8891565ac7ed8c51423eb)

16 years agor911: Patch from "Jerome Borsboom" <j.borsboom@erasmusmc.nl>, don't
Jeremy Allison [Wed, 26 May 2004 18:27:16 +0000 (18:27 +0000)]
r911: Patch from "Jerome Borsboom" <j.borsboom@erasmusmc.nl>, don't
overwrite error code.
Jeremy.
(This used to be commit 735e49ddc3c4485c7b43208345d0e3e2b8960ad4)

16 years agor910: Fix for bug #1385 found by Jason Mader <jason@ncac.gwu.edu>.
Jeremy Allison [Wed, 26 May 2004 17:45:12 +0000 (17:45 +0000)]
r910: Fix for bug #1385 found by Jason Mader <jason@ncac.gwu.edu>.
Don't use non-consts in a structure initialization.
Jeremy.
(This used to be commit 455ed258b3457ad5b7d3dad14b64781ab98f00dc)

16 years agor907: fixing browse.dat bug -- don't include the resouce byte from the netbios name...
Gerald Carter [Wed, 26 May 2004 14:19:28 +0000 (14:19 +0000)]
r907: fixing browse.dat bug -- don't include the resouce byte from the netbios name when pulling a string from a packet (jra, please double check this
(This used to be commit c9bef86b8b422c5cbb6e3e5d2abb96c6e4560c1e)

16 years agor885: more packaging fixes
Gerald Carter [Tue, 25 May 2004 16:27:48 +0000 (16:27 +0000)]
r885: more packaging fixes
(This used to be commit 1dda922c100966245641739a945776fcc09e8847)

16 years agor881: BUG 1357: add pam-devel to build requirements
Gerald Carter [Tue, 25 May 2004 15:07:28 +0000 (15:07 +0000)]
r881: BUG 1357: add pam-devel to build requirements
(This used to be commit 591abc5b215c086c717c19b9a8185bf759eae0b5)

16 years agor878: fixing bug in packaging that crep back in
Gerald Carter [Tue, 25 May 2004 14:12:25 +0000 (14:12 +0000)]
r878: fixing bug in packaging that crep back in
(This used to be commit 7590f18055236e7ae1b19afa8a8deabe80f34add)

16 years agor844: bumping version
Gerald Carter [Mon, 24 May 2004 15:26:19 +0000 (15:26 +0000)]
r844: bumping version
(This used to be commit 9b69451ff2fab70035701a8c261017e087a85ca0)

16 years agor840: use quota debug class
Stefan Metzmacher [Mon, 24 May 2004 11:05:19 +0000 (11:05 +0000)]
r840: use quota debug class

metze
(This used to be commit fd94bdaef57b258fcccb9fae1e2f0b96688d51c4)

16 years agor824: merge from: SAMBA_4_0:
Stefan Metzmacher [Sat, 22 May 2004 14:52:34 +0000 (14:52 +0000)]
r824: merge from: SAMBA_4_0:
use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 7cc35ba06644669e64460b03c141a23ad7a516d7)

16 years agor817: - fix a configure logic bug for linux/XFS quotas
Stefan Metzmacher [Sat, 22 May 2004 09:57:23 +0000 (09:57 +0000)]
r817: - fix a configure logic bug for linux/XFS quotas
  when using --with-sys-quotas

metze
(This used to be commit f72cf069f235d7e8ad04e82b71a592c7ce560b8d)

16 years agor814: conn is 0 during ioctl (at least during smbtorture IOCTL test)
Herb Lewis [Sat, 22 May 2004 05:01:25 +0000 (05:01 +0000)]
r814: conn is 0 during ioctl (at least during smbtorture IOCTL test)
fix smbd panic
(This used to be commit 61da0bb1f6ea22df78ea7bd22a740c5868f62591)

16 years agor810: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure error status
Jeremy Allison [Fri, 21 May 2004 18:06:27 +0000 (18:06 +0000)]
r810: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure error status
codes don't get overwritten.
Jeremy.
(This used to be commit c179451b07c2315a667c2ff683cd30c4d224758e)

16 years agor805: Fix to stop smbd hanging on missing group member from "Jianliang Lu" <j.lu...
Jeremy Allison [Fri, 21 May 2004 00:13:16 +0000 (00:13 +0000)]
r805: Fix to stop smbd hanging on missing group member from "Jianliang Lu" <j.lu@tiesse.com>.
Jeremy.
(This used to be commit d5fb5ba9df9fc0f9167e76402c59a971f52e1b1f)

16 years agor801: Fix from "Jianliang Lu" <j.lu@tiesse.com> to return correct group
Jeremy Allison [Thu, 20 May 2004 18:28:21 +0000 (18:28 +0000)]
r801: Fix from "Jianliang Lu" <j.lu@tiesse.com> to return correct group
types.
Jeremy.
(This used to be commit d97b9146a137d43278f3125bafe8a453da82f4ce)

16 years agor799: BUG 1259 -- add 'printcap cache time' patch from Lars
Gerald Carter [Thu, 20 May 2004 16:23:17 +0000 (16:23 +0000)]
r799: BUG 1259 -- add 'printcap cache time' patch from Lars
(This used to be commit fac90741139b953d0e88d050dd457657f0b9c9f3)

16 years agor795: paranoia checks
Gerald Carter [Thu, 20 May 2004 13:40:16 +0000 (13:40 +0000)]
r795: paranoia checks
(This used to be commit c087c51535982bd9db11e78db4064468f3507808)

16 years agor788: Inspired by patch from "Jianliang Lu" <j.lu@tiesse.com>. Correct
Jeremy Allison [Thu, 20 May 2004 01:38:26 +0000 (01:38 +0000)]
r788: Inspired by patch from "Jianliang Lu" <j.lu@tiesse.com>. Correct
sid type is WKN_GROUP, not alias. Added some more known types.
Jeremy.
(This used to be commit 538b66f4e97e5e7b989e5533080f601d5b04c75e)

16 years agor786: Memory leak fixes in (mostly) error code paths from
Jeremy Allison [Wed, 19 May 2004 21:49:58 +0000 (21:49 +0000)]
r786: Memory leak fixes in (mostly) error code paths from
kawasa_r@itg.hitachi.co.jp. A couple of mem leak fixes in
mainline code paths though :-).
Jeremy.
(This used to be commit 4695cc95fe576b6da0d0cb0686f208fc306b2646)

16 years agor783: fix bug in reading printer data from disk; all ow valuenames with embedded...
Gerald Carter [Wed, 19 May 2004 17:17:33 +0000 (17:17 +0000)]
r783: fix bug in reading printer data from disk;  all ow valuenames with embedded '\'s
(This used to be commit fdc1633c348b072a6dde45a3d9b3b8a19744613d)

16 years agor780: Fix segfault in ntlm_auth --diagnostics
Andrew Bartlett [Wed, 19 May 2004 11:50:01 +0000 (11:50 +0000)]
r780: Fix segfault in ntlm_auth --diagnostics

Andrew Bartlett
(This used to be commit 5cdc7f0cd6888740d3de3535cd70c9681fa57600)

16 years agor779: Fix specific case of open that doesn't cause oplock break, or share mode check.
Jeremy Allison [Wed, 19 May 2004 02:25:48 +0000 (02:25 +0000)]
r779: Fix specific case of open that doesn't cause oplock break, or share mode check.
Test case provided by Volker will be added later. There may be other tests
needed.
Jeremy.
(This used to be commit 1f8e7946edbb2930ba5f9738688dc843bc368fbf)

16 years agor776: I should have just cut and pasted from my build area and I would
Herb Lewis [Tue, 18 May 2004 20:48:14 +0000 (20:48 +0000)]
r776: I should have just cut and pasted from my build area and I would
have gotten this right :-)
(This used to be commit 548070274efa12f8c9a4404145d8a2a8c85387b3)

16 years agor775: merge trunk 774 to samba 3_0 - fix bad compare in for loop
Herb Lewis [Tue, 18 May 2004 18:13:19 +0000 (18:13 +0000)]
r775: merge trunk 774 to samba 3_0 - fix bad compare in for loop
(This used to be commit 3cb8f1d53583dac0b77495cbcd017c366af59891)

16 years agor772: fix cut and paste error in comment
Herb Lewis [Tue, 18 May 2004 17:24:59 +0000 (17:24 +0000)]
r772: fix cut and paste error in comment
(This used to be commit a3bb4909c34c50673e0859be35200a8628ecdb8c)

16 years agor764: More memleak fixes in error code path from kawasa_r@itg.hitachi.co.jp.
Jeremy Allison [Tue, 18 May 2004 01:05:59 +0000 (01:05 +0000)]
r764: More memleak fixes in error code path from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit 9647394e7c79c81ac4cf276a2c4b9e16eb053ec2)

16 years agor762: Fix for #1319 when security > share.
Jeremy Allison [Tue, 18 May 2004 00:26:06 +0000 (00:26 +0000)]
r762: Fix for #1319 when security > share.
Jeremy.
(This used to be commit 9fe2240d6b68a2f8a495df585d69ae20c9825d77)

16 years agor742: Volker discovered that we can truncate a locked file. Well I never ! :-).
Jeremy Allison [Fri, 14 May 2004 22:08:19 +0000 (22:08 +0000)]
r742: Volker discovered that we can truncate a locked file. Well I never ! :-).
Jeremy
(This used to be commit 1099d60113c2d7b2e5a27a10666cdf885c668778)

16 years agor740: Fix Bug #1301. Return NT_STATUS_SHARING_VIOLATION when share mode locking
Richard Sharpe [Fri, 14 May 2004 20:58:26 +0000 (20:58 +0000)]
r740: Fix Bug #1301. Return NT_STATUS_SHARING_VIOLATION when share mode locking
requests fail.
(This used to be commit 5082eb30d0d7c3a4c79b7578457682523a4e80a3)

16 years agor737: Handle -S and user mount parms
Steve French [Fri, 14 May 2004 18:05:06 +0000 (18:05 +0000)]
r737: Handle -S and user mount parms
(This used to be commit ea597e75237cf14343b217da7119f9ade2303ae5)

16 years agor731: add the current debian directory for debian stable (woody) targeted releases
Simo Sorce [Fri, 14 May 2004 12:44:59 +0000 (12:44 +0000)]
r731: add the current debian directory for debian stable (woody) targeted releases
(This used to be commit 4b9f891319fad31eb0494ab57d186568f35443ba)

16 years agor730: move the current debian dir to debian-unstable
Simo Sorce [Fri, 14 May 2004 12:42:42 +0000 (12:42 +0000)]
r730: move the current debian dir to debian-unstable
(This used to be commit 65022f1dde7012a8c8c1872ad87184531973b5c5)

16 years agor716: Fix for bugid #1345 (Macromedia Homesite cannot connect anymore after upgrade...
Jeremy Allison [Fri, 14 May 2004 01:22:17 +0000 (01:22 +0000)]
r716: Fix for bugid #1345 (Macromedia Homesite cannot connect anymore after upgrade to 3.0.4).
Cause was premature optimization in unix_convert(). My fault, sorry.
Jeremy.
(This used to be commit e5438f0a841e8ea57b515544cbf638c38405ed55)

16 years agor710: Fix smbclient symlink command when widelinks = no.
Jeremy Allison [Thu, 13 May 2004 23:34:00 +0000 (23:34 +0000)]
r710: Fix smbclient symlink command when widelinks = no.
Jeremy.
(This used to be commit ed699a73f899b3212185ecf52d1c4cd59cc8a7ea)

16 years agor706: Fix erroneous commit... I've not finished testing the
Jeremy Allison [Thu, 13 May 2004 21:23:40 +0000 (21:23 +0000)]
r706: Fix erroneous commit... I've not finished testing the
symlink stuff yet. Noticed by Stefan (metze).
Jeremy.
(This used to be commit 389ad1a05b2197edb20eda270fbd5c7eed7bb2f3)

16 years agor704: BUG 1315: fix for schannel client connections to server's that don't support...
Gerald Carter [Thu, 13 May 2004 20:32:21 +0000 (20:32 +0000)]
r704: BUG 1315: fix for schannel client connections to server's that don't support 128 bit encryption
(This used to be commit 316ba5ad89ddfa445d44d28141c5901fc64aec90)

16 years agor698: Now wb pipe is non-blocking remember to read in non-blocking mode...
Jeremy Allison [Thu, 13 May 2004 18:37:54 +0000 (18:37 +0000)]
r698: Now wb pipe is non-blocking remember to read in non-blocking mode...
Jeremy.
(This used to be commit 3399727864f3aa8981f022254dfed622fcb50c49)

16 years agor689: removed unneeded forward declarations
Gerald Carter [Thu, 13 May 2004 16:11:24 +0000 (16:11 +0000)]
r689: removed unneeded forward declarations
(This used to be commit ae0a770d607b13b454bff88aa52b478845b71a04)

16 years agor675: merge from SAMBA_4_0:
Stefan Metzmacher [Thu, 13 May 2004 12:00:15 +0000 (12:00 +0000)]
r675: merge from SAMBA_4_0:
display the version on top of configure

this will help in the build farm

metze
(This used to be commit 78eba7af73fcadca3e688df07a67a869008bdfc6)

16 years agor658: Oops - make smbclient work again with widelinks = no :-).
Jeremy Allison [Thu, 13 May 2004 00:56:00 +0000 (00:56 +0000)]
r658: Oops - make smbclient work again with widelinks = no :-).
Jeremy.
(This used to be commit a6979417063e0f0067004dc6207e8e78aa41a58f)

16 years agor656: Make widelinks use realpath(). Tidy up cases where we need to become a service.
Jeremy Allison [Thu, 13 May 2004 00:20:50 +0000 (00:20 +0000)]
r656: Make widelinks use realpath(). Tidy up cases where we need to become a service.
Jeremy.
(This used to be commit a03b6a05e02ec8415efc0e8ceade102e06f8fffe)

16 years agor654: There is no point in having two lines of:
Richard Sharpe [Wed, 12 May 2004 07:06:05 +0000 (07:06 +0000)]
r654: There is no point in having two lines of:

        sbuf.st_mtime &= ~1;

So I had one refer to st_ctime.
(This used to be commit cf7a64c05dbc281802a2dc97a182b530fb925db9)

16 years agor653: Ok, so tridge convinced me. Allow full UNIX path symlinks
Jeremy Allison [Wed, 12 May 2004 00:35:43 +0000 (00:35 +0000)]
r653: Ok, so tridge convinced me. Allow full UNIX path symlinks
to anywhere on the server filesystem so long as widelinks
is set to true.... :-).
Jeremy.
(This used to be commit ba9809fcd493a53b33c3a24c9f91b0c1d9bd9726)

16 years agor651: Patch from kawasa_r@itg.hitachi.co.jp to connect to winbind
Jeremy Allison [Tue, 11 May 2004 22:09:09 +0000 (22:09 +0000)]
r651: Patch from kawasa_r@itg.hitachi.co.jp to connect to winbind
pipe in non-blocking mode to prevent process hang.
Jeremy.
(This used to be commit dece22de8e0bd18ee5a152dea7f682ae04e5cba0)

16 years agor647: fix for setting the called name to by our IP if the called name was *SMBSERVER...
Gerald Carter [Tue, 11 May 2004 14:54:54 +0000 (14:54 +0000)]
r647: fix for setting the called name to by our IP if the called name was *SMBSERVER and *SMBSERV -- fixes issue with connecting to printers via \ip.ad.dr.ess\printer UNC path
(This used to be commit 8ee268f0ed0c2f75ded9c2ddd66e0953f443c79e)

16 years agor645: Patch from kawasa_r@itg.hitachi.co.jp to correctly enable core dumps.
Jeremy Allison [Tue, 11 May 2004 01:05:59 +0000 (01:05 +0000)]
r645: Patch from kawasa_r@itg.hitachi.co.jp to correctly enable core dumps.
Jeremy.
(This used to be commit ea41d694270264557f740cd40ccc69b4acaa57e9)

16 years agor643: fix typo
Herb Lewis [Mon, 10 May 2004 23:59:23 +0000 (23:59 +0000)]
r643: fix typo
(This used to be commit 1f4db0b847de582387c0244397d1769b35bbcdbb)

16 years agor642: use RPC_CLIENT_OBJ instead of file name
Herb Lewis [Mon, 10 May 2004 23:57:40 +0000 (23:57 +0000)]
r642: use RPC_CLIENT_OBJ instead of file name
already included in PROTO_OBJ by LIBMSRPC_OBJ
(This used to be commit a9113df6e9d357d334cd9a8dd937df6b3eec322e)

16 years agor640: Make cifsvfs symlinks work with paths within and external to the
Jeremy Allison [Mon, 10 May 2004 23:04:31 +0000 (23:04 +0000)]
r640: Make cifsvfs symlinks work with paths within and external to the
share. Store external paths prefixed with smbln:.
Jeremy.
(This used to be commit 14a9997b2eb394174ccb36d2a10a755279740cba)

16 years agor635: put files that are referenced multiple times in separate
Herb Lewis [Mon, 10 May 2004 19:57:54 +0000 (19:57 +0000)]
r635: put files that are referenced multiple times in separate
definitions to be consistent.
(This used to be commit 86e78bf745b4bb10fe60a77c069a9a062aa26637)

16 years agor632: pulling in release notes from 3.0.4 and getting ready to start 3.0.5pre1
Gerald Carter [Mon, 10 May 2004 13:54:12 +0000 (13:54 +0000)]
r632: pulling in release notes from 3.0.4 and getting ready to start 3.0.5pre1
(This used to be commit 23cfc056e341c38b3311ffbd95529abb237b3cd6)

16 years agor618: Bug #1333. Fix a problem pointed out by coolo where I was trying to ensure
Richard Sharpe [Sun, 9 May 2004 22:39:39 +0000 (22:39 +0000)]
r618: Bug #1333. Fix a problem pointed out by coolo where I was trying to ensure
that the errno is not trashed by a DEBUG statement, but screwed up.
(This used to be commit e642f3e7b7a5fdbb5d12136c909e9c57e7cf1985)

16 years agor616: Bug #1333.
Richard Sharpe [Sun, 9 May 2004 17:29:09 +0000 (17:29 +0000)]
r616: Bug #1333.

Make sure we return an error code when things go wrong.
(This used to be commit 21cdb45b54662c7835aea1d16fdd5902cf7a7496)

16 years agor599: Bug #1178. Make the libsmbclient routines callable by C++ programs. Also
Richard Sharpe [Sun, 9 May 2004 04:20:40 +0000 (04:20 +0000)]
r599: Bug #1178. Make the libsmbclient routines callable by C++ programs. Also
clean up the format of the file a bit.
(This used to be commit 63c846fa1da7be563a3df8fff001324268887c1d)

16 years agor588: Some fixes from coolo ...
Richard Sharpe [Sat, 8 May 2004 20:15:52 +0000 (20:15 +0000)]
r588: Some fixes from coolo ...
I think that the ECONNREFUSED should probably be ENOENT.
(This used to be commit faa8cc18df51c4406815b68caba5ed5b8d43ba18)

16 years agor573: fixing packaging
Gerald Carter [Fri, 7 May 2004 22:02:05 +0000 (22:02 +0000)]
r573: fixing packaging
(This used to be commit 55bf9b2bbf7c31cf7c21bb3a49ee927cabda8b4e)

16 years agor570: Remove lots of globals to handle case issues - move them
Jeremy Allison [Fri, 7 May 2004 18:37:47 +0000 (18:37 +0000)]
r570: Remove lots of globals to handle case issues - move them
to connection struct entries (as they should have been from
the start). Jerry, once you've cut over to 3.0.4 release
branch I'll add this to 3.0 also.
- Jerry cut over :-).
Jeremy.
(This used to be commit 578a508509d21226ad3332fc54c3ab54cd8ae452)

16 years agor568: setting version to 3.0.5pre1
Gerald Carter [Fri, 7 May 2004 18:32:47 +0000 (18:32 +0000)]
r568: setting version to 3.0.5pre1
(This used to be commit f3efc098d1836225ab01a082c56914c76017c48a)

16 years agor565: Uninitialized data fixes from kawasa_r@itg.hitachi.co.jp.
Jeremy Allison [Fri, 7 May 2004 18:14:38 +0000 (18:14 +0000)]
r565: Uninitialized data fixes from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit c23a73324b335e42877551283b274f6d12f2c1a7)

16 years agor562: Memory leak fix in error code path from kawasa_r@itg.hitachi.co.jp.
Jeremy Allison [Fri, 7 May 2004 17:58:06 +0000 (17:58 +0000)]
r562: Memory leak fix in error code path from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit ac501348f473045a7846ffd9bc6b9eb4682b8987)

16 years agor560: Fix bugzilla 1279: cannot control individual print jobs using cups
Jim McDonough [Fri, 7 May 2004 17:17:25 +0000 (17:17 +0000)]
r560: Fix bugzilla 1279: cannot control individual print jobs using cups

Store the print job using a little-endian key.
(This used to be commit e0491dae989ea289438de3bdf29d8810d409a01b)

16 years agor559: Some fixes from coolo ...
Richard Sharpe [Fri, 7 May 2004 16:46:37 +0000 (16:46 +0000)]
r559: Some fixes from coolo ...
(This used to be commit d80e90d7c19fbcd2f7e998918b4fc6d9310081a3)

16 years agor557: another patch from Stephan Kulow <coolo@suse.de> -- check cli * before derefere...
Gerald Carter [Fri, 7 May 2004 15:59:13 +0000 (15:59 +0000)]
r557: another patch from Stephan Kulow <coolo@suse.de> -- check cli * before dereferencing it
(This used to be commit c385fb467fc2a669d54b9a2faddbf66f9e4699c6)

16 years agor555: Fix big-endian storage of jobids in jobs_changed list. Found during
Jim McDonough [Fri, 7 May 2004 15:21:27 +0000 (15:21 +0000)]
r555: Fix big-endian storage of jobids in jobs_changed list.  Found during
debugging of 1279
(This used to be commit 7c1cfb16c0b2f0128afca0b01036567253a3f92a)

16 years agor551: BUG 1293: fix double free in printer publishing code
Gerald Carter [Fri, 7 May 2004 13:45:41 +0000 (13:45 +0000)]
r551: BUG 1293: fix double free in printer publishing code
(This used to be commit f9a371f33b89852e42004469cb60efec973067bd)

16 years agor547: Add entry for NT_STATUS_DUPLICATE_NAME in the ntstatus to unix error mapping
Jelmer Vernooij [Fri, 7 May 2004 09:50:43 +0000 (09:50 +0000)]
r547: Add entry for NT_STATUS_DUPLICATE_NAME in the ntstatus to unix error mapping
table
(This used to be commit 31c21d520d030e27e4adc6075a50026724b87173)

16 years agor545: Handing a NULL blob to base64_encode_data_blob leads to an invalid write of a
Volker Lendecke [Fri, 7 May 2004 08:42:13 +0000 (08:42 +0000)]
r545: Handing a NULL blob to base64_encode_data_blob leads to an invalid write of a
0 in base64_encode_data_blob. I don't know what the base64 encoding of a NULL
string is, so fix the problematic caller I found. The real fix should go into
base64_encode_data_blob.

Volker
(This used to be commit 55fd1e490efbe91c391c27101166284034cd32ef)

16 years agor543: possible fix for BUG 1293 -- initialize pointer to NULL to ensure the failure...
Gerald Carter [Fri, 7 May 2004 03:15:54 +0000 (03:15 +0000)]
r543: possible fix for BUG 1293 -- initialize pointer to NULL to ensure the failure check is valid
(This used to be commit b7005e6989946bbd0e42d84d2688f3a96a649791)

16 years agor541: fixing segfault in winbindd caused -r527 -- looks like a bug in heimdal; also...
Gerald Carter [Fri, 7 May 2004 02:48:03 +0000 (02:48 +0000)]
r541: fixing segfault in winbindd caused -r527 -- looks like a bug in heimdal; also initialize some pointers
(This used to be commit be74e88d9a4b74fcaf25b0816e3fa8a487c91ab5)

16 years agor539: Mem leak fixes from kawasa_r@itg.hitachi.co.jp
Jeremy Allison [Thu, 6 May 2004 23:16:52 +0000 (23:16 +0000)]
r539: Mem leak fixes from kawasa_r@itg.hitachi.co.jp
Jeremy.
(This used to be commit 8fe47b0bf27a8ae690ab0fcff377c8fc12919f43)

16 years agor538: Mem leak fix from kawasa_r@itg.hitachi.co.jp
Jeremy Allison [Thu, 6 May 2004 23:13:44 +0000 (23:13 +0000)]
r538: Mem leak fix from kawasa_r@itg.hitachi.co.jp
Jeremy.
(This used to be commit 4cbcd164147d25286fe8dd460c6123e961c4f657)

16 years agor535: Another memleak fix from kawasa_r@itg.hitachi.co.jp
Jeremy Allison [Thu, 6 May 2004 23:11:20 +0000 (23:11 +0000)]
r535: Another memleak fix from kawasa_r@itg.hitachi.co.jp
Jeremy.
(This used to be commit 2d52562691d59b44546225454f6fff5b64552de8)

16 years agor533: More memory leak fixes from kawasa_r@itg.hitachi.co.jp. I need to
Jeremy Allison [Thu, 6 May 2004 23:08:56 +0000 (23:08 +0000)]
r533: More memory leak fixes from kawasa_r@itg.hitachi.co.jp. I need to
valgrind winbindd with these in....
Jeremy.
(This used to be commit fa4774b73d338a0c0df09f23cd738279bf4e71a2)

16 years agor527: More memory leak fixes in error paths from kawasa_r@itg.hitachi.co.jp.
Jeremy Allison [Thu, 6 May 2004 18:23:01 +0000 (18:23 +0000)]
r527: More memory leak fixes in error paths from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit b2ba4d5c1be6089e3818a20c68e3894432b53d87)

16 years agor525: More memory leak fixes from kawasa_r@itg.hitachi.co.jp in error code
Jeremy Allison [Thu, 6 May 2004 17:48:45 +0000 (17:48 +0000)]
r525: More memory leak fixes from kawasa_r@itg.hitachi.co.jp in error code
paths.
Jeremy.
(This used to be commit 88a97beac4f445f2a472167b3e5c0e8e1d019d17)

16 years agor523: Fix from kawasa_r@itg.hitachi.co.jp to initialise blob structs.
Jeremy Allison [Thu, 6 May 2004 17:39:36 +0000 (17:39 +0000)]
r523: Fix from kawasa_r@itg.hitachi.co.jp to initialise blob structs.
Jeremy.
(This used to be commit 6d0bdccaa67a2965fde5f9dff6cdc4059b8fbc90)

16 years agor519: fix bug in authorise_login() that broke security = share
Gerald Carter [Thu, 6 May 2004 15:29:02 +0000 (15:29 +0000)]
r519: fix bug in authorise_login() that broke security = share
(This used to be commit b27192d8e7a4a1fd0cd737b4fd9190bcecfbb507)

16 years agor517: Remove wrong commit I did by mistake
Alexander Bokovoy [Thu, 6 May 2004 14:43:40 +0000 (14:43 +0000)]
r517: Remove wrong commit I did by mistake
(This used to be commit 72d30ea06612461bdf19916fa40ca459f0c37acc)

16 years agor516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernels
Alexander Bokovoy [Thu, 6 May 2004 14:38:31 +0000 (14:38 +0000)]
r516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernels
there is SYS_utimes syscall defined at compile time in glibc-kernheaders but
it is available on 2.6 kernels only. Therefore, we can't rely on syscall at
compile time but have to check that behaviour during program execution. An easy
workaround is to have replacement for utimes() implemented within our wrapper and
do not rely on syscall at all. Thus, if REPLACE_UTIME is defined already (by packager),
skip these syscall shortcuts.
(This used to be commit e278e2e6e095b1c01eab307d55edf2cde48dcba2)

16 years agor505: Break out algorithmic_gid_to_sid so that those of us who need it can use it.
Richard Sharpe [Thu, 6 May 2004 05:31:52 +0000 (05:31 +0000)]
r505: Break out algorithmic_gid_to_sid so that those of us who need it can use it.
(This used to be commit 5d7ee320cca80558a4b71295ef8b7de02f21554a)

16 years agor501: Fix a small cut-n-pasteo ...
Richard Sharpe [Thu, 6 May 2004 04:32:56 +0000 (04:32 +0000)]
r501: Fix a small cut-n-pasteo ...
(This used to be commit b1825184d313b97c7fa232990f60962aa86e7e17)

16 years agor496: fixing swat welcome page -- added links to example guide, devel guide, and...
Gerald Carter [Wed, 5 May 2004 15:52:11 +0000 (15:52 +0000)]
r496: fixing swat welcome page -- added links to example guide, devel guide, and howto (all in multi page format)
(This used to be commit 984d9fe271a86da696cedb81aa9de46c5716bba3)