metze/samba/wip.git
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)

16 years agor5891: Make enum- and getform use the same form_display-function.
Günther Deschner [Fri, 18 Mar 2005 23:48:46 +0000 (23:48 +0000)]
r5891: Make enum- and getform use the same form_display-function.

Guenther
(This used to be commit dec1ab360691d628cb83c7efdef55ea0447f6558)

16 years agor5888: fix incorrect test - don't print anything if user is not in any groups
Herb Lewis [Fri, 18 Mar 2005 22:31:44 +0000 (22:31 +0000)]
r5888: fix incorrect test - don't print anything if user is not in any groups
(This used to be commit 2461a8e482ab22dde4b7af8ea6d6ee043f302bf8)

16 years agor5884: require cups to build and install; remove restruction from winbindd.init to...
Gerald Carter [Fri, 18 Mar 2005 15:58:47 +0000 (15:58 +0000)]
r5884: require cups to build and install; remove restruction from winbindd.init to have 'idmap [g|u]id' range set in smb.conf
(This used to be commit dd7237f50afc54b826b784bd4635ef232a3ee16a)

16 years agor5880: From the comment....
Volker Lendecke [Fri, 18 Mar 2005 13:13:38 +0000 (13:13 +0000)]
r5880: From the comment....

 * Implement a fixed mapping of forbidden NT characters in filenames that are
 * used a lot by the CAD package Catia.
 *
 * Yes, this a BAD BAD UGLY INCOMPLETE hack, but it helps quite some people
 * out there. Catia V4 on AIX uses characters like "<*$ a *lot*, all forbidden
 * under Windows...

Volker
(This used to be commit 8c0148df81d762853ed5c85bcf7c79d691f9b8ef)

16 years agor5874: Work in progress. EA list infolevel.
Jeremy Allison [Fri, 18 Mar 2005 02:32:35 +0000 (02:32 +0000)]
r5874: Work in progress. EA list infolevel.
Jeremy
(This used to be commit b033a302b59e1e72f4a72fce54abaae5c1c29f18)

16 years agor5872: Restructure ea list code to start to fix the EA_LIST calls. This does not
Jeremy Allison [Fri, 18 Mar 2005 01:55:30 +0000 (01:55 +0000)]
r5872: Restructure ea list code to start to fix the EA_LIST calls. This does not
work yet but it's a work in progress.
Jeremy.
(This used to be commit 0e399422f70ef8b3797277f6f61105fa7fe0d83a)

16 years agor5864: Stop using 'INFO' names on find calls. Getting ready to fixup OS/2 EA
Jeremy Allison [Thu, 17 Mar 2005 19:26:23 +0000 (19:26 +0000)]
r5864: Stop using 'INFO' names on find calls. Getting ready to fixup OS/2 EA
support.
Jeremy.
(This used to be commit a417feaa4108b443850ef6e8f0da32b79d79db59)

16 years agor5862: And some more const
Volker Lendecke [Thu, 17 Mar 2005 18:27:32 +0000 (18:27 +0000)]
r5862: And some more const
(This used to be commit dc442ea7a0eed0a496522dd518bc53bc9304b705)

16 years agor5861: Apply some const
Volker Lendecke [Thu, 17 Mar 2005 18:25:15 +0000 (18:25 +0000)]
r5861: Apply some const
(This used to be commit d89b40e9b175b194cc7bdbc0277083efff89699c)

16 years agor5854: Fix coredump when OS/2 checks for long file name support (with .+,;=[].).
Jim McDonough [Thu, 17 Mar 2005 14:32:52 +0000 (14:32 +0000)]
r5854: Fix coredump when OS/2 checks for long file name support (with .+,;=[].).
Bugzilla 2338.

Thanks to Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
(This used to be commit c13736287104d96fcc87ada0784eb43c6e373171)

16 years agor5851: BUG 2456: reported by Jason Mader; remove non standard pragma (my fault);...
Gerald Carter [Thu, 17 Mar 2005 04:55:00 +0000 (04:55 +0000)]
r5851: BUG 2456: reported by Jason Mader; remove non standard pragma (my fault); should fix some builds with non-gcc compilers
(This used to be commit 300150a1bee1bf927236c6d9942784a1359e7054)

16 years agor5848: Fix inherit owner to chown directories in a porable and secure way (from
Jeremy Allison [Thu, 17 Mar 2005 01:50:09 +0000 (01:50 +0000)]
r5848: Fix inherit owner to chown directories in a porable and secure way (from
just secure on Linux). Idea from tridge.
Jeremy.
(This used to be commit c0924a497b51c126a1db55f48cbf461855dd6c6a)

16 years agor5847: Fixes from Lars Müller and Vince Brimhall @Novell for NDS
Jeremy Allison [Thu, 17 Mar 2005 01:25:16 +0000 (01:25 +0000)]
r5847: Fixes from Lars Müller and Vince Brimhall @Novell for NDS
schema.
Jeremy.
(This used to be commit 0d3075b2c06709b05513d4be1530ef6df2471480)

16 years agor5844: Fix typo. Add cast for bug #2464 reported by jason@ncac.gwu.edu.
Jeremy Allison [Thu, 17 Mar 2005 01:19:49 +0000 (01:19 +0000)]
r5844: Fix typo. Add cast for bug #2464 reported by jason@ncac.gwu.edu.
Jeremy.
(This used to be commit a4b4766e4294c3a0172beeae7a7698160f4a2632)

16 years agor5843: Removed unused variable - pointed out by jason@ncac.gwu.edu in bugid #2460.
Jeremy Allison [Thu, 17 Mar 2005 01:02:30 +0000 (01:02 +0000)]
r5843: Removed unused variable - pointed out by jason@ncac.gwu.edu in bugid #2460.
Jeremy.
(This used to be commit 1f988333ecaedfb21a8deee6eebb9bd4de91bfd6)

16 years agor5840: Fix findfirst/findnext with protocol level < NT1.
Jeremy Allison [Thu, 17 Mar 2005 00:37:39 +0000 (00:37 +0000)]
r5840: Fix findfirst/findnext with protocol level < NT1.
Jeremy.
(This used to be commit d53b5891a7d372b3ed2488bac06939d29388f709)

16 years agor5836: Correct fix for OS/2 bug #2335. The error return code in this case is protocol
Jeremy Allison [Wed, 16 Mar 2005 23:32:42 +0000 (23:32 +0000)]
r5836: Correct fix for OS/2 bug #2335. The error return code in this case is protocol
level dependent.
Jeremy.
(This used to be commit 712ef86ac008524866615e670db7659ea674fefb)

16 years agor5835: Make smbclient obey the max protocol argument again.
Jeremy Allison [Wed, 16 Mar 2005 20:07:08 +0000 (20:07 +0000)]
r5835: Make smbclient obey the max protocol argument again.
Jeremy.
(This used to be commit 7cb9618e5de8aae5e910e620e70ea130b76f6099)

16 years agor5833: Revert change for bug #2335. Tested with a Win9x client and the original
Jeremy Allison [Wed, 16 Mar 2005 19:31:15 +0000 (19:31 +0000)]
r5833: Revert change for bug #2335. Tested with a Win9x client and the original
error code is correct. I have some theories as to why this is different,
I'll add some code to the torture tester to confirm.
Jeremy.
(This used to be commit a7a7af6815e1123f27070a2fe0a92de5b4372913)

16 years agor5831: Along with jra's recent checkins, fix dir/xcopy of empty dirs on OS/2. Bugs
Jim McDonough [Wed, 16 Mar 2005 16:14:04 +0000 (16:14 +0000)]
r5831: Along with jra's recent checkins, fix dir/xcopy of empty dirs on OS/2.  Bugs
2335, 2337.
(This used to be commit 2312ac9d42adcea8576c3923cd5bc8c1851d5375)

16 years agor5825: Fix one more DISK_FREE call - spotted by Ying Li <ying.li2@hp.com>.
Jeremy Allison [Wed, 16 Mar 2005 02:11:44 +0000 (02:11 +0000)]
r5825: Fix one more DISK_FREE call - spotted by Ying Li <ying.li2@hp.com>.
Jeremy.
(This used to be commit 19e017a78a90aca5f2d39a3c28472b9a595acbf3)

16 years agor5822: Actually return an error message if disk_free fails ! Pointed out by Ying...
Jeremy Allison [Wed, 16 Mar 2005 01:41:21 +0000 (01:41 +0000)]
r5822: Actually return an error message if disk_free fails ! Pointed out by Ying Li <ying.li2@hp.com>.
Jeremy.
(This used to be commit b5d31b2caf5c4739607bf57cb7e4e0569b57012b)

16 years agor5820: Fix bug #2451 - missing functions in full audit vfs module.
Jeremy Allison [Wed, 16 Mar 2005 00:40:28 +0000 (00:40 +0000)]
r5820: Fix bug #2451 - missing functions in full audit vfs module.
Jeremy.
(This used to be commit dc6fbc0268b79c5d53319d77e14a59f158cfd55d)

16 years agor5817: Patch from Vince Brimhall <vbrimhall@novell.com> to change the way pdb_nds
Jeremy Allison [Wed, 16 Mar 2005 00:26:57 +0000 (00:26 +0000)]
r5817: Patch from Vince Brimhall <vbrimhall@novell.com> to change the way pdb_nds
handles users with no Universal or Simple Password. Bug #2453.
Jeremy.
(This used to be commit 0976793e3022254c31bda0fe3c49f864514c8d4c)

16 years agor5816: Catch the "." resume name case also.
Jeremy Allison [Tue, 15 Mar 2005 23:46:22 +0000 (23:46 +0000)]
r5816: Catch the "." resume name case also.
Jeremy.
(This used to be commit 479bb6ea95e45d6f9d8b5dbddd500451e39202a7)

16 years agor5813: Fix bug found by Jim McDonough <jmcd@us.ibm.com>
Jeremy Allison [Tue, 15 Mar 2005 23:40:47 +0000 (23:40 +0000)]
r5813: Fix bug found by Jim McDonough <jmcd@us.ibm.com>
Win9x can send a resume name of "..". This will cause the parser to
complain (it thinks we're asking for the directory above the shared
path). Catch this as the resume name is only compared, never used in
a file access and replace it with "..".
Jeremy.
(This used to be commit c03524363f86ab88f1408f2fba2a1d76ce830301)

16 years agor5812: We missed some RESOLVE_DFSPATH calls on pathnames for older calls.
Jeremy Allison [Tue, 15 Mar 2005 23:17:03 +0000 (23:17 +0000)]
r5812: We missed some RESOLVE_DFSPATH calls on pathnames for older calls.
Jeremy.
(This used to be commit 0b0b8686f3c4261e9b1070f4b2968e6f4ed4bbd7)

16 years agor5809: try to catch NULL pointers during developerment for rpcbuf_move()
Gerald Carter [Tue, 15 Mar 2005 20:51:14 +0000 (20:51 +0000)]
r5809: try to catch NULL pointers during developerment for rpcbuf_move()
(This used to be commit f9e9a42c0734129100e1cdd4a9ad1539b65ab5bc)

16 years agor5808: removing unneeded structure field from RPC_BUFFER
Gerald Carter [Tue, 15 Mar 2005 20:46:26 +0000 (20:46 +0000)]
r5808: removing unneeded structure field from RPC_BUFFER
(This used to be commit 9b0bfd7e6fd1acc85ec53d2fa32d61cd34aa2345)

16 years agor5807: fix segfault after compiler warning clean up (and cleanup another warning)
Gerald Carter [Tue, 15 Mar 2005 20:27:17 +0000 (20:27 +0000)]
r5807: fix segfault after compiler warning clean up (and cleanup another warning)
(This used to be commit 2dae527e217ff9da2ad9f434bf1280744e93fad7)

16 years agor5806: * fix a couple more segvs in spoolss
Gerald Carter [Tue, 15 Mar 2005 20:12:51 +0000 (20:12 +0000)]
r5806: * fix a couple more segvs in spoolss

* comment out unused variable after jra's change to revert the 56bit des
  smb signing changes
(This used to be commit 13ed08cd2a1097021cc44f4109859ba89db7df81)

16 years agor5805: merging spoolss parsing changes from trunk and cleaning up resulting segvs
Gerald Carter [Tue, 15 Mar 2005 19:43:44 +0000 (19:43 +0000)]
r5805: merging spoolss parsing changes from trunk and cleaning up resulting segvs
(This used to be commit 25121547caaaed0d60f4db7458570c14e7d21b2a)

16 years agor5804: Revert the signing change by Nalin Dahyabhai <nalin@redhat.com>.
Jeremy Allison [Tue, 15 Mar 2005 18:21:35 +0000 (18:21 +0000)]
r5804: Revert the signing change by Nalin Dahyabhai <nalin@redhat.com>.
Seems to be incorrect (several user reports).
Jeremy.
(This used to be commit 0abfb67c79dde280b3dae14a7c7bcdb5f4d58e44)

16 years agor5792: Added new parameter "inherit owner". If set on a share, the created file/directory
Jeremy Allison [Tue, 15 Mar 2005 01:19:58 +0000 (01:19 +0000)]
r5792: Added new parameter "inherit owner". If set on a share, the created file/directory
will be owned by the same uid as the containing directory. Doing this for directories
in a race-free mannor has only been tested on Linux (it depends on being able to open
a directory and then do a fchown on that file descriptor). If this functionality is
not available then the code silently downgrades to not changing the ownership of a
new directory. This new parameter (docs to follow) finally makes it possible to create
"drop boxes" on Samba, which requires all files within a directory to be commonly owned.
A HOWTO on how to use this will follow.
Jeremy.
(This used to be commit 2e1f727184b9d025d2e3413bdd3d01d5ca803a41)

16 years agor5790: Added ability to set account description.
John Terpstra [Tue, 15 Mar 2005 00:42:38 +0000 (00:42 +0000)]
r5790: Added ability to set account description.
(This used to be commit df6f0815af0171a47483f2f3d347d350704a012f)

16 years agor5789: Patch from William Jojo <jojowil@hvcc.edu> - AIX has no default ACLs.
Jeremy Allison [Mon, 14 Mar 2005 20:03:32 +0000 (20:03 +0000)]
r5789: Patch from William Jojo <jojowil@hvcc.edu> - AIX has no default ACLs.
Bug #2445.
Jeremy.
(This used to be commit c9b5e32650ef957841d488416922b948804474e2)

16 years agor5786: Bugzilla #2443. Fix gcc4 compile found by Mark Loeser.
Tim Potter [Mon, 14 Mar 2005 11:00:31 +0000 (11:00 +0000)]
r5786: Bugzilla #2443.  Fix gcc4 compile found by Mark Loeser.
(This used to be commit ab79612ac661c9764682f109650381350d524ac2)

16 years agor5776: Fix typo (found by lieschen).
Günther Deschner [Sat, 12 Mar 2005 18:03:54 +0000 (18:03 +0000)]
r5776: Fix typo (found by lieschen).

Guenther
(This used to be commit 5c578d14ba1036354a339b0804c4500805b25747)

16 years agor5770: Get rid of some compiler warnings
Volker Lendecke [Sat, 12 Mar 2005 09:58:35 +0000 (09:58 +0000)]
r5770: Get rid of some compiler warnings
(This used to be commit 96a0f7d60c973e9f74ac90e3c79f94a01770f681)

16 years agor5767: Get rid of some compiler warnings
Volker Lendecke [Sat, 12 Mar 2005 09:49:23 +0000 (09:49 +0000)]
r5767: Get rid of some compiler warnings
(This used to be commit 66471de977a56cbe58921f61da28cc7dcbc6e93e)

16 years agor5762: Modified version of patch from Michael Brown <mbrown@fensystems.co.uk> to...
Jeremy Allison [Sat, 12 Mar 2005 01:28:10 +0000 (01:28 +0000)]
r5762: Modified version of patch from Michael Brown <mbrown@fensystems.co.uk> to case
insentively search for a principal match on logon verification in the system
keytab. UNTESTED (although it compiles). Please test.
Jeremy.
(This used to be commit 1ace2ca1be65b4d6e92a98040fd09fdca74e8c8a)

16 years agor5760: Be more verbose on listing forms.
Günther Deschner [Sat, 12 Mar 2005 00:50:47 +0000 (00:50 +0000)]
r5760: Be more verbose on listing forms.

Guenther
(This used to be commit 0f25c35fb9a658f4593bc0ce47a9276e81233e65)

16 years agor5759: Patch from Doug VanLeuven <roamdad@sonic.net> to add more case/realm/name
Jeremy Allison [Fri, 11 Mar 2005 20:59:16 +0000 (20:59 +0000)]
r5759: Patch from Doug VanLeuven <roamdad@sonic.net> to add more case/realm/name
permutations to the kerberos keytab.
Jeremy.
(This used to be commit c687e73f242967cd3a78db66c1dd23349766ebb8)

16 years agor5757: Fix erroneous debug message - noticed by William Jojo <jojowil@hvcc.edu>.
Jeremy Allison [Fri, 11 Mar 2005 18:50:09 +0000 (18:50 +0000)]
r5757: Fix erroneous debug message - noticed by William Jojo <jojowil@hvcc.edu>.
Jeremy.
(This used to be commit fd1999f1d73b871501ff859422c3989b496231a8)

16 years agor5752: implement derrell's solution for binary compatibilty in the _SMBCCTX structure...
Gerald Carter [Fri, 11 Mar 2005 17:01:30 +0000 (17:01 +0000)]
r5752: implement derrell's solution for binary compatibilty in the _SMBCCTX structure; note that we break compat with 3.0.11 but are ok with earlier versions
(This used to be commit 6e8d171551bfe480cb1a526469defc33276550f6)

16 years agor5751: fix another (correct) compiler warning
Gerald Carter [Fri, 11 Mar 2005 16:31:32 +0000 (16:31 +0000)]
r5751: fix another (correct) compiler warning
(This used to be commit 642a2d5a0aecd507d4f26dc2250de3667af3abbf)

16 years agor5749: fix some build issues
Gerald Carter [Fri, 11 Mar 2005 16:13:46 +0000 (16:13 +0000)]
r5749: fix some build issues
(This used to be commit 3f12dbb1cfd429e537415635aaa6e551e00c2a0e)

16 years agor5746: remove unneeded header that caused problems on rh73
Gerald Carter [Fri, 11 Mar 2005 15:53:45 +0000 (15:53 +0000)]
r5746: remove unneeded header that caused problems on rh73
(This used to be commit 68fe1f194a49e7900aba1f201c949f5deb21df87)

16 years agor5743: Add perl-script to check for multiple LDAP-entries on request of Richard
Günther Deschner [Fri, 11 Mar 2005 12:24:24 +0000 (12:24 +0000)]
r5743: Add perl-script to check for multiple LDAP-entries on request of Richard
Sharpe.

Users my run this script after they have vampired a windows domain
controller to verify their system has no double sids, double uids, etc.

Guenther
(This used to be commit 31bd709a41e1bfe1f269a829c30e55a9538303df)

16 years agor5740: setting version in 3.0 development branch to 3.0.13pre1
Gerald Carter [Fri, 11 Mar 2005 10:53:22 +0000 (10:53 +0000)]
r5740: setting version in 3.0 development branch to 3.0.13pre1
(This used to be commit 81651b4d8b5050a80fd28a36dc922d9fed51ade6)

16 years agor5738: fix my build breakage; fix a few compiler warnings
Gerald Carter [Fri, 11 Mar 2005 10:35:41 +0000 (10:35 +0000)]
r5738: fix my build breakage; fix a few compiler warnings
(This used to be commit acbe9efeb6de33610776560978f8632cbb847821)

16 years agor5735: rest of derrel's patch for BUG 2308; had to move the options structure from...
Gerald Carter [Thu, 10 Mar 2005 23:41:19 +0000 (23:41 +0000)]
r5735: rest of derrel's patch for BUG 2308; had to move the options structure from the _SMBCCTX to the internals structure to maintain binary compatibility (derrel, we should talk more about this)
(This used to be commit a5ea01bf15758bb2be26ba16784dc0975be783bf)

16 years agor5733: Don't crash when the SID column contains NULL (Fixes #2316)
Jelmer Vernooij [Thu, 10 Mar 2005 22:47:56 +0000 (22:47 +0000)]
r5733: Don't crash when the SID column contains NULL (Fixes #2316)
Patch by Justin Ossevoort
(This used to be commit a281148168624dcab24e12f1cc7b0f6c7caf0185)

16 years agor5731: Get delayed write semantics closer to W2K3. We need to store 2 times.
Jeremy Allison [Thu, 10 Mar 2005 21:43:58 +0000 (21:43 +0000)]
r5731: Get delayed write semantics closer to W2K3. We need to store 2 times.
This may fix bug #2382.
Jeremy.
(This used to be commit a27c351e6beafc6609790a9bb9a3d0a1331e8f35)

16 years agor5729: partial fixes for BUG 2308; libsmbclient patches from Derrell Lipman <derrell...
Gerald Carter [Thu, 10 Mar 2005 20:14:24 +0000 (20:14 +0000)]
r5729: partial fixes for BUG 2308; libsmbclient patches from Derrell Lipman <derrell.lipman@unwireduniverse.com>
(This used to be commit 88678bc05c3018eb181f97523a0b84b60e3c358d)

16 years agor5726: merge LsaLookupPrivValue() code from trunk
Gerald Carter [Thu, 10 Mar 2005 18:50:47 +0000 (18:50 +0000)]
r5726: merge LsaLookupPrivValue() code from trunk
(This used to be commit 277203b5356af58ce62eb4eec0db2eccadeeffd6)

16 years agor5724: Fix compiler warning
Volker Lendecke [Thu, 10 Mar 2005 17:23:49 +0000 (17:23 +0000)]
r5724: Fix compiler warning
(This used to be commit c2f710e3219aab647c0ed294d1d3481f5578b930)

16 years agor5723: Add missing part of fix for #2271. After analysing the actions of a XP
Jeremy Allison [Thu, 10 Mar 2005 02:00:24 +0000 (02:00 +0000)]
r5723: Add missing part of fix for #2271. After analysing the actions of a XP
client against a Samba server. It never uses the "continue" flag, but always
does "new search, continue from this file" instead. Change our client code
to do the same (it appears that's all they test in W2K etc.).
Jeremy.
(This used to be commit 710bceee325005b8ca8e8ed04acc50bafa92b6e6)

16 years agor5720: Attempt to fix bug #2382 (Excel shared workbook stops working). Also
Jeremy Allison [Thu, 10 Mar 2005 01:30:14 +0000 (01:30 +0000)]
r5720: Attempt to fix bug #2382 (Excel shared workbook stops working). Also
incorporates part of the fix created by ke_miyata@itg.hitachi.co.jp
for bug #2045 (MS-Office behavior of timestamp).
Jeremy.
(This used to be commit 4f3b12ac73487f4ccb37c17506af1abf5acc80cd)

16 years agor5718: Don't update fields that haven't changed (fixes #1957)
Jelmer Vernooij [Thu, 10 Mar 2005 01:06:16 +0000 (01:06 +0000)]
r5718: Don't update fields that haven't changed (fixes #1957)
(This used to be commit 5c682c665dbf517280deef0d6cec7dadc737a2bc)

16 years agor5717: BUG 2215: horrible code in nmbd_winsproxy.c; gcc folks at redhat claim its...
Gerald Carter [Wed, 9 Mar 2005 22:20:40 +0000 (22:20 +0000)]
r5717: BUG 2215: horrible code in nmbd_winsproxy.c;  gcc folks at redhat claim its in violation of the C spec.  It's so horrible I believe them
(This used to be commit fa7eb5693314efb14d42a739f8006ddf8d41e9d5)

16 years agor5715: Update for new CIFS POSIX info levels
Steve French [Wed, 9 Mar 2005 21:43:00 +0000 (21:43 +0000)]
r5715: Update for new CIFS POSIX info levels
(This used to be commit af12daba2ae57a1f768248ba60d7769063f8200b)

16 years agor5708: BUG 2424: patch from Vince Brimhall <vbrimhall@novell.com> to ensure that...
Gerald Carter [Wed, 9 Mar 2005 15:22:06 +0000 (15:22 +0000)]
r5708: BUG 2424: patch from Vince Brimhall <vbrimhall@novell.com> to ensure that uidNumber and gidNumber use match the rfc2307 schema
(This used to be commit c1727dc9e01f960c1eedf023b4de49ad6f418b18)

16 years agor5707: BUG 2425: remove ubran legend wrt to win98 and the DFS_PATHNAMES capability bit
Gerald Carter [Wed, 9 Mar 2005 15:13:23 +0000 (15:13 +0000)]
r5707: BUG 2425: remove ubran legend wrt to win98 and the DFS_PATHNAMES capability bit
(This used to be commit 6511bfe84a4036e0d203858aa2f604e346c9412b)

16 years agor5705: Have unknown_6 default to 1260 (fixed #892)
Jelmer Vernooij [Wed, 9 Mar 2005 10:10:43 +0000 (10:10 +0000)]
r5705: Have unknown_6 default to 1260 (fixed #892)
(This used to be commit 710ce847a79fa9e7ba488de46a2f69fc9d617e62)

16 years agor5702: Fix bug #2271. Correctly pull out and use resume names in a
Jeremy Allison [Wed, 9 Mar 2005 00:06:27 +0000 (00:06 +0000)]
r5702: Fix bug #2271. Correctly pull out and use resume names in a
directory listing (we were incorrectly understanding what was
returned in the "last name" entry).
Jeremy.
(This used to be commit 4f2da9ecf1e5cee4749839ea1b35a942d27de09e)

16 years agor5700: Fix problems where we're not pointing to the start of entry for a
Jeremy Allison [Tue, 8 Mar 2005 23:03:38 +0000 (23:03 +0000)]
r5700: Fix problems where we're not pointing to the start of entry for a
couple of info levels - W2K3 always points to the start, not the name.
Jeremy.
(This used to be commit 76fb181031e6e3df5b653496692737fd947b7818)

16 years agor5696: BUG 2355: use bsd style commands for 'printing = cups' but \!defined(HAVE_CUPS)
Gerald Carter [Tue, 8 Mar 2005 21:04:36 +0000 (21:04 +0000)]
r5696: BUG 2355: use bsd style commands for 'printing = cups' but \!defined(HAVE_CUPS)
(This used to be commit 5216728d82fcbdcba9a06f9730806ef4a4d6108f)

16 years agor5692: Fix compile warnings
Volker Lendecke [Tue, 8 Mar 2005 17:42:59 +0000 (17:42 +0000)]
r5692: Fix compile warnings
(This used to be commit 6fad82d3d536fe2f7184377137d062710b40b4f2)

16 years agor5691: wrapping the pause/resume/purge printer commands in
Gerald Carter [Tue, 8 Mar 2005 17:22:39 +0000 (17:22 +0000)]
r5691: wrapping the pause/resume/purge printer commands in
{become,unbecome}_root() blocks.  We've already done
a print_access_check() to ensure the user is admin.
The means that non-root users can pause and manage printers.
I really don't see how this worked before without setuid
binaries on the server.

Also update print_queue_update() interface to allow an smbd
to update the print queue cache locally rather than going through
the bg lpq daemon.  This is needed for things like pjob_delete()
to ensure the cache is current for the specific client.
(This used to be commit f75369ec865f4ba1ae8201ae750c0f45158ed536)

16 years agor5689: Allow for better protection of sensitive attributes in IBM Directory Server.
Jim McDonough [Tue, 8 Mar 2005 11:02:48 +0000 (11:02 +0000)]
r5689: Allow for better protection of sensitive attributes in IBM Directory Server.
(This used to be commit dafdd8d0741311ed0f0b35d30062f0052446f8c4)

16 years agor5688: ignore user_xattr mount parm so as not to confuse it with a user name
Steve French [Tue, 8 Mar 2005 00:00:13 +0000 (00:00 +0000)]
r5688: ignore user_xattr mount parm so as not to confuse it with a user name
(This used to be commit 58afef91c52293d72f1066a27387a60e51be4e79)

16 years agor5687: Fix for bug #2398 from Kevin Dalley <kevin@kelphead.org>.
Jeremy Allison [Mon, 7 Mar 2005 23:54:24 +0000 (23:54 +0000)]
r5687: Fix for bug #2398 from Kevin Dalley <kevin@kelphead.org>.
smbtar shouldn't assume /dev/null means dryrun.
Jeremy.
(This used to be commit 84e7b7db8992db7812b8e09b8633c257657fb91c)

16 years agor5685: BUG 1881: only define PRINT_SPOOL_PREFIX if it is not already defined
Gerald Carter [Mon, 7 Mar 2005 23:24:19 +0000 (23:24 +0000)]
r5685: BUG 1881: only define PRINT_SPOOL_PREFIX if it is not already defined
(This used to be commit a42e3fc63cdbabd96f05e6af64344e1489ebf9da)

16 years agor5684: BUG 2405: patch from Torsten Werner <torsten.werner@assyst-intl.com> to define...
Gerald Carter [Mon, 7 Mar 2005 22:10:27 +0000 (22:10 +0000)]
r5684: BUG 2405: patch from Torsten Werner <torsten.werner@assyst-intl.com> to define 'lpstat' printcap output on HPUX
(This used to be commit 98596037caa47a27c4f87793f9875ec18b0f23c2)

16 years agor5683: BUG 2363: allow 'in use' driver to be removed as long as one 'Windows NT x86...
Gerald Carter [Mon, 7 Mar 2005 22:06:25 +0000 (22:06 +0000)]
r5683: BUG 2363: allow 'in use' driver to be removed as long as one 'Windows NT x86' driver remains'
(This used to be commit 743ddbc7f204977431b8eaa48c3838b3cc9bdb11)

16 years agor5657: Fix uninitialized variable warning
Volker Lendecke [Sat, 5 Mar 2005 08:12:40 +0000 (08:12 +0000)]
r5657: Fix uninitialized variable warning
(This used to be commit f74737ce574aa4b47367fccb1b95769778187515)

16 years agor5655: Added support for Novell NDS universal password. Code donated by
Jeremy Allison [Sat, 5 Mar 2005 01:22:53 +0000 (01:22 +0000)]
r5655: Added support for Novell NDS universal password. Code donated by
Vince Brimhall <vbrimhall@novell.com> - slight tidyup by me to
use Samba conventions.
Vince - thanks a *lot* for this code - please test to make sure
I haven't messed anything up.
Jeremy.
(This used to be commit 6f5ea963abe8e19d17a1803d4bedd9d87a317e58)

16 years agor5654: Fix bug 1604 -- make winbind work with more than 10 trusted domains.
Volker Lendecke [Fri, 4 Mar 2005 19:29:18 +0000 (19:29 +0000)]
r5654: Fix bug 1604 -- make winbind work with more than 10 trusted domains.

TODO: This needs to be merged to trunk separately, it has changed a little,
but it's friday evening here.

Volker
(This used to be commit 49c3e04632e9fcdf552259412e8ec54d18269516)

16 years agor5653: Fixiing typos.
John Terpstra [Fri, 4 Mar 2005 17:38:25 +0000 (17:38 +0000)]
r5653: Fixiing typos.
(This used to be commit 7df1cfed723d1c22070b0a829946fe61d064e0d1)

16 years agor5650: add help lines for net rpc group addmem and delmem commands
Herb Lewis [Thu, 3 Mar 2005 18:55:36 +0000 (18:55 +0000)]
r5650: add help lines for net rpc group addmem and delmem commands
partial fix for Bug 2417 - we need to look for other missing
commands
(This used to be commit bd4405b41592e064428bfa0dab8f216692f0fec6)

16 years agor5647: Caches are good for performance, but you get a consistency problem.
Volker Lendecke [Thu, 3 Mar 2005 16:52:44 +0000 (16:52 +0000)]
r5647: Caches are good for performance, but you get a consistency problem.

Fix bug # 2401.

Volker
(This used to be commit eb4ef94f244d28fe531d0b9f724a66ed3834b687)

16 years agor5645: Add an autoconf test for -Wdeclaration-after-statement so we don't add it
Tim Potter [Thu, 3 Mar 2005 06:15:13 +0000 (06:15 +0000)]
r5645: Add an autoconf test for -Wdeclaration-after-statement so we don't add it
to the configure.developer CFLAGS if it's not supported.
(This used to be commit ce0dedea8d95f07745ba3e945dc88bceb97989d7)

16 years agor5641: Fix from James Peach @ SGI for oplock2 test.
Jeremy Allison [Thu, 3 Mar 2005 04:08:13 +0000 (04:08 +0000)]
r5641: Fix from James Peach @ SGI for oplock2 test.
Jeremy.
(This used to be commit 69e99d97d1547ec8f8e7f9756b87f211c90557b6)

16 years agor5640: On failed mount (ENXIO) retry share name in uppercase (fix mount to FastConnec...
Steve French [Thu, 3 Mar 2005 04:07:55 +0000 (04:07 +0000)]
r5640: On failed mount (ENXIO) retry share name in uppercase (fix mount to FastConnect AIX SMB server)
(This used to be commit 8bd98b643d097cbd5e1650ec63a2f3176c3879d7)

16 years agor5639: update smb.h with missing defines
Steve French [Thu, 3 Mar 2005 04:05:33 +0000 (04:05 +0000)]
r5639: update smb.h with missing defines
(This used to be commit 0f188da8578165077b6d6df58c6e82be11943d40)