amitay/samba.git
16 years agor7440: * merge registry server changes from trunk (so far) for more
Gerald Carter [Thu, 9 Jun 2005 15:20:11 +0000 (15:20 +0000)]
r7440: * merge registry server changes from trunk (so far) for more
  printmig.exe work
* merge the sys_select_signal(char c) change from trunk
  in order to keeo the winbind code in sync
(This used to be commit a112c5570a7f8ddddde1af0fa665f40a6067e8cf)

16 years agor7423: Fix the build on sol10
Volker Lendecke [Thu, 9 Jun 2005 07:45:29 +0000 (07:45 +0000)]
r7423: Fix the build on sol10
(This used to be commit e8fde1bd92e8b19c8b5ce22f92cb048de773be1c)

16 years agor7415: * big change -- volker's new async winbindd from trunk
Gerald Carter [Wed, 8 Jun 2005 22:10:34 +0000 (22:10 +0000)]
r7415: * big change -- volker's new async winbindd from trunk
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)

16 years agor7412: Now we're not memset'ing ensure we're valgrind clean.
Jeremy Allison [Wed, 8 Jun 2005 20:52:42 +0000 (20:52 +0000)]
r7412: Now we're not memset'ing ensure we're valgrind clean.
Jeremy.
(This used to be commit 0d303ab2f30f6047fc3f2f6fc4916e93704959d2)

16 years agor7398: commiting abartlet's patch for kerberos authentication when using a keytab...
Gerald Carter [Wed, 8 Jun 2005 14:57:37 +0000 (14:57 +0000)]
r7398: commiting abartlet's patch for kerberos authentication when using a keytab and security != ads
(This used to be commit 3faaa5c3eb3b2057984586e069a47cb210c99140)

16 years agor7396: cleaning up vestiges of winbind local accounts code
Gerald Carter [Wed, 8 Jun 2005 14:37:14 +0000 (14:37 +0000)]
r7396: cleaning up vestiges of winbind local accounts code
(This used to be commit c57c23cf52184171ac588c2919dc4ee4e68f2431)

16 years agor7395: * new feature 'map to guest = bad uid' (based on patch from
Gerald Carter [Wed, 8 Jun 2005 14:23:49 +0000 (14:23 +0000)]
r7395: * new feature 'map to guest = bad uid' (based on patch from
  aruna.prabakar@hp.com).

This re-enables the Samba 2.2 behavior where a user that was
successfully authenticated by a remote DC would be mapped
to the guest account if there was not existing UNIX account
for that user and we could not create one.
(This used to be commit b7455fbf81f4e47c087c861f70d492a328730a9b)

16 years agor7391: - Added client-support for various lsa_query_trust_dom_info-calls and a
Günther Deschner [Wed, 8 Jun 2005 13:59:03 +0000 (13:59 +0000)]
r7391: - Added client-support for various lsa_query_trust_dom_info-calls and a
  rpcclient-tester for some info-levels.

  Jerry, I tried to adopt to prs_pointer() where possible and to not
  interfere with your work for usrmgr.

- Add "net rpc trustdom vampire"-tool.

  This allows to retrieve Interdomain Trust(ed)-Relationships from
  NT4-Servers including cleartext-passwords (still stored in the local
  secrets.tdb).

  The net-hook was done in cooperation with Lars Mueller
  <lmuelle@suse.de>.

  To vampire trusted domains simply call:

        net rpc trustdom vampire -S nt4dc -Uadmin%pass

Guenther
(This used to be commit 512585293963a1737f831af697ea1dc092d63cb0)

16 years agor7390: Revision 7371 did not help :-(
Volker Lendecke [Wed, 8 Jun 2005 12:47:00 +0000 (12:47 +0000)]
r7390: Revision 7371 did not help :-(
(This used to be commit a405e7f479cb71be5634b79f2d7847fcf018f516)

16 years agor7385: Rewrite the RPC bind parsing functions to follow the spec. I haven't yet
Jeremy Allison [Wed, 8 Jun 2005 03:48:40 +0000 (03:48 +0000)]
r7385: Rewrite the RPC bind parsing functions to follow the spec. I haven't yet
tested this so I may have screwed this up - however it now follows the
DCE spec. valgrinded tests to follow....
Jeremy.
(This used to be commit 877e0a61f5821c89149b1403d08675dd7db8039e)

16 years agor7374: BUG 1261: remove unusable libbiconv after discussion with Timur (FreeBSD Samba...
Gerald Carter [Tue, 7 Jun 2005 19:01:45 +0000 (19:01 +0000)]
r7374: BUG 1261: remove unusable libbiconv after discussion with Timur (FreeBSD Samba maintainer)
(This used to be commit 2ead684635a21d737a385d38e0da0b6c53cb1f0d)

16 years agor7372: abartet's patch for BUG 2391 (segv caused by free a static pointer)
Gerald Carter [Tue, 7 Jun 2005 17:52:19 +0000 (17:52 +0000)]
r7372: abartet's patch for BUG 2391 (segv caused by free a static pointer)
(This used to be commit 4cda2bd035276bd090bf0fbd4e3b2eff657a80cb)

16 years agor7371: On one build farm box dirtest1 does not return, I think this might be due to
Volker Lendecke [Tue, 7 Jun 2005 15:59:14 +0000 (15:59 +0000)]
r7371: On one build farm box dirtest1 does not return, I think this might be due to
it being too slow. The build farm re-runs that with debuglevel 10, and this
ends up with a 400MB logfile which is not synced. Lets see if with this change
the machine pops up on build.samba.org....

Volker
(This used to be commit b4a6ace00dbf1a6b6200704197df7ecd460412e9)

16 years agor7344: Correctly return if malloc fails.
Volker Lendecke [Mon, 6 Jun 2005 15:21:09 +0000 (15:21 +0000)]
r7344: Correctly return if malloc fails.

Jeremy, you might want to check this.

Thanks,

Volker
(This used to be commit 560f9d37353f6b886996144215f99e06f2513007)

16 years agor7339: only check for dfs proxy referrals when the server supports dfs
Gerald Carter [Mon, 6 Jun 2005 14:37:31 +0000 (14:37 +0000)]
r7339: only check for dfs proxy referrals when the server supports dfs
(This used to be commit 9e93244fa5bd06b142a980d4090fa8f95afc983a)

16 years agor7335: patch from Joerg Sonnenberger <joerg@britannica.bec.de> to fix dragonfly detection
Gerald Carter [Mon, 6 Jun 2005 13:30:45 +0000 (13:30 +0000)]
r7335: patch from Joerg Sonnenberger <joerg@britannica.bec.de> to fix dragonfly detection
(This used to be commit d80ae98d9e3f872c8064ce8316c76bd6de50a848)

16 years agor7318: Unify HEAD and 3.0 socket functions. Add HEAD functions here #ifdef'ed out.
Jeremy Allison [Mon, 6 Jun 2005 04:07:10 +0000 (04:07 +0000)]
r7318: Unify HEAD and 3.0 socket functions. Add HEAD functions here #ifdef'ed out.
Correct branch this time !
Jeremy.
(This used to be commit 052b4f8e2849b4897176e64cc29b6a5f686d946e)

16 years agor7245: bug fixes in libsmbclient, setting time attributes
Derrell Lipman [Fri, 3 Jun 2005 18:54:32 +0000 (18:54 +0000)]
r7245: bug fixes in libsmbclient, setting time attributes
(This used to be commit bf33902c059b7f222f89673ce07c8f929860a85f)

16 years agor7243: Don't look at gencache.tdb for the trusted domains if winbind is around.
Volker Lendecke [Fri, 3 Jun 2005 15:42:03 +0000 (15:42 +0000)]
r7243: Don't look at gencache.tdb for the trusted domains if winbind is around.

Volker
(This used to be commit 94acb93f57b963bf137c6ddd644a147f4d0b5175)

16 years agor7217: Only allow schannel connections if a successful Auth2 has been done
Volker Lendecke [Fri, 3 Jun 2005 09:24:48 +0000 (09:24 +0000)]
r7217: Only allow schannel connections if a successful Auth2 has been done
before. Things tested: Domain join and subsequent interactive and network
logon to NT4, W2kSP and XPSP2 workstations and a NT4 domain trusting us. Right
now I've got problems with my W2k3 domain trusts. So this needs testing,
although I'm really confident that this does not break.

Volker
(This used to be commit c25b4afda2b657b73a6215d3ff36461a36496ba3)

16 years agor7210: Fix my own mistakes up, sorry.
Jeremy Allison [Fri, 3 Jun 2005 05:35:04 +0000 (05:35 +0000)]
r7210: Fix my own mistakes up, sorry.
Jeremy.
(This used to be commit 53c3a954ee0e1c9dc61950f1a9d0a654de9382c6)

16 years agor7202: lock mtab when updating it during umount.cifs, also delete only one matching...
Steve French [Fri, 3 Jun 2005 00:34:13 +0000 (00:34 +0000)]
r7202: lock mtab when updating it during umount.cifs, also delete only one matching entry at a time
(This used to be commit 200db0790a7380e9a68fde391fd09c82da51f52e)

16 years agor7200: Don't use memset, use SET_STAT_INVALID (has the same effect).
Jeremy Allison [Thu, 2 Jun 2005 23:18:52 +0000 (23:18 +0000)]
r7200: Don't use memset, use SET_STAT_INVALID (has the same effect).
Jeremy.
(This used to be commit 0b6f87d5e14da461bd2b1c3a4e6f47a69d2cd1c4)

16 years agor7197: fix build failure when running 'make torture' without
Gerald Carter [Thu, 2 Jun 2005 16:11:14 +0000 (16:11 +0000)]
r7197: fix build failure when running 'make torture' without
first running 'make all' first
(This used to be commit 8a8408a34089afb08f037b2652f4803399c21d8e)

16 years agor7191: Squeezing out more unnecessary memset's gets us up 20% over older code :-).
Jeremy Allison [Thu, 2 Jun 2005 06:19:02 +0000 (06:19 +0000)]
r7191: Squeezing out more unnecessary memset's gets us up 20% over older code :-).
Getting medieval on our ass about memset....
Jeremy.
(This used to be commit d0c804bc353afa1712de3885071712af1daffb11)

16 years agor7190: I *love* valgrind/cachegrind.....
Jeremy Allison [Thu, 2 Jun 2005 05:27:37 +0000 (05:27 +0000)]
r7190: I *love* valgrind/cachegrind.....
By removing unneeded memsets in qfilepathinfo I just improved our netbench performance
by *********15%**********. Check it out :-).
Jeremy.
(This used to be commit c20a7b10b6a82db6df349fa5e6f2fcf3eeefec58)

16 years agor7175: fix incorrect comment
Derrell Lipman [Wed, 1 Jun 2005 20:25:33 +0000 (20:25 +0000)]
r7175: fix incorrect comment
(This used to be commit 6f951c863ea4671a62075c6ac963f198fbf322b1)

16 years agor7172: This is the proper fix for setting file times from libsmbclient. We now
Derrell Lipman [Wed, 1 Jun 2005 20:17:16 +0000 (20:17 +0000)]
r7172: This is the proper fix for setting file times from libsmbclient.  We now
try setpathinfo, and if that doesn't work (e.g. on win98), revert to the
previous slower method.
(This used to be commit 6c05812bd90b0db69d974ee2758721dc2974a507)

16 years agor7168: Updating file times from libsmbclient was not working for win98. Although
Derrell Lipman [Wed, 1 Jun 2005 17:40:40 +0000 (17:40 +0000)]
r7168: Updating file times from libsmbclient was not working for win98.  Although
the function that was being used to set attributes is a core protocol
function (SMBsetatr = 0x09), it does not appear to work on win98.  As a
temporary measure, when file times are to be set, this version opens the
file and uses SMBsetattrE = 0x22 instead.  (The other advantage of this
function over the original one is that it supports setting access time as
well as modification time.)

The next step, the proper solution if it can be made to work, is to write
functions that use TRANS2_SET_PATH_INFO instead.
(This used to be commit bab0bf7f4f9d2a4b6fcee4429094349302bbeb33)

16 years agor7157: Ensure we abort a directory listing if we see the same
Jeremy Allison [Wed, 1 Jun 2005 00:00:07 +0000 (00:00 +0000)]
r7157: Ensure we abort a directory listing if we see the same
name twice between packets.
Jeremy.
(This used to be commit f9063b383ed2c53841ac27691b6a593b80c20b12)

16 years agor7156: file was missing; svn isn't smart enough to even notify me. sigh.
Derrell Lipman [Tue, 31 May 2005 23:42:29 +0000 (23:42 +0000)]
r7156: file was missing; svn isn't smart enough to even notify me.  sigh.
(This used to be commit fce48fa1b462ded1453520355bf2dce0f607b8dc)

16 years agor7153: add better test facilities to testutime
Derrell Lipman [Tue, 31 May 2005 20:12:34 +0000 (20:12 +0000)]
r7153: add better test facilities to testutime
(This used to be commit d763c739a63894d5f458f61de28b90d840bb8fe4)

16 years agor7151: Fix for bug #2698. If a unicode to unix charset conversion fails (due to buggy...
Jeremy Allison [Tue, 31 May 2005 19:06:52 +0000 (19:06 +0000)]
r7151: Fix for bug #2698. If a unicode to unix charset conversion fails (due to buggy iconv?) we can
be left with a filename that doesn't exist on the remote machine. If we then do a findnext
with this file the server gets confused and restarts from the beginning of the directory,
causing directory listing loops. Fix this by keeping a copy of the "raw" filename data and
length and using this as the argument to findnext. This won't fix the incorrect iconv
conversion into the finfo struct but at least it ensures that directory listings always
terminate. Tested against NTFS and FAT directories.
Jeremy.
(This used to be commit 848940d5a91b310e58d0631ead293418ea4186f0)

16 years agor7148: Fix #2736: winbind race condition with detecting idle clients
Jim McDonough [Tue, 31 May 2005 18:36:38 +0000 (18:36 +0000)]
r7148: Fix #2736: winbind race condition with detecting idle clients

winbind idle connection closing logic is getting invoked under high loads for
clients which may already have commands in the pipe.  This race condition
causes clients to fail with NSS_STATUS_UNAVAIL sometimes.  We now retry several
times hoping (still not guaranteed, though) it will work.
(This used to be commit 05c04cfd2526b8b9a82916b5dffc18bf27c3f198)

16 years agor7145: reuse the WINBIND_REQUIRED_MEMBERSHIP constant.
Günther Deschner [Tue, 31 May 2005 16:21:06 +0000 (16:21 +0000)]
r7145: reuse the WINBIND_REQUIRED_MEMBERSHIP constant.

This is just cosmetic but prevents people from thinking that the
pam_winbind "require_membership_of"-option is not yet implemented :)

Guenther
(This used to be commit ef80a49a858d7d81d427c7bac71fdac4fc0d1bd6)

16 years agor7143: removing unused file
Gerald Carter [Tue, 31 May 2005 16:10:22 +0000 (16:10 +0000)]
r7143: removing unused file
(This used to be commit 8c3886515683735c7449e409f8aa2ee9e6ac14fb)

16 years agor7142: removing 'ldap filter' smb.conf option
Gerald Carter [Tue, 31 May 2005 16:09:58 +0000 (16:09 +0000)]
r7142: removing 'ldap filter' smb.conf option
(This used to be commit e2f8eeb4e26e8f7bec4d9dc820b86a7b548f82da)

16 years agor7140: removing aparser directory since it is obselete in light of pidl
Gerald Carter [Tue, 31 May 2005 13:48:37 +0000 (13:48 +0000)]
r7140: removing aparser directory since it is obselete in light of pidl
(This used to be commit 38cad678b8058d5ac99b41c0be07f4c58a720cfc)

16 years agor7139: trying to reduce the number of diffs between trunk and 3.0; changing version...
Gerald Carter [Tue, 31 May 2005 13:46:45 +0000 (13:46 +0000)]
r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1
(This used to be commit 9727d05241574042dd3aa8844ae5c701d22e2da1)

16 years agor7130: remove 'winbind enable local accounts' code from the 3.0 tree
Gerald Carter [Tue, 31 May 2005 02:23:47 +0000 (02:23 +0000)]
r7130: remove 'winbind enable local accounts' code from the 3.0 tree
(This used to be commit 318c3db4cb1c85be40b2f812f781bcf5f1da5c19)

16 years agor7126: fixing paranoid malloc checker failures
Gerald Carter [Tue, 31 May 2005 01:44:44 +0000 (01:44 +0000)]
r7126: fixing paranoid malloc checker failures
(This used to be commit b01026674fddb4179a7f002c13f5e341eaaa0a1c)

16 years agor7041: compile fixes....long day I guess
Gerald Carter [Fri, 27 May 2005 20:34:19 +0000 (20:34 +0000)]
r7041: compile fixes....long day I guess
(This used to be commit ec3ef5ddbe12fa6ebe8f58979625c671d181c519)

16 years agor7039: Ensure we always call read_socket_with_timeout() when
Jeremy Allison [Fri, 27 May 2005 20:07:28 +0000 (20:07 +0000)]
r7039: Ensure we always call read_socket_with_timeout() when
timeout > 0. Better solution after much helpful input
from derrell@samba.org. We may eventually change the
read_socket_with_timeout() interface to count down the
timeout value.
Jeremy.
(This used to be commit 09c9a62aa53ed26e59ed57e577614d02a796c492)

16 years agor7038: * upgrade version of nt*tdb files. Have to fix
Gerald Carter [Fri, 27 May 2005 19:02:30 +0000 (19:02 +0000)]
r7038: * upgrade version of nt*tdb files.  Have to fix
  some issues in the printer security descriptors.
  Ensure that each printer sd has an oaner and group SID
  (BUILTIN\Administrators) and that we utilize more than
  the generic bits assigned in <= 3.0.14a.
(This used to be commit c72182c1e20225a655376fd23915ac6053b94633)

16 years agor7034: Revert change in util_sock.c from derrell until this is
Jeremy Allison [Fri, 27 May 2005 17:47:24 +0000 (17:47 +0000)]
r7034: Revert change in util_sock.c from derrell until this is
discussed more on samba-technical.
Jeremy.
(This used to be commit 7ad6fdc1ef4754fc25d81ab27fd5ebb40e04a6cf)

16 years agor7033: Call a spade a spade :-).
Jeremy Allison [Fri, 27 May 2005 16:21:19 +0000 (16:21 +0000)]
r7033: Call a spade a spade :-).
Jeremy.
(This used to be commit f5027f6370bd085a8d4c1a221881eebb0e4ffbab)

16 years agor7031: Added encrypt/decrypt function for LSA secrets and trusted
Jeremy Allison [Fri, 27 May 2005 16:15:56 +0000 (16:15 +0000)]
r7031: Added encrypt/decrypt function for LSA secrets and trusted
domain passwords on the wire.
Jeremy.
(This used to be commit f82dcac25faf7876655cb1839846cc5e01e4add7)

16 years agor7025: 1 if not all data is available at the time we go to read a packet, retry
Derrell Lipman [Fri, 27 May 2005 14:38:00 +0000 (14:38 +0000)]
r7025: 1 if not all data is available at the time we go to read a packet, retry
  the read using a timeout to ensure that all data for the packet is received.
2 some minor changes to meet coding standards
3 eliminate some compiler warnings
(This used to be commit 7b4d4f6109d815ec70c65564435d7d9bd22f66d9)

16 years agor7024: reverting mistaken commit
Gerald Carter [Fri, 27 May 2005 14:19:57 +0000 (14:19 +0000)]
r7024: reverting mistaken commit
(This used to be commit c70c5c4ee9b14fbdb174f542607aceebe0e88470)

16 years agor7020: fixing printer ace values and getting rid of false compiler warning about...
Gerald Carter [Fri, 27 May 2005 13:58:04 +0000 (13:58 +0000)]
r7020: fixing printer ace values and getting rid of false compiler warning about unitialized variable
(This used to be commit 3a91b20e4bcc78c91932e6c4394b3f6f153b2ff5)

16 years agor6995: * fixing segfault when writing out registry values of zero length
Gerald Carter [Thu, 26 May 2005 20:36:04 +0000 (20:36 +0000)]
r6995: * fixing segfault when writing out registry values of zero length
* add RegSaveKey() client function
* add 'net rpc registry save' subcommand
(This used to be commit f35e0a0a8d8df5c39e61ebd34c4aecbc5c9bb635)

16 years agor6994: Fix for bugid #2729 - it turns out resume keys are *mandatory* for
Jeremy Allison [Thu, 26 May 2005 19:39:40 +0000 (19:39 +0000)]
r6994: Fix for bugid #2729 - it turns out resume keys are *mandatory* for
a search when listing a W2K and above server from a FATxx filesystem
only. Thanks to Steve Langasek <vorlon@debian.org> for giving me the
essential info that allowed me to reproduce and thus fix this.
Jeremy.
(This used to be commit 8227675d3dbcd4f8bb2a24ea7e3e05c428b7c929)

16 years agor6992: syncing printer permissions changes from trunk
Gerald Carter [Thu, 26 May 2005 14:03:25 +0000 (14:03 +0000)]
r6992: syncing printer permissions changes from trunk
(This used to be commit a2eb138c215f3d6618922918e10412a883db5011)

16 years agor6979: Tidyups.
Jeremy Allison [Wed, 25 May 2005 20:31:46 +0000 (20:31 +0000)]
r6979: Tidyups.
Jeremy.
(This used to be commit 619d0aeebba66624ea0f5c7cff1c637738275b84)

16 years agor6977: Fix bug #2735 (not mangling control characters) plus
Jeremy Allison [Wed, 25 May 2005 19:25:35 +0000 (19:25 +0000)]
r6977: Fix bug #2735 (not mangling control characters) plus
ensure we don't create files with control characters
either.
Jeremy.
(This used to be commit 0ca2423c706423a07721e375345b6d45a45cbcf4)

16 years agor6965: Remove some dead code from util_unistr.c.
Jeremy Allison [Wed, 25 May 2005 00:51:39 +0000 (00:51 +0000)]
r6965: Remove some dead code from util_unistr.c.
Start of fix for #2735 - we are not mangling some
names we should. More fixes to follow.
Jeremy.
(This used to be commit ac0fa973774c36b72863aea369e9d243cf7420fa)

16 years agor6959: Meant to fix this before commiting, just to be consistent.
Deryck Hodge [Tue, 24 May 2005 17:37:04 +0000 (17:37 +0000)]
r6959: Meant to fix this before commiting, just to be consistent.

deryck
(This used to be commit 3732705605c757d8647efa2731070025f79ab302)

16 years agor6958: Properly display quotes in SWAT. Thanks to Jay
Deryck Hodge [Tue, 24 May 2005 17:33:47 +0000 (17:33 +0000)]
r6958: Properly display quotes in SWAT. Thanks to Jay
Fenlason <fenlason@redhat.com> for spotting this issue.

deryck
(This used to be commit cd12641383c50020104142cad0e705e2b58c50f4)

16 years agor6953: Many compilers in the build farm don't like static variables initialized with
Volker Lendecke [Tue, 24 May 2005 07:55:02 +0000 (07:55 +0000)]
r6953: Many compilers in the build farm don't like static variables initialized with
strlen(..). Jerry, I think this needs another fix. I just want to make the
build farm happy.

Not merging to trunk, this needs further looking at.

Volker
(This used to be commit 4f36e4f4343e56842affa8de495c2258f5d971ad)

16 years agor6949: Back-port Volker's cache fix, plus my change.
Jeremy Allison [Tue, 24 May 2005 04:55:18 +0000 (04:55 +0000)]
r6949: Back-port Volker's cache fix, plus my change.
Jeremy.
(This used to be commit 27d43f6d36b3f6abc368ec6a00ef9803cb27c324)

16 years agor6947: Removal of testprns from package spec.
John Terpstra [Tue, 24 May 2005 00:42:11 +0000 (00:42 +0000)]
r6947: Removal of testprns from package spec.
(This used to be commit 074ae196449d78d727e622d298080d6ef8352259)

16 years agor6946: Allow mapping of POSIX ACLs to NT perms to differentiate between directories
Jeremy Allison [Mon, 23 May 2005 20:47:43 +0000 (20:47 +0000)]
r6946: Allow mapping of POSIX ACLs to NT perms to differentiate between directories
and files. Needed for Volker's coming changes.
Jeremy.
(This used to be commit b257744fdfd0a8d940ae834b3c21f0f298c7d1f9)

16 years agor6943: missed in last sync
Gerald Carter [Mon, 23 May 2005 16:28:28 +0000 (16:28 +0000)]
r6943: missed in last sync
(This used to be commit 3002aa22505d4604f7919bf7207477e737372404)

16 years agor6942: * merging the registry changes back to the 3.0 tree
Gerald Carter [Mon, 23 May 2005 16:25:31 +0000 (16:25 +0000)]
r6942: * merging the registry changes back to the 3.0 tree
* removing the testprns tool
(This used to be commit 81ffb0dbbbd244623507880c323a3c37e2b8dc4d)

16 years agor6940: fixing debug messages
Gerald Carter [Mon, 23 May 2005 15:25:38 +0000 (15:25 +0000)]
r6940: fixing debug messages
(This used to be commit 81c1ac255ebf0adf3bdb96b077a34dcfab1812cf)

16 years agor6925: merge rev 6920 from 4_0:
Stefan Metzmacher [Fri, 20 May 2005 14:12:28 +0000 (14:12 +0000)]
r6925: merge rev 6920 from 4_0:
display the SVN revision in svk build of tree's directly mirrored from samba.org

metze
(This used to be commit 110c0f6f36b8a5e7b0e1bf4477605ed81aca5580)

16 years agor6900: Fix bug 2725. Thanks, John, for finding it.
Volker Lendecke [Thu, 19 May 2005 10:52:36 +0000 (10:52 +0000)]
r6900: Fix bug 2725. Thanks, John, for finding it.

Volker
(This used to be commit 913c06ad3e752f2b185faa411d90a2f7aaf42291)

16 years agor6895: Add "acl check permissions" to turn on/off the new behaviour of
Jeremy Allison [Wed, 18 May 2005 23:37:35 +0000 (23:37 +0000)]
r6895: Add "acl check permissions" to turn on/off the new behaviour of
checking for write access in a directory before delete. Also
controls checking for write access before labeling a file read-only
if DOS attributes are not being stored in EA's.
Docuementation to follow.
Jeremy.
(This used to be commit dd1a5e6e499dd721c5bb8d56a61810a7454a3449)

16 years agor6890: Refactor printing interface to take offset into job. Fixes bug
Jeremy Allison [Wed, 18 May 2005 18:02:15 +0000 (18:02 +0000)]
r6890: Refactor printing interface to take offset into job. Fixes bug
where large print jobs can have out-of-order offsets. Bug found
by Arcady Chernyak <Arcady.Chernyak@efi.com>
Jeremy.
(This used to be commit 482f7e0e3706098b71aa0b31a134994acb1e9fcf)

16 years agor6880: Fix bug 2070 after positive feedback from Leon Vernikov. Thanks!
Volker Lendecke [Wed, 18 May 2005 11:57:53 +0000 (11:57 +0000)]
r6880: Fix bug 2070 after positive feedback from Leon Vernikov. Thanks!

Volker
(This used to be commit f25da82ffd8cdaf9ba773352b6f35d5390ee4aad)

16 years agor6849: Merge revision 6845 from Samba 4
Volker Lendecke [Tue, 17 May 2005 07:10:45 +0000 (07:10 +0000)]
r6849: Merge revision 6845 from Samba 4
(This used to be commit 44365075d22d395992b167e5a04d7083c05878cc)

16 years agor6841: Attempt to fix buf #2681. With "strict allocate = yes" we now zero
Jeremy Allison [Tue, 17 May 2005 01:04:51 +0000 (01:04 +0000)]
r6841: Attempt to fix buf #2681. With "strict allocate = yes" we now zero
fill when a file is extended. Should catch disk full errors on write
from MS-Office.
Jeremy.
(This used to be commit 858824f37be443320487a8e28ec8fa172cdf5a18)

16 years agor6834: Fix bug #2703, found by John Antonishek <ant@nist.gov>. Add NULL
Jeremy Allison [Mon, 16 May 2005 22:54:46 +0000 (22:54 +0000)]
r6834: Fix bug #2703, found by John Antonishek <ant@nist.gov>. Add NULL
guard for disp_fields[0].
Jeremy.
(This used to be commit ee45f4b17e4131a9e0779046c49b24d1e35256d8)

16 years agor6823: Add deletion confirmation / error message.
John Terpstra [Mon, 16 May 2005 18:51:59 +0000 (18:51 +0000)]
r6823: Add deletion confirmation / error message.
(This used to be commit 11804521f9cf8cdfb8c1526ea81dfb8a2c16c194)

16 years agor6822: Use chsize if we don't have ftruncate. From Steven Edwards <steven_ed4153...
Jeremy Allison [Mon, 16 May 2005 18:45:19 +0000 (18:45 +0000)]
r6822: Use chsize if we don't have ftruncate. From Steven Edwards <steven_ed4153@yahoo.com>.
Jeremy.
(This used to be commit 2f78ba5ea71504c2c9bb44c36000b3cab1227f78)

16 years agor6820: Remove claim that password can be set with account creation (RPC).
John Terpstra [Mon, 16 May 2005 18:22:22 +0000 (18:22 +0000)]
r6820: Remove claim that password can be set with account creation (RPC).
(This used to be commit 2529d615a6fcd09e494b445ee7a4acec78005ac2)

16 years agor6785: deprecating the printer admin parameter
Gerald Carter [Sat, 14 May 2005 15:50:35 +0000 (15:50 +0000)]
r6785: deprecating the printer admin parameter
(This used to be commit 0826feafd7a7eec56093c303fcb250a61bef607f)

16 years agor6783: Fixes for Solaris 9.
John Terpstra [Sat, 14 May 2005 01:21:18 +0000 (01:21 +0000)]
r6783: Fixes for Solaris 9.
(This used to be commit cf4d9dc778b11b1c110945f74610e58ed81a839b)

16 years agor6782: rename for consistency
Gerald Carter [Fri, 13 May 2005 19:06:00 +0000 (19:06 +0000)]
r6782: rename for consistency
(This used to be commit 86724c5c5f4270be63cb119beb7c1cb041551439)

16 years agor6779: Use the SID in the user token for the %s expansion in 'afs username map'....
Volker Lendecke [Fri, 13 May 2005 12:21:35 +0000 (12:21 +0000)]
r6779: Use the SID in the user token for the %s expansion in 'afs username map'. This
fixes a rather weird problem where an algorithmic SID ended up as the
replacement for %s.

Volker
(This used to be commit 67dbc91b27aeeeab3cc1360137db1dd955728061)

16 years agor6777: Fix vfs_full_audit.c after jra's change.
Volker Lendecke [Fri, 13 May 2005 12:05:14 +0000 (12:05 +0000)]
r6777: Fix vfs_full_audit.c after jra's change.

Volker
(This used to be commit 16af4645822f1b3cf39c6dffbbb8ef6b1c9d7751)

16 years agor6774: Fix 2 memleaks
Volker Lendecke [Fri, 13 May 2005 09:21:21 +0000 (09:21 +0000)]
r6774: Fix 2 memleaks
(This used to be commit 6af57d4bae3ee0a28ab12294e813bb37b62e00f5)

16 years agor6772: Fix a valgrind error for samr_open_alias uncovered by one of John's test.
Volker Lendecke [Fri, 13 May 2005 09:18:50 +0000 (09:18 +0000)]
r6772: Fix a valgrind error for samr_open_alias uncovered by one of John's test.

Jerry, in query_aliasmem, set_aliasinfo and set_groupinfo (and possibly
others) need become_root()/unbecome_root() around the pdb calls. I'm not sure
I would do the access checks correctly, I would much rather leave that to
you.

Volker
(This used to be commit 88a67e96d1c54fddadbb6a33e4bc5fba884e58e6)

16 years agor6770: Fix bug 2705. Thanks, John, for beating my stuff :-)
Volker Lendecke [Fri, 13 May 2005 09:10:00 +0000 (09:10 +0000)]
r6770: Fix bug 2705. Thanks, John, for beating my stuff :-)

Volker
(This used to be commit f406dda687b457b8247151cf86d39f03608b5503)

16 years agor6769: Fix bugzilla #2538 and #2527. Unused variables found by Jason Mader.
Tim Potter [Fri, 13 May 2005 07:46:29 +0000 (07:46 +0000)]
r6769: Fix bugzilla #2538 and #2527.  Unused variables found by Jason Mader.
(This used to be commit 68b1c1f533e5c91634f5da21659c8e5793cb77f7)

16 years agor6757: test for existence of sys/un.h was missing, thus AF_LOCAL support was not...
Derrell Lipman [Thu, 12 May 2005 13:39:00 +0000 (13:39 +0000)]
r6757: test for existence of sys/un.h was missing, thus AF_LOCAL support was not found
(This used to be commit ea6340175114e977996e6ecd091fb866c1ec8e9b)

16 years agor6755: removing domain_sid() since it is not referenced anymore
Gerald Carter [Thu, 12 May 2005 13:09:33 +0000 (13:09 +0000)]
r6755: removing domain_sid() since it is not referenced anymore
(This used to be commit 8104149e6f490fa1a298e61becc8df01ddd92008)

16 years agor6753: Fixes bug 2663. cli_getattrE() and cli_setattrE() were not formatting or
Derrell Lipman [Thu, 12 May 2005 12:50:03 +0000 (12:50 +0000)]
r6753: Fixes bug 2663.  cli_getattrE() and cli_setattrE() were not formatting or
parsing the timestamp values correctly.  It turns out they were using the
incorrect function for formatting and parsing values.  Thanks to Satwik Hebbar
for reporting this and testing the patch.
(This used to be commit 9144778d09c1650a775fdd08767ac65189fad457)

16 years agor6748: With reconnects, state->connection->ldap_struct can change in smbldap_search
Volker Lendecke [Thu, 12 May 2005 08:33:27 +0000 (08:33 +0000)]
r6748: With reconnects, state->connection->ldap_struct can change in smbldap_search
and friends. This should be a fix for bug 2701. Thanks to jht for giving me
access to his box!

Volker
(This used to be commit 85320c12578f183d4ed0450949e0aee8d020e036)

16 years agor6743: Merge r6741 from 4_0
Volker Lendecke [Thu, 12 May 2005 06:43:12 +0000 (06:43 +0000)]
r6743: Merge r6741 from 4_0
(This used to be commit fdfce3292aa84b70e220961540126ef4873aebea)

16 years agor6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Tim Potter [Thu, 12 May 2005 01:44:09 +0000 (01:44 +0000)]
r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699.
(This used to be commit 16ddf2812266c314950f464a6f4d75d55de0f9d6)

16 years agor6715: We don't need to wrap the setfsinfo call in HAVE_QUOTA
Jeremy Allison [Tue, 10 May 2005 17:58:51 +0000 (17:58 +0000)]
r6715: We don't need to wrap the setfsinfo call in HAVE_QUOTA
as they'll just return ENOSYS if we don't. Add new CAP for
POSIX pathnames, prepare to allow FSINFO set for client POSIX
caps.
Jeremy.
(This used to be commit 4d99b57aedba8431ef5827d1e75413a10b35e1ce)

16 years agor6713: another talloc() fix. This time in pdb_xml.c
Gerald Carter [Tue, 10 May 2005 16:24:42 +0000 (16:24 +0000)]
r6713: another talloc() fix. This time in pdb_xml.c
(This used to be commit b0289d22587b0b532921a9b18c1efb767029bdcc)

16 years agor6712: BUG 2362: fix quota support on DragonFly (Joerg Sonnenberger <joerg@leaf.drago...
Gerald Carter [Tue, 10 May 2005 15:42:32 +0000 (15:42 +0000)]
r6712: BUG 2362: fix quota support on DragonFly (Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>)
(This used to be commit 0644a2abf646be35b345665558ca173004beedde)

16 years agor6706: * fix bug that prevented smbclient from creating directories
Gerald Carter [Tue, 10 May 2005 12:21:02 +0000 (12:21 +0000)]
r6706: * fix bug that prevented smbclient from creating directories
  on non-dfs paths
* add patch from James Peach to remove use of uninitialized
  variables
(This used to be commit c71f20f1ae5ccfd49cf81af0299c96fe27351222)

16 years agor6696: Another attempt to fix the (unreproducible for me) bug #2346 (read-only
Jeremy Allison [Tue, 10 May 2005 04:25:11 +0000 (04:25 +0000)]
r6696: Another attempt to fix the (unreproducible for me) bug #2346 (read-only
excel files). Ensures that any missing user ACL entry will be generated
from a union of all group permissions that contain the user.
Awaiting feedback from the reporters.
Jeremy.
(This used to be commit 874353e617b314429359e8e9516898f670bbf539)

16 years agor6686: strip the directory path from cups printin defaults
Gerald Carter [Tue, 10 May 2005 01:32:43 +0000 (01:32 +0000)]
r6686: strip the directory path from cups printin defaults
(This used to be commit 8fde2a80602d6f58974d0c0f6182abda58bbe0f4)

16 years agor6685: smbclient fixes
Gerald Carter [Mon, 9 May 2005 22:39:20 +0000 (22:39 +0000)]
r6685: smbclient fixes

* BUG 2680: copy files from an MSDFS win2k root share
* BUG 2688: re-implement support for the -P (--port) option
* support connecting to an 'msdfs proxy' share on a Samba server
(This used to be commit 9e3e473632fee669eda477d8cbe309b7109552ea)

16 years agor6684: BUG 1780: patch from Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra...
Gerald Carter [Mon, 9 May 2005 16:04:27 +0000 (16:04 +0000)]
r6684: BUG 1780: patch from Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM> to add kerberos supsport to smbspool
(This used to be commit 3abffdf3ad0fd2b4043bfb3d4cf9891393c9059e)

16 years agor6683: remove log messages about unknown specversions since I think we are fairly...
Gerald Carter [Mon, 9 May 2005 16:03:55 +0000 (16:03 +0000)]
r6683: remove log messages about unknown specversions since I think we are fairly safe at this point
(This used to be commit 6eaefa1a9a47421e20e346c652c31fd524db8878)