ira/wip.git
20 years agoSet vendor name.
Tim Potter [Fri, 7 Nov 2003 16:55:40 +0000 (16:55 +0000)]
Set vendor name.
(This used to be commit 9d8cacc4e6d6336455732286e5e6f90ac3f4ec49)

20 years agoSet vendor string.
Tim Potter [Fri, 7 Nov 2003 16:54:57 +0000 (16:54 +0000)]
Set vendor string.
(This used to be commit 0b28bed5058947ff95fdb64f4beb784c90d02afc)

20 years agoAdd vendor name to rpm preamble.
Tim Potter [Fri, 7 Nov 2003 16:53:25 +0000 (16:53 +0000)]
Add vendor name to rpm preamble.
(This used to be commit e68189ba863596ea92dc4fa199457bd93d322888)

20 years agofix for bug 680 (heads up). This gist is to map the
Gerald Carter [Fri, 7 Nov 2003 14:39:47 +0000 (14:39 +0000)]
fix for bug 680 (heads up).  This gist is to map the
UNIX entity foo to DOMAIN\foo instead of SERVER\foo
on members of a Samba domain when all UNIX accounts
are shared via NIS, et. al.

  * allow winbindd to match local accounts to domain SID
    when 'winbind trusted domains only = yes'

  * remove code in idmap_ldap that searches the user
    suffix and group suffix.  It's not needed and
    provides inconsistent functionality from the tdb backend.

This has been tested.  I'm still waiting on some more feedback
but This needs to be in 3.0.1pre2 for widespread use.
(This used to be commit ee272414e9965d7d550ba91d4e83997134dd51e6)

20 years agodon't allow setting of the guest account
Gerald Carter [Fri, 7 Nov 2003 14:32:25 +0000 (14:32 +0000)]
don't allow setting of the guest account
(This used to be commit e0eea3639425aa6f4b621cce6b33df9e9c67ba6d)

20 years agoImplement %i-Macro for the locally used IP address. With this you can again
Volker Lendecke [Fri, 7 Nov 2003 10:11:48 +0000 (10:11 +0000)]
Implement %i-Macro for the locally used IP address. With this you can again
have virtual hosts with different configurations on a single smbd even on port
445.

Volker
(This used to be commit 3a7c8c4f0e7fcfc2e20e1ad5e4b8e3c215ef1f0d)

20 years agoSimple rename of get_socket_addr to get_peer_addr and get_socket_name to
Volker Lendecke [Fri, 7 Nov 2003 09:03:02 +0000 (09:03 +0000)]
Simple rename of get_socket_addr to get_peer_addr and get_socket_name to
get_peer_name. This is to get closer to the getsockname/getpeername system
functions.

Next step will be the %i macro for the local IP address. I still want to play
%L-games in times of port 445.

Volker
(This used to be commit d7162122eaf5d897e5de51604e431bfbaa20e905)

20 years agoI agree with vl's #if 0 here, and am not quite sure what I was
Andrew Bartlett [Fri, 7 Nov 2003 08:36:29 +0000 (08:36 +0000)]
I agree with vl's #if 0 here, and am not quite sure what I was
thinking with regard to the original code.

Let's keep samba simple, and just remove it.

Andrew Bartlett
(This used to be commit 156cf8bede52e1d33be980fd8841367253a60b9e)

20 years agoRemove compleatly wrong comments. (There were correct, 2 years ago...)
Andrew Bartlett [Fri, 7 Nov 2003 08:34:43 +0000 (08:34 +0000)]
Remove compleatly wrong comments.  (There were correct, 2 years ago...)

Andrew Bartlett
(This used to be commit 256b85802e5820847fbad4305fcb0f5da2e51975)

20 years agoAdd newline to debug message
Andrew Bartlett [Fri, 7 Nov 2003 08:29:29 +0000 (08:29 +0000)]
Add newline to debug message
(This used to be commit e0868b978ec5debf6b91aeeb85aa1f404d07a34b)

20 years agoA fix to allow configure to find iconv on a number of systems including those
Richard Sharpe [Thu, 6 Nov 2003 23:37:58 +0000 (23:37 +0000)]
A fix to allow configure to find iconv on a number of systems including those
that don't have such support in glibc.
(This used to be commit de6d5f1d1025bec8991944060df50eb2602f7221)

20 years agoFinal round of printf warnings fixes for the moment.
Tim Potter [Thu, 6 Nov 2003 22:11:08 +0000 (22:11 +0000)]
Final round of printf warnings fixes for the moment.
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)

20 years agoFix bug #471. (const needed in lp_set_name_resolve_order).
Jeremy Allison [Thu, 6 Nov 2003 22:07:12 +0000 (22:07 +0000)]
Fix bug #471. (const needed in lp_set_name_resolve_order).
Jeremy.
(This used to be commit 3c19ac5f1c9e393780e57028808871dfdc77b170)

20 years agoIgnore tallocdump binary. Previous commit was printf warning fixes and an
Tim Potter [Thu, 6 Nov 2003 22:02:36 +0000 (22:02 +0000)]
Ignore tallocdump binary.  Previous commit was printf warning fixes and an
accidental commit of some other stuff I was working on.
(This used to be commit cfccf00816d873f6d7b298e15536ec423c2cfe03)

20 years agoUndo accidentally committed stuff.
Tim Potter [Thu, 6 Nov 2003 21:55:48 +0000 (21:55 +0000)]
Undo accidentally committed stuff.
(This used to be commit 0a79519bc4b92b2f6e88b921d5ede761cc8ee2af)

20 years agoIgnore tallocdump binary.
Tim Potter [Thu, 6 Nov 2003 21:51:08 +0000 (21:51 +0000)]
Ignore tallocdump binary.
(This used to be commit addeb1c6c90faf5842db4a75f8db8d2325905b03)

20 years agorun krb5 logins through the username map if the winbindd lookup fails; bug 698
Gerald Carter [Thu, 6 Nov 2003 17:28:44 +0000 (17:28 +0000)]
run krb5 logins through the username map if the winbindd lookup fails; bug 698
(This used to be commit efe257bce2020e94d00946a27e2e586c82a1480f)

20 years agopatch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570
Gerald Carter [Thu, 6 Nov 2003 17:23:47 +0000 (17:23 +0000)]
patch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570
(This used to be commit 486f495ea7decb4abfdb4751ae124b036f3e5d16)

20 years agoUndo last commit to get things building again.
Tim Potter [Thu, 6 Nov 2003 16:58:33 +0000 (16:58 +0000)]
Undo last commit to get things building again.
(This used to be commit d3af6b443d9f52b007a1c022908d767edf238b9e)

20 years agobug 624; make sure to set the GUEST SID rather than using the PDB_DEFAULT flag
Gerald Carter [Thu, 6 Nov 2003 05:46:06 +0000 (05:46 +0000)]
bug 624; make sure to set the GUEST SID rather than using the PDB_DEFAULT flag
(This used to be commit ccc7634b1c4b7813a1d09af93572b1209e72dffb)

20 years agoApply the patch to fix iconv detection for FreeBSD to the Samba 3.0.0 branch
Richard Sharpe [Thu, 6 Nov 2003 05:44:55 +0000 (05:44 +0000)]
Apply the patch to fix iconv detection for FreeBSD to the Samba 3.0.0 branch
as well.
(This used to be commit 44be80e4883c8578b98ec02ac422c97229b063c5)

20 years agoCompile tdbdump by default.
Volker Lendecke [Wed, 5 Nov 2003 17:38:15 +0000 (17:38 +0000)]
Compile tdbdump by default.

Volker
(This used to be commit b628ba0fc00585cbe1443e0b146ee673f25bc50f)

20 years agoPatch from James Henstridge to allow rpcclient adddriver command to specify
Tim Potter [Wed, 5 Nov 2003 16:40:13 +0000 (16:40 +0000)]
Patch from James Henstridge to allow rpcclient adddriver command to specify
printer driver version.  Closes bug #514.
(This used to be commit c5865e3dfe0166a4714129a3ddfe1c39218e28f0)

20 years agomake sure that we expand %H (from vl); bug 612
Gerald Carter [Wed, 5 Nov 2003 04:34:31 +0000 (04:34 +0000)]
make sure that we expand %H (from vl); bug  612
(This used to be commit a77f5924304d03d8033d1ef5f6526373f5b67aa3)

20 years agoadded note about stripping comments from LDIF; bug 642
Gerald Carter [Wed, 5 Nov 2003 04:17:21 +0000 (04:17 +0000)]
added note about stripping comments from LDIF; bug 642
(This used to be commit 3f67b2bbfdbedc76d7265fc5333d5f71577d9c7b)

20 years agoFix coredump in cli_get_backup_list.
Jeremy Allison [Wed, 5 Nov 2003 00:17:14 +0000 (00:17 +0000)]
Fix coredump in cli_get_backup_list.
Jeremy.
(This used to be commit 29413db303d30d28c2fb0cc6e6e963e725ad4101)

20 years agoFix debug message warning.
Jeremy Allison [Wed, 5 Nov 2003 00:16:01 +0000 (00:16 +0000)]
Fix debug message warning.
Jeremy.
(This used to be commit 154793981a1b2aea2703ef4da4764a322bf90ca0)

20 years agoFix for bug #771. Fix packet length for browse list reply.
Jeremy Allison [Wed, 5 Nov 2003 00:12:49 +0000 (00:12 +0000)]
Fix for bug #771. Fix packet length for browse list reply.
Jeremy.
(This used to be commit d085c94dacffbe8199e83315340e4f60d1f0b9a5)

20 years agoFix crash bug in smbclient completion. Closes bug #659.
Tim Potter [Tue, 4 Nov 2003 22:38:58 +0000 (22:38 +0000)]
Fix crash bug in smbclient completion.  Closes bug #659.
(This used to be commit 4480058d85ebe9175c4720c18100b459877dbd07)

20 years agoAdd ldaplibs to pdbedit link line. Fixes bug #651.
Tim Potter [Tue, 4 Nov 2003 21:17:22 +0000 (21:17 +0000)]
Add ldaplibs to pdbedit link line.  Fixes bug #651.
(This used to be commit e306c962685c8b17df520aebccf6f0d8e3d7ce3c)

20 years agoUse the actual size of the buffer in strftime instead of a made up value
Tim Potter [Tue, 4 Nov 2003 20:09:44 +0000 (20:09 +0000)]
Use the actual size of the buffer in strftime instead of a made up value
which just happens to be less than sizeof(fstring).  Closes #713.
(This used to be commit 761e13da4ef8294f0b131ad7f672d023b0d222f6)

20 years agoFix typo in debug statement.
Tim Potter [Tue, 4 Nov 2003 19:53:37 +0000 (19:53 +0000)]
Fix typo in debug statement.
(This used to be commit 66e5043553939be2b124bec8581f08b01fdf9c1e)

20 years agoGenerate 64-bit clean printf's for build options.
Tim Potter [Tue, 4 Nov 2003 19:47:40 +0000 (19:47 +0000)]
Generate 64-bit clean printf's for build options.
(This used to be commit 1814c29b7d5c2ab25f209fba0afb5c6d175a87d1)

20 years agoFix for bug #703, try lowercase netgroups lookups.
Jeremy Allison [Tue, 4 Nov 2003 18:24:33 +0000 (18:24 +0000)]
Fix for bug #703, try lowercase netgroups lookups.
Jeremy.
(This used to be commit 8b06385e008a9433fa6efb941b997f7d6b182a65)

20 years agoFix missing bracket in quota quote - my fault.
Tim Potter [Tue, 4 Nov 2003 14:59:27 +0000 (14:59 +0000)]
Fix missing bracket in quota quote - my fault.
(This used to be commit fc30b6b5473124bad9c2c30b604bc21c9de258c1)

20 years agoUse a static string instead of malloced one in winbind_{off,on}() utility
Tim Potter [Tue, 4 Nov 2003 05:49:23 +0000 (05:49 +0000)]
Use a static string instead of malloced one in winbind_{off,on}() utility
functions.
(This used to be commit 7710232ba21305a1e3c9523ace82a5a419526b50)

20 years agoFix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy Allison [Mon, 3 Nov 2003 21:05:47 +0000 (21:05 +0000)]
Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy.
(This used to be commit 119a89246bf84cb98b76cf3777c039fa8eb644f2)

20 years agoremoving #include <compat.h> in hopes to avoid problems with apache header files...
Gerald Carter [Mon, 3 Nov 2003 19:22:32 +0000 (19:22 +0000)]
removing #include <compat.h> in hopes to avoid problems with apache header files; will watch the build farm on this to make sure things don't blow up
(This used to be commit e92583cecd79adea25caedd1599ac8f36733a923)

20 years agoAC_CHECK_MEMBER seems to have problems for some versions of autoconf, at least
Volker Lendecke [Mon, 3 Nov 2003 18:11:00 +0000 (18:11 +0000)]
AC_CHECK_MEMBER seems to have problems for some versions of autoconf, at least
autoconf-2.53 on SLES8 does not correctly find the keyblock.

Volker
(This used to be commit c4f36a250a5126dac0d2f6d395d75a2437c8e56d)

20 years agoFix more 64-bit printf warnings.
Tim Potter [Mon, 3 Nov 2003 14:34:25 +0000 (14:34 +0000)]
Fix more 64-bit printf warnings.
(This used to be commit 23443e3aa079710221557e18158d0ddb8ff48a36)

20 years agoFix some uninitialised variable warnings.
Tim Potter [Mon, 3 Nov 2003 14:21:10 +0000 (14:21 +0000)]
Fix some uninitialised variable warnings.
(This used to be commit 68945027b5dc6b5e1aee13e4df4d11a34e42a3a9)

20 years agoPrintf fixes for 64-bit size_t.
Tim Potter [Sun, 2 Nov 2003 17:10:12 +0000 (17:10 +0000)]
Printf fixes for 64-bit size_t.
(This used to be commit 8e2c543ebf65e24e73433f69b1c281e1558e9080)

20 years agoTidy up calls to uname so as not to produce output on stderr if
Tim Potter [Sun, 2 Nov 2003 16:54:21 +0000 (16:54 +0000)]
Tidy up calls to uname so as not to produce output on stderr if
the command line argument being called isn't valid.
(This used to be commit d43922eade02d1826a108b45607f5776266fd05b)

20 years agoUse putenv() instead of setenv() in the winbind_{off,on}() functions. Some
Tim Potter [Sun, 2 Nov 2003 16:22:28 +0000 (16:22 +0000)]
Use putenv() instead of setenv() in the winbind_{off,on}() functions.  Some
platforms don't have setenv().
(This used to be commit a8b487c4cb5d181e59755f49063512b2729bccb5)

20 years agoAdd prototype for smbc_remove_unused_server() to fix compiler warning.
Tim Potter [Sun, 2 Nov 2003 14:15:36 +0000 (14:15 +0000)]
Add prototype for smbc_remove_unused_server() to fix compiler warning.
Bug #706.
(This used to be commit eaf69b1ae7883573830244664cb0a81661541d92)

20 years agoCast to fix warning on Solaris sendfile - check buildfarm output
Tim Potter [Sun, 2 Nov 2003 13:59:37 +0000 (13:59 +0000)]
Cast to fix warning on Solaris sendfile - check buildfarm output
to see if this works!  Bug #706.
(This used to be commit 67ab91825db9b81b8b4f35e86a7eede0c7df5621)

20 years agoWhoops - missed a place where HAVE_STAT_ST_{BLOCKS,BLOCKSIZE} guards
Tim Potter [Sun, 2 Nov 2003 04:14:25 +0000 (04:14 +0000)]
Whoops - missed a place where HAVE_STAT_ST_{BLOCKS,BLOCKSIZE} guards
should be present.
(This used to be commit 08aa3f712c193aac5ad3d30e720c218c642738c0)

20 years agoRe-order link command for smbd, rpcclient and smbpasswd to ensure $LDFLAGS
Tim Potter [Sun, 2 Nov 2003 04:05:47 +0000 (04:05 +0000)]
Re-order link command for smbd, rpcclient and smbpasswd to ensure $LDFLAGS
occurs before any library specification.  Closes bug #661.
(This used to be commit 7af7fa9be22b4406c83fa24c46ed8af1a7bcf173)

20 years agoThis binds the nmbd sending socket to the 'socket address'.
Volker Lendecke [Sat, 1 Nov 2003 17:41:16 +0000 (17:41 +0000)]
This binds the nmbd sending socket to the 'socket address'.

Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that
time. Now it hit me at a customer's site...

Volker
(This used to be commit a0e741aa684c756943969bdb4be20a02e588d27c)

20 years agoprompt for password when invoking --set-auth-user and no pw
Gerald Carter [Fri, 31 Oct 2003 20:29:18 +0000 (20:29 +0000)]
prompt for password when invoking --set-auth-user and no pw
is given (patch from Tom Dickson)
(This used to be commit ca18ec0f901330c14a68c8a44d2a88a42bb7d92c)

20 years agoPatch from Aurélien Degrémont <adegremont@idealx.com>. "entry" is dependent
Jeremy Allison [Fri, 31 Oct 2003 19:16:59 +0000 (19:16 +0000)]
Patch from Aurélien Degrémont <adegremont@idealx.com>. "entry" is dependent
on "result", don't free result first.
Jeremy.
(This used to be commit c61a230c5ab7250c0812b422e0a533fbf5efbf17)

20 years agoSync up formatting of the va list stuff - the HEAD version was nicer.
Tim Potter [Fri, 31 Oct 2003 01:30:02 +0000 (01:30 +0000)]
Sync up formatting of the va list stuff - the HEAD version was nicer.
(This used to be commit 6917391fbbe90fd7f854d05e18f4ceb23c68d78a)

20 years agoIf nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx...
Jeremy Allison [Thu, 30 Oct 2003 20:09:13 +0000 (20:09 +0000)]
If nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy.
(This used to be commit aa668a0206b027923a333417309cb483c5a64265)

20 years agobug 696; check for an invalid fid before dereferencing the fsp pointer
Gerald Carter [Thu, 30 Oct 2003 15:57:52 +0000 (15:57 +0000)]
bug 696; check for an invalid fid before dereferencing the fsp pointer
(This used to be commit f5229d5d62510f981bd08ad8139675b50421e042)

20 years agoCheck for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy Allison [Thu, 30 Oct 2003 00:07:48 +0000 (00:07 +0000)]
Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy.
(This used to be commit ce1024cc10e798d4ed3bc7f6358bc4ebe9737830)

20 years agoFixes to check for wraps which could cause coredumps.
Jeremy Allison [Wed, 29 Oct 2003 21:28:00 +0000 (21:28 +0000)]
Fixes to check for wraps which could cause coredumps.
Jeremy.
(This used to be commit ad06edd1bb58cc5e2c38a364b1af96a933b770af)

20 years agoCompile fix for tdbbackup when Samba needs to override non-C99
Tim Potter [Wed, 29 Oct 2003 06:17:33 +0000 (06:17 +0000)]
Compile fix for tdbbackup when Samba needs to override non-C99
compliant implementations of snprintf.
(This used to be commit a38ab77b70c0918be411a6c299a23b5735393a2d)

20 years agoparameterise the listen backlog in smbd and make it larger by default. A backlog...
Andrew Tridgell [Wed, 29 Oct 2003 04:58:48 +0000 (04:58 +0000)]
parameterise the listen backlog in smbd and make it larger by default. A backlog of 5 is way too small these days.
(This used to be commit bbb92d2b0ea6bc10c71bed62924bfc95c11172a5)

20 years agoDon't log at level zero when chdir fails. Ensure correct error message is returned.
Jeremy Allison [Tue, 28 Oct 2003 18:32:03 +0000 (18:32 +0000)]
Don't log at level zero when chdir fails. Ensure correct error message is returned.
Jeremy.
(This used to be commit 26bfe37a10f7337acb8c5ac0e04fac7a8dddc769)

20 years agoUpdate WHATSNEW.txt with proper version from release branch
Alexander Bokovoy [Tue, 28 Oct 2003 11:04:08 +0000 (11:04 +0000)]
Update WHATSNEW.txt with proper version from release branch
(This used to be commit 4534ba5a9ff5fd0332267d0542b5285e5a732a4f)

20 years agoFix for bug #667. DFS filenames can now have arbitrary case.
Jeremy Allison [Tue, 28 Oct 2003 00:51:21 +0000 (00:51 +0000)]
Fix for bug #667. DFS filenames can now have arbitrary case.
Jeremy.
(This used to be commit 74148111e16a863d5a33511e5b15632a736d7e99)

20 years agoRemove trailing comma on typedef enum. albert chin (china@thewrittenword.com)
Tim Potter [Mon, 27 Oct 2003 23:43:15 +0000 (23:43 +0000)]
Remove trailing comma on typedef enum.  albert chin (china@thewrittenword.com)
(This used to be commit 67dd1c43664db7e2eec658da0ffefc3cdb5471bb)

20 years agoMissing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam...
Jeremy Allison [Mon, 27 Oct 2003 20:09:15 +0000 (20:09 +0000)]
Missing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
Jeremy.
(This used to be commit 8b9b635bd2759642c25fe0cea5eefbbe5af44193)

20 years agoRemove some unused variables uncovered by the build farm.
Richard Sharpe [Mon, 27 Oct 2003 06:51:39 +0000 (06:51 +0000)]
Remove some unused variables uncovered by the build farm.
(This used to be commit 084e4678c0876ebd6e756192866103ae037f3258)

20 years agoPut in a work-around for ENOTSUP not being defined on OpenBSD.
Richard Sharpe [Sat, 25 Oct 2003 04:13:32 +0000 (04:13 +0000)]
Put in a work-around for ENOTSUP not being defined on OpenBSD.
(This used to be commit ca3d98d08bfe2c5c8a0f1a0d17160800f85d84b7)

20 years agoApply these patches as well ... not sure if they all build. They don't on
Richard Sharpe [Fri, 24 Oct 2003 20:24:05 +0000 (20:24 +0000)]
Apply these patches as well ... not sure if they all build. They don't on
FreeBSD 4.3. They might on Linux.
(This used to be commit 1f115c95d635377a36c0a3a1f56b4b8def04fd7e)

20 years agoApply latest of Derrell Lippman's changes to libsmbclient.
Richard Sharpe [Fri, 24 Oct 2003 18:58:41 +0000 (18:58 +0000)]
Apply latest of Derrell Lippman's changes to libsmbclient.
(This used to be commit 84e620e5ba65c040df1c0ebdcf39fa5648dd37d9)

20 years agoFix one other place VA_COPY is defined ... should fix NetBSD build.
Richard Sharpe [Fri, 24 Oct 2003 17:58:30 +0000 (17:58 +0000)]
Fix one other place VA_COPY is defined ... should fix NetBSD build.
(This used to be commit fb69597629bad305f227b5bab62e0f170d3c164c)

20 years agoCommit Derrell's changes to libsmbclient plus a small change to configure.in
Richard Sharpe [Fri, 24 Oct 2003 17:01:19 +0000 (17:01 +0000)]
Commit Derrell's changes to libsmbclient plus a small change to configure.in
to see if SGI and other platforms will build.
(This used to be commit cf9311044c372695592db1b95b814b0870b8cf29)

20 years agoSome spelling mistakes in aclocal.m4 and the va_copy fixups in configure.in
Richard Sharpe [Fri, 24 Oct 2003 16:08:03 +0000 (16:08 +0000)]
Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.in
and lib/snprintf. Check for va_copy first, and then look for __va_copy.
(This used to be commit 8b592740b6294555c461d7eee003e2bd5f4352a4)

20 years agoAdd shutdown abort try over initshutdown pipe first, then fall back to
Jim McDonough [Fri, 24 Oct 2003 14:03:18 +0000 (14:03 +0000)]
Add shutdown abort try over initshutdown pipe first, then fall back to
winreg pipe if it doesn't work.  Fixes bug #534.

I will go back and add the same logic for the shutdown itself, even though
that works so far against win2k (haven't tested all win clients).
(This used to be commit e660b04e8f2446bb8a6590e9afcb5ab49f90a701)

20 years agoAdd initshutdown pipe commands to rpcclient. Second part of fix to bug
Jim McDonough [Fri, 24 Oct 2003 13:49:29 +0000 (13:49 +0000)]
Add initshutdown pipe commands to rpcclient.  Second part of fix to bug
#534
(This used to be commit 4e86243ea1d4bbe96720caaaf02300f5e15bee5a)

20 years agoNew files for support of initshutdown pipe. Win2k doesn't respond properly
Jim McDonough [Fri, 24 Oct 2003 13:38:16 +0000 (13:38 +0000)]
New files for support of initshutdown pipe.  Win2k doesn't respond properly
to all requests on the winreg pipe, so we need to handle this new pipe.

First part of fix for bug #534
(This used to be commit 0e10a05dff6828630bdaa9c350e19eec8621e776)

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Fri, 24 Oct 2003 13:38:14 +0000 (13:38 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit e569418861a867437cd5e2cce87ad82e752da3fb)

20 years agoNew files for support of initshutdown pipe. Win2k doesn't respond properly
Jim McDonough [Fri, 24 Oct 2003 13:38:13 +0000 (13:38 +0000)]
New files for support of initshutdown pipe.  Win2k doesn't respond properly
to all requests on the winreg pipe, so we need to handle this new pipe.

First part of fix for bug #534
(This used to be commit 532fab74c12d8c55872c2bad2abead2647f919d7)

20 years agoCheck for va_copy before you check for __va_copy, since va_copy is the
Richard Sharpe [Fri, 24 Oct 2003 05:47:39 +0000 (05:47 +0000)]
Check for va_copy before you check for __va_copy, since va_copy is the
actual standard, and __va_copy was the proposed standard.
(This used to be commit 4ab7947e601e61cacd7ff541ee881850d9808387)

20 years agoAdd some debugs in the error paths for tdb_brlock() to help track down
Tim Potter [Fri, 24 Oct 2003 05:44:19 +0000 (05:44 +0000)]
Add some debugs in the error paths for tdb_brlock() to help track down
a locking problem on HPUX.
(This used to be commit 2d03d81f753fd819086d24a92eec5503f70246a0)

20 years agoAndrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy Allison [Fri, 24 Oct 2003 01:19:23 +0000 (01:19 +0000)]
Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
(This used to be commit 2d09d8c9d973f5f414d31f749db12328ff315de7)

20 years agoAndrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy Allison [Fri, 24 Oct 2003 01:18:56 +0000 (01:18 +0000)]
Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
(This used to be commit 46e66ee950eee035ad008c189cd2378f734af605)

20 years agoMerge from 3_0:
Volker Lendecke [Thu, 23 Oct 2003 16:51:08 +0000 (16:51 +0000)]
Merge from 3_0:

After a phonecall with jra finally commit this.

This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.

I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.

Volker
(This used to be commit 8a75e2dfb6ee9099e7f9a970c522e71ab144d919)

20 years agoAfter a phonecall with jra finally commit this.
Volker Lendecke [Thu, 23 Oct 2003 16:49:46 +0000 (16:49 +0000)]
After a phonecall with jra finally commit this.

This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.

I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.

Volker
(This used to be commit 556c62f93535c606122b22e7e843d9da9a1cd438)

20 years agoFix bug 451. Stop net -P from prompting for machine account password.
Jim McDonough [Thu, 23 Oct 2003 14:33:21 +0000 (14:33 +0000)]
Fix bug 451.  Stop net -P from prompting for machine account password.
Based on work by Ken Cross (kcross@nssolutions.com).
(This used to be commit 32aa749bf1328e43af629ade30b3fdc11dd5e3ec)

20 years agoFix bug 451. Stop net -P from prompting for machine account password.
Jim McDonough [Thu, 23 Oct 2003 14:33:19 +0000 (14:33 +0000)]
Fix bug 451.  Stop net -P from prompting for machine account password.
Based on work by Ken Cross (kcross@nssolutions.com).
(This used to be commit 8ef7ac22ef1a60dca0a2d01dc6ff4ba14bc1549a)

20 years agoVolker's fix for bug #668. Change the \n after the password prompt to go
Jim McDonough [Thu, 23 Oct 2003 13:47:21 +0000 (13:47 +0000)]
Volker's fix for bug #668.  Change the \n after the password prompt to go
to tty instead of stdout.
(This used to be commit fb503bb418fcbee20d2218650904b26b512106ed)

20 years agoVolker's fix for bug #668. Change the \n after the password prompt to go
Jim McDonough [Thu, 23 Oct 2003 13:47:17 +0000 (13:47 +0000)]
Volker's fix for bug #668.  Change the \n after the password prompt to go
to tty instead of stdout.
(This used to be commit 3cec478b82359c527065c3a8d44daae96b7ac57e)

20 years agoMerge from 3_0:
Volker Lendecke [Thu, 23 Oct 2003 13:46:32 +0000 (13:46 +0000)]
Merge from 3_0:

According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)

Volker
(This used to be commit 73fc6da6cf2b52f65c3dbfb7705899e6cbea447a)

20 years agoAccording to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
Volker Lendecke [Thu, 23 Oct 2003 13:45:48 +0000 (13:45 +0000)]
According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)

Volker
(This used to be commit e5dbf2441c2ce7e7cb62f2538786e38bb8c8bdd9)

20 years agoApply the changes to libsmbclient that derrell has contributed. Fix some
Richard Sharpe [Thu, 23 Oct 2003 06:35:45 +0000 (06:35 +0000)]
Apply the changes to libsmbclient that derrell has contributed. Fix some
of the problems with this.

From: Derrell.Lipman@unwireduniverse.com
(This used to be commit 8e3d2708c5e5a9968aeb9a6fe6c828aa8a5b22a9)

20 years agoPut strcasecmp/strncasecmp on the banned list (except for needed calls
Jeremy Allison [Wed, 22 Oct 2003 23:38:20 +0000 (23:38 +0000)]
Put strcasecmp/strncasecmp on the banned list (except for needed calls
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at
all and I really want to discourage that.
Jeremy.
(This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)

20 years agoPut strcasecmp/strncasecmp on the banned list (except for needed calls
Jeremy Allison [Wed, 22 Oct 2003 23:38:18 +0000 (23:38 +0000)]
Put strcasecmp/strncasecmp on the banned list (except for needed calls
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at
all and I really want to discourage that.
Jeremy.
(This used to be commit 5c050a735f86927c7ef2a98b6f3a56abe39e4674)

20 years agoBe sure referent ID is updated for incoming structures, too.
Jim McDonough [Wed, 22 Oct 2003 20:59:46 +0000 (20:59 +0000)]
Be sure referent ID is updated for incoming structures, too.
(This used to be commit 00e0aba2cf97e686a0b6b4d7bab50afbc5e97ac1)

20 years agoFix segfault in mount.cifs helper when there is no options specified during mount
Alexander Bokovoy [Wed, 22 Oct 2003 15:52:36 +0000 (15:52 +0000)]
Fix segfault in mount.cifs helper when there is no options specified during mount
(This used to be commit a3b67626018ade2a823311b65202ab7f488ca0a7)

20 years agoFix segfault in mount.cifs helper when there is no options specified during mount
Alexander Bokovoy [Wed, 22 Oct 2003 15:41:08 +0000 (15:41 +0000)]
Fix segfault in mount.cifs helper when there is no options specified during mount
(This used to be commit fb87388a9fe959ecb01d88e2f974b077bac0a34d)

20 years agoMerge from 3_0:
Volker Lendecke [Wed, 22 Oct 2003 07:31:17 +0000 (07:31 +0000)]
Merge from 3_0:

In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.

Volker
(This used to be commit 198b01fc54ce7a5beeddc680b30da291639b4eda)

20 years agoIn cli_lsa_lookup_sids don't leave the domain field uninitialized if
Volker Lendecke [Wed, 22 Oct 2003 07:29:18 +0000 (07:29 +0000)]
In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.

Volker
(This used to be commit 1337338522242a430b3c5655ffdff3f701fbfcce)

20 years agoFix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
Jeremy Allison [Tue, 21 Oct 2003 23:14:41 +0000 (23:14 +0000)]
Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
Jeremy.
(This used to be commit 7eaae388b35cb3d20cdd968b00d65c88fcee5878)

20 years agoFix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
Jeremy Allison [Tue, 21 Oct 2003 23:14:39 +0000 (23:14 +0000)]
Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
Jeremy.
(This used to be commit 8458f4c52f32ef192287ddb8371638f42a370c6f)

20 years agoPatch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
Jeremy Allison [Tue, 21 Oct 2003 21:19:00 +0000 (21:19 +0000)]
Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
when reverse connecting back to a client for printer notify.
Jeremy.
(This used to be commit 06aa434c3fdb139e3f3143d19413556945cbcd4f)

20 years agoPatch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
Jeremy Allison [Tue, 21 Oct 2003 21:18:58 +0000 (21:18 +0000)]
Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
when reverse connecting back to a client for printer notify.
Jeremy.
(This used to be commit 7fde193efeb856ec325d5d563f1e710c45dc65d7)

20 years agoMerge tridge's AIX fixes.
Jeremy Allison [Tue, 21 Oct 2003 20:17:42 +0000 (20:17 +0000)]
Merge tridge's AIX fixes.
Jeremy.
(This used to be commit 96cefb4542debd8902d9bc0cd09bb01c7a41cc69)