vlendec/samba-autobuild/.git
16 years agor6156: Fixes bug #2543. Properly cache anonmous username when reverting to anonymous...
Derrell Lipman [Thu, 31 Mar 2005 21:16:20 +0000 (21:16 +0000)]
r6156: Fixes bug #2543.  Properly cache anonmous username when reverting to anonymous login, in libsmbclient.
(This used to be commit cf2dcc110824cb3a4ce4e4bf608de25b7cfc2054)

16 years agor6155: Fixes bug #1133
Derrell Lipman [Thu, 31 Mar 2005 20:28:47 +0000 (20:28 +0000)]
r6155: Fixes bug #1133

Added provision for overloading some global configuration options via the new,
per-user file ~/.smb/smb.conf.append which is read after the global config
file is read (and only if the global config file was read).  This leave the
original, BC behavior of ~/.smb/smb.conf which, if found, is read but causes
the global config file to not be read.

Also fixed a potential seg fault in to lp_dump_one().
(This used to be commit 2c5a6305bd127b1a7e65356c2b3aa5c13cd2bd74)

16 years agor6154: fix winbindd <-> Windows 2003 sp1 issue.
Gerald Carter [Thu, 31 Mar 2005 20:11:20 +0000 (20:11 +0000)]
r6154: fix winbindd <-> Windows 2003 sp1 issue.
Can't do LsaOpenPolicy() over schannel anymore.
This is an interesting find as it could imply that there are
other changes we haven't seen yet in sp1.

Volker, You might want to look at this for trunk.
(This used to be commit 82e3a9d9b526522376ea967c66c67b02f2c68dd8)

16 years agor6152: Correctly check OpenX open modes.
Jeremy Allison [Thu, 31 Mar 2005 19:10:59 +0000 (19:10 +0000)]
r6152: Correctly check OpenX open modes.
Jeremy.
(This used to be commit 326124a7b366feaca6162f7defae89618b005adc)

16 years agor6151: additional examples/tests for libsmbclient
Derrell Lipman [Thu, 31 Mar 2005 16:26:15 +0000 (16:26 +0000)]
r6151: additional examples/tests for libsmbclient
(This used to be commit a3bd496c921dc775b59be4ff2941f4824ffbec03)

16 years agor6149: Fixes bugs #2498 and 2484.
Derrell Lipman [Thu, 31 Mar 2005 05:06:04 +0000 (05:06 +0000)]
r6149: Fixes bugs #2498 and 2484.

1. using smbc_getxattr() et al, one may now request all access control
   entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
   provided by smbc_getxattr() et al, when requesting all attributes,
   all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
   compiler flags are in use.  removed -Wcast-qual flag from list, as that
   is specifically to force warnings in the case of casting away qualifiers.

Note: In the process of eliminating compiler warnings, a few nasties were
      discovered.  In the file libads/sasl.c, PRIVATE kerberos interfaces
      are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
      kerberos interfaces are being used.  Someone who knows kerberos
      should look at these and determine if there is an alternate method
      of accomplishing the task.
(This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)

16 years agor6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in nttrans_create.
Jeremy Allison [Thu, 31 Mar 2005 02:12:09 +0000 (02:12 +0000)]
r6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in nttrans_create.
Jeremy.
(This used to be commit 989fcb4c084c63f1e3b114af68ef5bc0a2fbc09e)

16 years agor6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.
Jeremy Allison [Thu, 31 Mar 2005 00:36:22 +0000 (00:36 +0000)]
r6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.
Jeremy.
(This used to be commit 106f91ff65acd23a7dda4d0ec89ae41ecb28153e)

16 years agor6138: Refactor length reading out of EA code so we can read length
Jeremy Allison [Wed, 30 Mar 2005 20:53:02 +0000 (20:53 +0000)]
r6138: Refactor length reading out of EA code so we can read length
external to buffer. Needed to add EA code to create calls.
Jeremy.
(This used to be commit 7c4262d6ba48695c2622ea2eba8da6ac889ce543)

16 years agor6127: Eliminated all compiler warnings pertaining to mismatched "qualifiers". The
Derrell Lipman [Wed, 30 Mar 2005 04:40:24 +0000 (04:40 +0000)]
r6127: Eliminated all compiler warnings pertaining to mismatched "qualifiers".  The
whole of samba comiles warning-free with the default compiler flags.

Temporarily defined -Wall to locate other potential problems.  Found an
unused static function (#ifdefed out rather than deleted, in case it's
needed for something in progress).

There are also a number of uses of undeclared functions, mostly krb5_*.
Files with these problems need to have appropriate header files included,
but they are not fixed in this update.

oplock_linux.c.c has undefined functions capget() and capset(), which need
to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>,
but that could potentially have other side effects, so that remains uncorrected
as well.

The flag -Wall should be added permanently to CFLAGS, and all warnings then
generated should be eliminated.
(This used to be commit 5b19ede88ed80318e392f8017f4573fbb2ecbe0f)

16 years agor6126: added utility for testing smbc_stat()
Derrell Lipman [Wed, 30 Mar 2005 02:39:22 +0000 (02:39 +0000)]
r6126: added utility for testing smbc_stat()
(This used to be commit e1df648ea13651e1df3d209937034b351a7f1c2b)

16 years agor6125: smbc_stat() returned incorrect timestamps IFF it used cli_qpathinfo2() to
Derrell Lipman [Wed, 30 Mar 2005 02:35:31 +0000 (02:35 +0000)]
r6125: smbc_stat() returned incorrect timestamps IFF it used cli_qpathinfo2() to
retrieve the timestamps (Win2k) and not if it used cli-getatr() to retrieve
the timestamps (Win98).  Timestamps are supposed to be in GMT, and should
not have serverzone deducted from them in cli_qpathinfo2().
(This used to be commit 443d8df94c2937b7d458b7228bdc1d433581558a)

16 years agor6124: Fix for bug #2242 from Tom Lackemann <cessnatomny@yahoo.com> - don't
Jeremy Allison [Wed, 30 Mar 2005 02:24:47 +0000 (02:24 +0000)]
r6124: Fix for bug #2242 from Tom Lackemann <cessnatomny@yahoo.com> - don't
set SD on an NTtransact create unless we created the file.
Jeremy.
(This used to be commit b42eaf424e34544fae3f0fc473694e61dda2a11c)

16 years agor6122: Added "hack" fix for broken SMB_INFO_VOLUME level - used by OS/2
Jeremy Allison [Wed, 30 Mar 2005 02:05:22 +0000 (02:05 +0000)]
r6122: Added "hack" fix for broken SMB_INFO_VOLUME level - used by OS/2
I believe. Reported as fixed by Marcel Müller <mueller@maazl.de>.
Jeremy.
(This used to be commit 14eab937a54dd9f02f289d7e2f47c78c834714a3)

16 years agor6120: Added "volume" command to smbclient that prints out the volume name and
Jeremy Allison [Wed, 30 Mar 2005 00:47:57 +0000 (00:47 +0000)]
r6120: Added "volume" command to smbclient that prints out the volume name and
serial number.
Jeremy.
(This used to be commit c69623072e4112a4719867ea4809f5145b3cb64c)

16 years agor6117: Close handles after group-creation as well.
Günther Deschner [Tue, 29 Mar 2005 15:17:26 +0000 (15:17 +0000)]
r6117: Close handles after group-creation as well.

Guenther
(This used to be commit f41f1437e7682ecd7e381357fa2acc74ad970fe7)

16 years agor6116: update debian changelog
Simo Sorce [Tue, 29 Mar 2005 14:08:49 +0000 (14:08 +0000)]
r6116: update debian changelog
(This used to be commit d0e5e48ad3c50ab8dbb6b647e3b0f81f08712012)

16 years agor6110: Close handles on user creation. This allows easy mass creation of users with
Volker Lendecke [Tue, 29 Mar 2005 06:45:10 +0000 (06:45 +0000)]
r6110: Close handles on user creation. This allows easy mass creation of users with
rpcclient.

Volker
(This used to be commit 1a56a4fd3e09361e44c8ff4666bd6091db0b945d)

16 years agor6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more...
Derrell Lipman [Tue, 29 Mar 2005 00:42:51 +0000 (00:42 +0000)]
r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more complete libsmbclient testbrowse utility
(This used to be commit 15736b97c837a16d9c009b8bff18b31429ccbe83)

16 years agor6106: Fix bug #2551. It turns out that the incoming flags2 flag FLAGS2_LONG_PATH_COM...
Jeremy Allison [Tue, 29 Mar 2005 00:36:30 +0000 (00:36 +0000)]
r6106: Fix bug #2551. It turns out that the incoming flags2 flag FLAGS2_LONG_PATH_COMPONENTS
determines if a reply is uppercased on a SMBsearch request, not the protocol level.
This could clear up quite a few hacks going forward I think.
Jeremy.
(This used to be commit 8c64cd368fdd2c5a4b361904855c135ade3f449e)

16 years agor6104: Update dos filetimes to default yes for Office 2000.
Jeremy Allison [Mon, 28 Mar 2005 21:31:01 +0000 (21:31 +0000)]
r6104: Update dos filetimes to default yes for Office 2000.
Jeremy.
(This used to be commit d1ff66f6cde844bf0312747c50b402e81846891f)

16 years agor6103: Update list of mount options for mount.cifs
Steve French [Mon, 28 Mar 2005 20:32:04 +0000 (20:32 +0000)]
r6103: Update list of mount options for mount.cifs
(This used to be commit 6efd6225fab93c3f31f09f6bbf6d032024650501)

16 years agor6102: add support for opening a file for write with O_APPEND in libsmbclient
Derrell Lipman [Mon, 28 Mar 2005 19:52:23 +0000 (19:52 +0000)]
r6102: add support for opening a file for write with O_APPEND in libsmbclient
(This used to be commit 542922cb2e5c8e7522f14492418686c339f0a5a4)

16 years agor6092: This much const causes the compiler on Fedora Core 2
Jeremy Allison [Mon, 28 Mar 2005 03:27:44 +0000 (03:27 +0000)]
r6092: This much const causes the compiler on Fedora Core 2
to throw up.
Jeremy.
(This used to be commit 051f0ed8075a3616484888ab22d68ca11aa1dd36)

16 years agor6090: Patch to fix sys_select so it can't drop signals if another fd
Jeremy Allison [Mon, 28 Mar 2005 03:18:57 +0000 (03:18 +0000)]
r6090: Patch to fix sys_select so it can't drop signals if another fd
is ready to read. Patch from Mark Weaver <mark-clist@npsl.co.uk>.
The only question is, how did we miss this for so long..... :-).
Jeremy.
(This used to be commit fb4052ce3a5e585897e478092a7ab5a2ec83e37b)

16 years agor6082: Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy Allison [Sun, 27 Mar 2005 20:44:06 +0000 (20:44 +0000)]
r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy.
(This used to be commit 057e4bf641674473f1ac1e0fbe936b4f2506e013)

16 years agor6080: Port some of the non-critical changes from HEAD to 3_0. The main one is the
Volker Lendecke [Sun, 27 Mar 2005 16:33:04 +0000 (16:33 +0000)]
r6080: Port some of the non-critical changes from HEAD to 3_0. The main one is the
change in pdb_enum_alias_memberships to match samr.idl a bit closer.

Volker
(This used to be commit 3a6786516957d9f67af6d53a3167c88aa272972f)

16 years agor6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
Gerald Carter [Sat, 26 Mar 2005 06:52:56 +0000 (06:52 +0000)]
r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
* add some backwards compatibility to 'net rpc rights list'
* verify privilege name in 'net rpc rights privileges <name>' in order
  to give back better error messages.
(This used to be commit 0e29dc8aa384dfa6d2495beb8a9ffb5371e60a13)

16 years agor6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select LANMAN2
Jeremy Allison [Sat, 26 Mar 2005 00:44:46 +0000 (00:44 +0000)]
r6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select LANMAN2
protocol, ensure the EA size is always correctly set on a query for a file with no EA's.
Jeremy.
(This used to be commit d6ad1f8df05e16152d9c95df56e612fde288d3b4)

16 years agor6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LIST
Jeremy Allison [Fri, 25 Mar 2005 23:45:11 +0000 (23:45 +0000)]
r6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LIST
info level.
Jeremy.
(This used to be commit e15c36e9497b5e92c0f743a522cd0adb96d22295)

16 years agor6063: Fix for bug #2533 - ensure SMBsearch unsets UNICODE flags2 bit as this SMB is
Jeremy Allison [Fri, 25 Mar 2005 19:52:01 +0000 (19:52 +0000)]
r6063: Fix for bug #2533 - ensure SMBsearch unsets UNICODE flags2 bit as this SMB is
DOS codepage only.
Jeremy.
(This used to be commit 56cc756b9d14db23b2640c347f729fa90dad9b6a)

16 years agor6062: work around autoconf setting the CFLAGS="-g -O2" by default in AC_CACHE_CHECK
Gerald Carter [Fri, 25 Mar 2005 14:37:10 +0000 (14:37 +0000)]
r6062: work around autoconf setting the CFLAGS="-g -O2" by default in AC_CACHE_CHECK
(This used to be commit 605dd5b97c09fd3e6bc09eefa78ef333201c0b7c)

16 years agor6060: It's not quite accurate to say not having write access causes a group
Jeremy Allison [Fri, 25 Mar 2005 03:41:02 +0000 (03:41 +0000)]
r6060: It's not quite accurate to say not having write access causes a group
entry never to match - it matches but if doesn't grant access is recorded
so the "other" entry isn't subsequently checked.
Fix the algorithm.
Jeremy.
(This used to be commit e3c7d08bb68f51bc05768467feb0af896a059e91)

16 years agor6057: Don't put the assert in the wrong place :-).
Jeremy Allison [Fri, 25 Mar 2005 01:36:39 +0000 (01:36 +0000)]
r6057: Don't put the assert in the wrong place :-).
Jeremy.
(This used to be commit 6609b209f513f0859040686a88ee6c7106c06008)

16 years agor6055: Fix algorithm. If any of the primary or supplementary group ids match
Jeremy Allison [Fri, 25 Mar 2005 01:30:21 +0000 (01:30 +0000)]
r6055: Fix algorithm. If any of the primary or supplementary group ids match
a "allow" entry of GROUP or GROUP_OBJ, then access is allowed. It doesn't
terminate on the first match. Added debug to show where the match occured
(or didn't).
Jeremy.
(This used to be commit 81fb3372867fa66a092841222e02bd1c104b2d19)

16 years agor6053: Fixup dfs path with the new wildcard parser code split out.
Jeremy Allison [Fri, 25 Mar 2005 00:58:15 +0000 (00:58 +0000)]
r6053: Fixup dfs path with the new wildcard parser code split out.
Jeremy.
(This used to be commit e831cef618d55c362e8d3a8a4c2b9f2ed7d4d7bd)

16 years agor6051: finish off
Gerald Carter [Fri, 25 Mar 2005 00:38:30 +0000 (00:38 +0000)]
r6051: finish off

        net rpc service stop
        net rpc service start
        net rpc service pause
        net rpc service resume
(This used to be commit a7fb2c50b07a7d9965675272a71f42beba92acfe)

16 years agor6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel "read-only"
Jeremy Allison [Thu, 24 Mar 2005 22:34:28 +0000 (22:34 +0000)]
r6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel "read-only"
issue.
Jeremy.
(This used to be commit 80e788143a6c3d973d3b8e57d91ca5c4a83605b2)

16 years agor6048: Split out the check_path_syntax into a findfirst/next/wildcard version.
Jeremy Allison [Thu, 24 Mar 2005 22:32:52 +0000 (22:32 +0000)]
r6048: Split out the check_path_syntax into a findfirst/next/wildcard version.
The semantics are different with wildcards.
Jeremy.
(This used to be commit f8b67159fc1c8224a7caf41409b2654846f34a2d)

16 years agor6046: $ net -S block -U % -W VALE rpc service status spooler
Gerald Carter [Thu, 24 Mar 2005 22:32:31 +0000 (22:32 +0000)]
r6046: $ net -S block -U % -W VALE rpc service status spooler

spooler service is SVCCTL_RUNNING.
Configuration details:
        Service Type         = 0x110
        Start Type           = 0x2
        Error Control        = 0x1
        Tag ID               = 0x0
        Executable Path      = C:\WINNT\system32\spoolsv.exe
        Load Order Group     = SpoolerGroup
        Dependencies         = RPCSS/
        Start Name           = LocalSystem
        Display Name         = Print Spooler
(This used to be commit b921bf568835042a43bb0bcb2abd9d36c9d2e43f)

16 years agor6044: Ensure the old search calls always ask mask_match to translate
Jeremy Allison [Thu, 24 Mar 2005 19:33:02 +0000 (19:33 +0000)]
r6044: Ensure the old search calls always ask mask_match to translate
patterns like ????????.??? - even if using an NT1 protocol.
Matches W2K3 behavior.
Jeremy.
(This used to be commit 67f6473f50f3284b9ccbe6f983f23cd42b3b7c9f)

16 years agor6041: cleaning up output from 'rpc service list'
Gerald Carter [Thu, 24 Mar 2005 18:13:51 +0000 (18:13 +0000)]
r6041: cleaning up output from 'rpc service list'
(This used to be commit 7f02ba6646d5c9685250b8ee6e45c9723d748143)

16 years agor6040: finish out 'net rpc service list'
Gerald Carter [Thu, 24 Mar 2005 18:05:31 +0000 (18:05 +0000)]
r6040: finish out 'net rpc service list'
(This used to be commit 42588ba50cb1b47a00f3e0bed33ca3431eb8af14)

16 years agor6039: add CLI_DO_RPC macro for cookie cutter code; no new functionality to 'net...
Gerald Carter [Thu, 24 Mar 2005 17:11:51 +0000 (17:11 +0000)]
r6039: add CLI_DO_RPC macro for cookie cutter code; no new functionality to 'net rpc service'
(This used to be commit 759affb1e1aa59fcb878b4dee781aa362b3e7e1c)

16 years agor6038: adding more flesh to 'net rpc service'
Gerald Carter [Thu, 24 Mar 2005 16:11:23 +0000 (16:11 +0000)]
r6038: adding more flesh to 'net rpc service'
open and close the service control manager.

Also experimenting with ideas for cli_xxx() interface.
(This used to be commit 4da89ef17b8c4644b97b923cebfe8e446b508b4d)

16 years agor6037: little cleanup of unused vars and unnecessary codepaths
Gerald Carter [Thu, 24 Mar 2005 14:40:35 +0000 (14:40 +0000)]
r6037: little cleanup of unused vars and unnecessary codepaths
(This used to be commit 167f7d3caa84e612cf3af0095536734dc7c3ad29)

16 years agor6036: patch from Lin Li <linl@xandros.com> to ensure trusted domains are initialized...
Gerald Carter [Thu, 24 Mar 2005 14:39:55 +0000 (14:39 +0000)]
r6036: patch from Lin Li <linl@xandros.com> to ensure trusted domains are initialized whenenumerating users and groups
(This used to be commit 105a63c207e8d2b03a30dec2b8b55b92047cba80)

16 years agor6034: Check only once
Simo Sorce [Thu, 24 Mar 2005 08:36:00 +0000 (08:36 +0000)]
r6034: Check only once
(This used to be commit 5a4274371cdbbd278d8aaa922f3e5f51a3cb5aec)

16 years agor6029: adding files necessary to support 'net rpc service' functions; will fill in...
Gerald Carter [Thu, 24 Mar 2005 04:25:49 +0000 (04:25 +0000)]
r6029: adding files necessary to support 'net rpc service' functions; will fill in tomorrow
(This used to be commit 6bbd61cfd1ca2dbe8d96d894f90f263b8f24571f)

16 years agor6022: Fix for bug #2533. Incorrect dir listings from OS/2 clients.
Jeremy Allison [Thu, 24 Mar 2005 02:23:32 +0000 (02:23 +0000)]
r6022: Fix for bug #2533. Incorrect dir listings from OS/2 clients.
Jeremy.
(This used to be commit cf8949f684ee9adcd35d56d923b2f5733efc05ac)

16 years agor6020: Never do NT status codes with protocols before NT1 as we don't get client...
Jeremy Allison [Thu, 24 Mar 2005 01:02:52 +0000 (01:02 +0000)]
r6020: Never do NT status codes with protocols before NT1 as we don't get client caps.
Jeremy.
(This used to be commit 4868e4202775c1c0a60828e0c6f6fa23cf8346e1)

16 years agor6016: Give access only to root and Domain Users
Simo Sorce [Thu, 24 Mar 2005 00:01:56 +0000 (00:01 +0000)]
r6016: Give access only to root and Domain Users
(This used to be commit d3557ed4b7c4d58a50cc6041c06cc4eff5ef659a)

16 years agor6014: rather large change set....
Gerald Carter [Wed, 23 Mar 2005 23:26:33 +0000 (23:26 +0000)]
r6014: rather large change set....

pulling back all recent rpc changes from trunk into
3.0.  I've tested a compile and so don't think I've missed
any files.  But if so, just mail me and I'll clean backup
in a couple of hours.

Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.

I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
(This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)

16 years agor6009: Add privillage check for SE_DISK_OP (is this the right privilage?)
Jeremy Allison [Wed, 23 Mar 2005 21:46:09 +0000 (21:46 +0000)]
r6009: Add privillage check for SE_DISK_OP (is this the right privilage?)
before allowing users to shut down any sessions.
Simo - please check security before allowing state changes. Please
review this change.
Jeremy.
(This used to be commit 51beba71d4d5d3d259e567b65b1694d862814fe9)

16 years agor6004: Let's make server manager able to kill a user session.
Simo Sorce [Wed, 23 Mar 2005 20:57:03 +0000 (20:57 +0000)]
r6004: Let's make server manager able to kill a user session.
This will send a shutdown command to the right process by pid read from the sessions list.
(This used to be commit 5d3d025db757f7d48f241142a60a93214f2b47ea)

16 years agor6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not SMB_ACL_...
Jeremy Allison [Wed, 23 Mar 2005 19:35:56 +0000 (19:35 +0000)]
r6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not SMB_ACL_MASK.
Fix bug #2521.
Jeremy.
(This used to be commit 21e3cf2f8f6129324ebb799f959f8d2afe0285d2)

16 years agor5994: proper fix for smbclient and win98 file servers; check the WCT value in the...
Gerald Carter [Wed, 23 Mar 2005 15:36:48 +0000 (15:36 +0000)]
r5994: proper fix for smbclient and win98 file servers; check the WCT value in the tcon&X reply before setting the cli_state->dfsroot flag
(This used to be commit d3822d889dbc0812335e9242566256a0f88bc00d)

16 years agor5993: compiler warning fix
Gerald Carter [Wed, 23 Mar 2005 14:28:27 +0000 (14:28 +0000)]
r5993: compiler warning fix
(This used to be commit 4e8b868e6e29513a0c4c1b8992a502d5b6cf2c3d)

16 years agor5991: Fixup last entry offset correctly for level 260.
Jeremy Allison [Wed, 23 Mar 2005 03:55:02 +0000 (03:55 +0000)]
r5991: Fixup last entry offset correctly for level 260.
Should fix bug found by Derrell.Lipman@UnwiredUniverse.com.
Jeremy.
(This used to be commit 5ded615679e346d1ea155cde3413396d3e3c3a6b)

16 years agor5981: Hack to fix DFS code to work with Win98 server. JERRY PLEASE REVIEW THIS !
Jeremy Allison [Tue, 22 Mar 2005 23:45:57 +0000 (23:45 +0000)]
r5981: Hack to fix DFS code to work with Win98 server. JERRY PLEASE REVIEW THIS !
I don't think this is correct - it just happens to work and fix bug #2530
to return all the files.
Jeremy.
(This used to be commit 1ee180a6dd7f8d787396f359a8ff3ed25433357b)

16 years agor5979: Don't crash when talking to a Win98 server (bugid #2530 - not a fix
Jeremy Allison [Tue, 22 Mar 2005 23:18:41 +0000 (23:18 +0000)]
r5979: Don't crash when talking to a Win98 server (bugid #2530 - not a fix
buy just prevent the crash).
Jeremy.
(This used to be commit 9d5ef800b6d3da54a5c733cff70306ac052ddd23)

16 years agor5975: Re-arrange code and comments to make more sense.
Jeremy Allison [Tue, 22 Mar 2005 22:04:01 +0000 (22:04 +0000)]
r5975: Re-arrange code and comments to make more sense.
Jeremy.
(This used to be commit 08616ad80d96d1b7b558eec036bafb4bf3663942)

16 years agor5973: Fix up overwrite of last 2 bytes on clilist (could cause coredump).
Jeremy Allison [Tue, 22 Mar 2005 21:43:51 +0000 (21:43 +0000)]
r5973: Fix up overwrite of last 2 bytes on clilist (could cause coredump).
Jeremy.
(This used to be commit b0de2d761f6697ca1f4859ba098af6162ab42027)

16 years agor5971: Check for the correct cli-struct when copying files.
Günther Deschner [Tue, 22 Mar 2005 21:24:16 +0000 (21:24 +0000)]
r5971: Check for the correct cli-struct when copying files.
Good catch from Lars Mueller <lmuelle@suse.de>.

Guenther
(This used to be commit 90e2383bc50e8312ad37f5869630130e0cd6ae78)

16 years agor5970: Fix old bug where ff_searchcount was being compared -1 ! This caused a
Jeremy Allison [Tue, 22 Mar 2005 21:22:59 +0000 (21:22 +0000)]
r5970: Fix old bug where ff_searchcount was being compared -1 ! This caused a
filename to be processed twice.
Jeremy.
(This used to be commit 2ed7e30cbb3e194a08d5d9b46993652666193bec)

16 years agor5968: derrell's large file fix for libsmbclient (BUG 2505)
Gerald Carter [Tue, 22 Mar 2005 21:17:01 +0000 (21:17 +0000)]
r5968: derrell's large file fix for libsmbclient (BUG 2505)
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)

16 years agor5967: Fix typo bug where flags overwrote info level.
Jeremy Allison [Tue, 22 Mar 2005 20:54:19 +0000 (20:54 +0000)]
r5967: Fix typo bug where flags overwrote info level.
Jeremy.
(This used to be commit 214a2cbe5aed9f0540b03350b60d0eec1c61bad8)

16 years agor5965: Apply Volker's patch for "ldapsam trusted = yes" for samr_lookup_rids. Gives us
Jim McDonough [Tue, 22 Mar 2005 20:50:29 +0000 (20:50 +0000)]
r5965: Apply Volker's patch for "ldapsam trusted = yes" for samr_lookup_rids.  Gives us
again up to ~6x improvement on group membership lookups.
(This used to be commit e2117bcb09cbd21df3b6621c2794a006418c1d9e)

16 years agor5961: final round of compiler warning fixes based on feedback from Jason Mader
Gerald Carter [Tue, 22 Mar 2005 18:07:58 +0000 (18:07 +0000)]
r5961: final round of compiler warning fixes based on feedback from Jason Mader
(This used to be commit 9e77da9320c900b3e437d534e31fa5ff81e9acfd)

16 years agor5960: Integer wrap paranoia when reading EA buffers.
Jeremy Allison [Tue, 22 Mar 2005 17:48:41 +0000 (17:48 +0000)]
r5960: Integer wrap paranoia when reading EA buffers.
Jeremy.
(This used to be commit e61f7a6b72fe6186a5a56f23f9133c5b1a49bb89)

16 years agor5958: BUG 1843: patch from james peach to fix quotas (with no soft limits) on IRIX
Gerald Carter [Tue, 22 Mar 2005 17:31:23 +0000 (17:31 +0000)]
r5958: BUG 1843: patch from james peach to fix quotas (with no soft limits) on IRIX
(This used to be commit aeb3cea54ea2e050aef38e38fd8519510a14a184)

16 years agor5957: BUGS 2478, 2093: compiler warning patches from Jason Mader
Gerald Carter [Tue, 22 Mar 2005 17:08:09 +0000 (17:08 +0000)]
r5957: BUGS 2478, 2093: compiler warning patches from Jason Mader
(This used to be commit b0f43460822eb5175c854959181de05307d73415)

16 years agor5956: more compile warngin fixes from the Mr. Mader
Gerald Carter [Tue, 22 Mar 2005 16:39:09 +0000 (16:39 +0000)]
r5956: more compile warngin fixes from the Mr. Mader
(This used to be commit f3f315b14d261fa56ab040db036a6f858ac06e65)

16 years agor5955: BUG 2517: use the realm from smb.conf for 'net ads info' when 'disable netbios...
Gerald Carter [Tue, 22 Mar 2005 16:35:15 +0000 (16:35 +0000)]
r5955: BUG 2517: use the realm from smb.conf for 'net ads info' when 'disable netbios = yes'
(This used to be commit 77734120d30c64941e2046574c81653c5bca4220)

16 years agor5954: Fix some compiler warnings and add missing exclude-block in "net rpc
Günther Deschner [Tue, 22 Mar 2005 15:45:38 +0000 (15:45 +0000)]
r5954: Fix some compiler warnings and add missing exclude-block in "net rpc
share migrate" (found by Lars Mueller <lmuelle@suse.de>).

Guenther
(This used to be commit 45a2a7bedb877745cd9677fe3124d5a2ad2c8853)

16 years agor5953: more compiler cleanups; moved SID_LIST from smb.h to privileges.c to cleanup...
Gerald Carter [Tue, 22 Mar 2005 15:39:24 +0000 (15:39 +0000)]
r5953: more compiler cleanups; moved SID_LIST from smb.h to privileges.c to cleanup the name space
(This used to be commit 7dfafa712deb115e425c7367296400c54827a217)

16 years agor5952: BUG 2469: patch from Jason Mader to cleanup compiler warning when not using...
Gerald Carter [Tue, 22 Mar 2005 15:12:50 +0000 (15:12 +0000)]
r5952: BUG 2469: patch from Jason Mader to cleanup compiler warning when not using krb5
(This used to be commit 19a639ac468237b22f16d917c0150fbf10c9623e)

16 years agor5951: gotta love that SGI compiler :-) (thanks Jason)
Gerald Carter [Tue, 22 Mar 2005 15:03:17 +0000 (15:03 +0000)]
r5951: gotta love that SGI compiler :-)  (thanks Jason)
(This used to be commit e84d070275464de43107b6b5910e25ccc3339302)

16 years agor5950: more compiler warning's from Jason Mader
Gerald Carter [Tue, 22 Mar 2005 14:54:12 +0000 (14:54 +0000)]
r5950: more compiler warning's from Jason Mader
(This used to be commit 27c6e85ad59a86ab45ae3297c7445c4ff15546c8)

16 years agor5948: more compile cleanups from Jason Mader
Gerald Carter [Tue, 22 Mar 2005 14:48:18 +0000 (14:48 +0000)]
r5948: more compile cleanups from Jason Mader
(This used to be commit cc6c769c3c26164919dd13777d671abe02c084d9)

16 years agor5946: BUG 2497: fix bug in rpcclient's deletedriverex when asking to delete all...
Gerald Carter [Tue, 22 Mar 2005 14:44:16 +0000 (14:44 +0000)]
r5946: BUG 2497: fix bug in rpcclient's deletedriverex when asking to delete all versions of a driver
(This used to be commit 1f0060278609a194b76872367530d2f7bcea7fa7)

16 years agor5945: BUG 2516: fix compile issue on True64
Gerald Carter [Tue, 22 Mar 2005 14:39:32 +0000 (14:39 +0000)]
r5945: BUG 2516: fix compile issue on True64
(This used to be commit 5205949dac4566a815ea443114309c284270ba91)

16 years agor5944: cleaning up compiler warnings reported by Jason Mader
Gerald Carter [Tue, 22 Mar 2005 14:33:30 +0000 (14:33 +0000)]
r5944: cleaning up compiler warnings reported by Jason Mader
(This used to be commit 8f87d9c5b66bfbbb1c2eb409bc424fa730b66ff0)

16 years agor5943: remove unneccessary se_priv_copy()
Gerald Carter [Tue, 22 Mar 2005 14:20:25 +0000 (14:20 +0000)]
r5943: remove unneccessary se_priv_copy()
(This used to be commit 2db04a90c4197a3950bbc322948468cb306b3557)

16 years agor5936: Fix bugs in earlier work in progress commit. Closer to properly supporting...
Jeremy Allison [Tue, 22 Mar 2005 02:23:52 +0000 (02:23 +0000)]
r5936: Fix bugs in earlier work in progress commit. Closer to properly supporting EA's now.
Jeremy.
(This used to be commit 8aa2b2617baefef004a864c4210b20a66ef89fd4)

16 years agor5933: We were handling setting of EA's incorrectly - we should be able to set
Jeremy Allison [Tue, 22 Mar 2005 02:14:38 +0000 (02:14 +0000)]
r5933: We were handling setting of EA's incorrectly - we should be able to set
a list. Also not converting names from DOS CP to UNIX CP correctly. This
code doesn't quite work yet but it's a work in progress to be fixed
tomorrow (don't want to lose it).
Jeremy.
(This used to be commit 22fca746576810c5408540031a9603625a66cd75)

16 years agor5927: Fix ldapsam trusted enum_group_members. We were searching in the user
Jim McDonough [Mon, 21 Mar 2005 21:09:21 +0000 (21:09 +0000)]
r5927: Fix ldapsam trusted enum_group_members.  We were searching in the user
suffix instead of the group suffix.

Thanks to John Janosik (jpjanosi@us.ibm.com).
(This used to be commit bf3ce651ff3f654938bc98c604ad56214760a05e)

16 years agor5926: setting version to 3.0.14pre1-svn
Gerald Carter [Mon, 21 Mar 2005 19:07:40 +0000 (19:07 +0000)]
r5926: setting version to 3.0.14pre1-svn
(This used to be commit 59b07eb012a52af142156912ce1f2d9ea82af81e)

16 years agor5922: Fix for NASTY NASTY bug #2501. All my fault :-(. Brown paper bag time.
Jeremy Allison [Mon, 21 Mar 2005 18:10:21 +0000 (18:10 +0000)]
r5922: Fix for NASTY NASTY bug #2501. All my fault :-(. Brown paper bag time.
Stops Win98 from looping doing findnext on a singleton directory. More
testing very welcome.
Jeremy.
(This used to be commit e32a58742e618a49934e19b72cd5222c9666cf95)

16 years agor5918: Fix typo.
John Terpstra [Mon, 21 Mar 2005 16:11:44 +0000 (16:11 +0000)]
r5918: Fix typo.
(This used to be commit 0d38d5f610a280a29617f887329d9084f0be6203)

16 years agor5916: Only one C++ guard is necessary, not one around each smbc function.
Tim Potter [Sun, 20 Mar 2005 21:54:19 +0000 (21:54 +0000)]
r5916: Only one C++ guard is necessary, not one around each smbc function.
(This used to be commit e446f16a402bd2f2c0c0cda3db1bd0c423321230)

16 years agor5915: Remove --with-manpages-languages= from configure (we only have them in one
Jelmer Vernooij [Sun, 20 Mar 2005 21:08:50 +0000 (21:08 +0000)]
r5915: Remove --with-manpages-languages= from configure (we only have them in one
lanuage, English, at the moment). Fixes #2261. If other languages
might are added in the future, this parameter will still not be needed.
(This used to be commit d41e790b4ba96b42ae80f51925a86a3344d3fd39)

16 years agor5912: - Enhance net rpc rights utility
Simo Sorce [Sun, 20 Mar 2005 18:01:46 +0000 (18:01 +0000)]
r5912: - Enhance net rpc rights utility
- Make it possible to list users that are given a specific privilege
- Make the lisitng interface a bit more usable by distinguishing
  between "keys" and "names", using user names directly still
  supported for backward compatibility
(This used to be commit 9797b33f2377375875b2c473d9899f36fe75246b)

16 years agor5910: Partial fix for bug 2438. I'll leave the debug message in place, that fix...
Volker Lendecke [Sun, 20 Mar 2005 11:51:01 +0000 (11:51 +0000)]
r5910: Partial fix for bug 2438. I'll leave the debug message in place, that fix is a
bit more effort.

The real fix for this would be to open an schannel netlogon connection to the
remote DC and change the trust account password...

Volker
(This used to be commit ab8991c384d81d32ac13f89592e8b35208127b32)

16 years agor5909: Remove some unecessary casts. Patch from Jason Mader for bugzill #2468.
Tim Potter [Sun, 20 Mar 2005 09:23:37 +0000 (09:23 +0000)]
r5909: Remove some unecessary casts.  Patch from Jason Mader for bugzill #2468.
(This used to be commit ede9fd08cf0ce04528f73c74e2345ba46d26f1e2)

16 years agor5907: Fix compile warning noticed by Jason Mader <jason@ncac.gwu.edu>.
Jeremy Allison [Sat, 19 Mar 2005 20:49:09 +0000 (20:49 +0000)]
r5907: Fix compile warning noticed by Jason Mader <jason@ncac.gwu.edu>.
Bug #2483.
Jeremy.
(This used to be commit f6db0f5e8aaa8cfc65031d19a231f7a5a68796a7)

16 years agor5905: Fix two warnings found by AIX. They might actually be bugs on 64-bit
Volker Lendecke [Sat, 19 Mar 2005 18:21:39 +0000 (18:21 +0000)]
r5905: Fix two warnings found by AIX. They might actually be bugs on 64-bit
platforms.

Volker
(This used to be commit f7218d1c66ae91fa79f5a40e0ba618beba038bbc)

16 years agor5897: Fix domain name parsing for cifs mount util
Steve French [Sat, 19 Mar 2005 05:45:53 +0000 (05:45 +0000)]
r5897: Fix domain name parsing for cifs mount util
(This used to be commit 72eda746c2cc0a362aef6e08f7cd89e65cc7e86d)

16 years agor5896: Fix cifs mounts to handle commas embedded in prompted password, and password...
Steve French [Sat, 19 Mar 2005 05:00:57 +0000 (05:00 +0000)]
r5896: Fix cifs mounts to handle commas embedded in prompted password, and password and credential files.
Fix cifs mounts to handle domain name and user name in username field (in form domain\user)
(This used to be commit d98417b2cfd9f3748eabc9df64cf30b2bd8bc338)

16 years agor5893: Get us to pass some of the Samba4 EA tests. EA_LIST seems to be
Jeremy Allison [Sat, 19 Mar 2005 00:31:45 +0000 (00:31 +0000)]
r5893: Get us to pass some of the Samba4 EA tests. EA_LIST seems to be
working - need to valgrind it to be sure.
Jeremy.
(This used to be commit 8b2b652c0a47298cd188c67d256dfdffe01a951d)