12 years agor11135: should fix seg fault in addprinter code reported by Marcin. Allocate memory...
Gerald Carter [Tue, 18 Oct 2005 02:37:13 +0000 (02:37 +0000)]
r11135: should fix seg fault in addprinter code reported by Marcin.  Allocate memory in convert_printer_info() if necessary
(This used to be commit 7ada5da8e94a08a9a3e488172fa04ce688882299)

12 years agor11133: updating maintainers file
Gerald Carter [Tue, 18 Oct 2005 02:36:01 +0000 (02:36 +0000)]
r11133: updating maintainers file
(This used to be commit 57b038c630ad2008814ccde917886f30c8a73ac1)

12 years agor11131: updating indent resource file from trunk
Gerald Carter [Tue, 18 Oct 2005 02:33:07 +0000 (02:33 +0000)]
r11131: updating indent resource file from trunk
(This used to be commit 6f32785bcdb99a630e7c94e3f03275c1ca324b11)

12 years agor11130: r10092@cabra: derrell | 2005-10-17 15:29:03 -0400
Derrell Lipman [Mon, 17 Oct 2005 19:29:11 +0000 (19:29 +0000)]
r11130:  r10092@cabra:  derrell | 2005-10-17 15:29:03 -0400
 let's now actually add the new test file
(This used to be commit b58237f98d924752a45f689d7a9fd2e8e447c100)

12 years agor11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400
Derrell Lipman [Mon, 17 Oct 2005 19:27:19 +0000 (19:27 +0000)]
r11129:  r10090@cabra:  derrell | 2005-10-17 15:26:27 -0400
 added example to read a file and test download time
(This used to be commit 4fad0c49b5bf7819d0f9782b60369c5d078c5854)

12 years agor11127: patch from S Murthy Kambhampaty <smk_va@yahoo.com> to not start nmbd is ...
Gerald Carter [Mon, 17 Oct 2005 17:10:44 +0000 (17:10 +0000)]
r11127: patch from S Murthy Kambhampaty <smk_va@yahoo.com> to not start nmbd is 'disable netbios = yes'
(This used to be commit decaf8da598b09ea4c5382dc1f6c4be1664e20c7)

12 years agor11126: adding libmsrpc to solaris, redhat, and fedora packaging
Gerald Carter [Mon, 17 Oct 2005 16:58:53 +0000 (16:58 +0000)]
r11126: adding libmsrpc to solaris, redhat, and fedora packaging
(This used to be commit c3bb9f6514eba302929bb7c8edea396a547bdf28)

12 years agor11125: remove unused variables
Gerald Carter [Mon, 17 Oct 2005 16:55:23 +0000 (16:55 +0000)]
r11125: remove unused variables
(This used to be commit d404919d926be6bc4e21d7d5aaf2dfe795ba2726)

12 years agor11124: Commit Chris' fixes for libmsrpc after the rpc_client
Gerald Carter [Mon, 17 Oct 2005 16:44:26 +0000 (16:44 +0000)]
r11124: Commit Chris' fixes for libmsrpc after the rpc_client
rewrite.  His comments:

        I've gotten the libmsrpc code to work with TRUNK.
        I've put the patch at:

        It is from revision 11093.

        I also fixed a minor bug in the svcctl code, the timeout
        parameter for all the control functions was working
        in milliseconds instead of seconds.

Also fixed bug in Makefile when building libmsrpc.a
(This used to be commit d3a52900ec223316779e59a13cea87ecb500bccc)

12 years agor11123: * patches from Brian Moran for creating new eventlog
Gerald Carter [Mon, 17 Oct 2005 15:53:12 +0000 (15:53 +0000)]
r11123: * patches from Brian Moran for creating new eventlog
  source keys
* my patches to get registry utility functions linking
  with eventlogadm tool
(This used to be commit 24e7663086f5d15c7e3fd8069667169b91d1acda)

12 years agor11079: Narrowing down on the #1828 PPC bug. The PPC client sends an
Jeremy Allison [Sat, 15 Oct 2005 00:46:38 +0000 (00:46 +0000)]
r11079: Narrowing down on the #1828 PPC bug. The PPC client sends an
initial NTLMSSP negotiate blob of only 16 bytes - no strings
added ! (So don't try parsing them).
(This used to be commit e15b758f5fa6f500214bb60599a89f3c795c9fed)

12 years agor11075: Still working on bug #1828, PPC hell. The PPC client sends the
Jeremy Allison [Fri, 14 Oct 2005 21:59:36 +0000 (21:59 +0000)]
r11075: Still working on bug #1828, PPC hell. The PPC client sends the
NTLMSSP client and domain strings as Unicode, even when setting
flags as OEM. Cope with this.
(This used to be commit 458da8987e8f406cdfd5bd602b3c3cf315675725)

12 years agor11073: safety checks on pointers to prevent crashing when converting REG_MULTI_SZ
Gerald Carter [Fri, 14 Oct 2005 21:46:32 +0000 (21:46 +0000)]
r11073: safety checks on pointers to prevent crashing when converting REG_MULTI_SZ
(This used to be commit db8d85aa1ec5c486f061f97627b6b18a0e17cd34)

12 years agor11072: add routines for converting REG_MULTI_SZ to and from char**
Gerald Carter [Fri, 14 Oct 2005 21:43:13 +0000 (21:43 +0000)]
r11072: add routines for converting REG_MULTI_SZ to and from char**
(This used to be commit e858eed813b5a9a8d57262142c5bbde2951b5590)

12 years agor11069: make sure to zero memory when allocating a a REGVAL_CTR struct
Gerald Carter [Fri, 14 Oct 2005 21:09:56 +0000 (21:09 +0000)]
r11069: make sure to zero memory when allocating a a REGVAL_CTR struct
(This used to be commit bfdcbb7572352b3a3b7941249438a927eb91e18d)

12 years agor11066: adding eventlogadm to packaging files
Gerald Carter [Fri, 14 Oct 2005 18:54:12 +0000 (18:54 +0000)]
r11066: adding eventlogadm to packaging files
(This used to be commit 081a2f17fc1f7d5830811fa54125bffcbd4a2f54)

12 years agor11065: rename wr_eventlog to eventlogadm
Gerald Carter [Fri, 14 Oct 2005 18:38:03 +0000 (18:38 +0000)]
r11065: rename wr_eventlog to eventlogadm
(This used to be commit 9a63b52efaf0b49982d56dc7c301f59bbb076a6e)

12 years agor11063: merging missing error code for event logs
Gerald Carter [Fri, 14 Oct 2005 17:32:37 +0000 (17:32 +0000)]
r11063: merging missing error code for event logs
(This used to be commit 1aeb7950d36b8faee529cb6dcd36c05809cfe1d0)

12 years agor11060: merging new eventlog code from trunk
Gerald Carter [Fri, 14 Oct 2005 16:07:00 +0000 (16:07 +0000)]
r11060: merging new eventlog code from trunk
(This used to be commit 1bcf7e82ede63a851a244162a3b939373787b693)

12 years agor11054: patch from Brian Moran; fix error code return in _srv_net_name_validate()
Gerald Carter [Fri, 14 Oct 2005 14:51:48 +0000 (14:51 +0000)]
r11054: patch from Brian Moran; fix error code return in _srv_net_name_validate()
(This used to be commit b4e78520ccb8c896a52e3f3e7a52e19e3b2c33bf)

12 years agor10979: After discussions on IRC about profile shares,
Jeremy Allison [Fri, 14 Oct 2005 01:09:37 +0000 (01:09 +0000)]
r10979: After discussions on IRC about profile shares,
added new parameter : map readonly = [yes|no|permissions]
If yes: map inverse of user "w" bit to mean readonly.
If no: never set DOS readonly bit.
If permissions: check file permissions for user and set readonly
bit if the current user cannot write.
If store dos attributes is set to yes then this parameter
is ignored.
(This used to be commit da4238d18c7a57d1264db8517fb027a10a11baed)

12 years agor10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.
Günther Deschner [Thu, 13 Oct 2005 23:03:30 +0000 (23:03 +0000)]
r10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.

(This used to be commit 380c6133240f8cb2da79453d08e77778d157d176)

12 years agor10976: Fix the build with openssl-0.9.8a.
Günther Deschner [Thu, 13 Oct 2005 22:11:18 +0000 (22:11 +0000)]
r10976: Fix the build with openssl-0.9.8a.

(This used to be commit 081409a724fce1f6e6f29bfcc824fd3f5ec6d9ff)

12 years agor10974: Get closer to trying to fix #1825 (PcoketPC spnego bug). Ensure we
Jeremy Allison [Thu, 13 Oct 2005 19:45:24 +0000 (19:45 +0000)]
r10974: Get closer to trying to fix #1825 (PcoketPC spnego bug). Ensure we
set keylen to zero if no spnego.
(This used to be commit 57ed94e6e4a095422496d92a0095dc48cfecdd68)

12 years agor10970: Fix bug #3166 - null pointer dereference if $HOME not
Jeremy Allison [Thu, 13 Oct 2005 18:08:25 +0000 (18:08 +0000)]
r10970: Fix bug #3166 - null pointer dereference if $HOME not
defined. Also clarified confusing error messages.
(This used to be commit e2639ac9ff8319dde04fc6b4a0c257f7af29cf44)

12 years agor10964: BUG 1051: store the directory path so we can send the full name in the unlink...
Gerald Carter [Thu, 13 Oct 2005 15:51:25 +0000 (15:51 +0000)]
r10964: BUG 1051: store the directory path so we can send the full name in the unlink call (del tmp\foo)
(This used to be commit 49b8d7d7f5ed93a2b9b21404194452f35bcf7b26)

12 years agor10962: fix setting of quotas on linux kernel with the
Stefan Metzmacher [Thu, 13 Oct 2005 14:59:47 +0000 (14:59 +0000)]
r10962: fix setting of quotas on linux kernel with the
struct if_dqblk interface

(This used to be commit 1eafe33c887194d828d685ac8677469917b6c419)

12 years agor10961: remove unused variables (patch from Jason Mader)
Gerald Carter [Thu, 13 Oct 2005 13:20:26 +0000 (13:20 +0000)]
r10961: remove unused variables (patch from Jason Mader)
(This used to be commit d6c6562d33cc88827cb8560a412e8ea51f9a5352)

12 years agor10960: merging changes to specfile from 3.0.20b release
Gerald Carter [Thu, 13 Oct 2005 12:35:33 +0000 (12:35 +0000)]
r10960: merging changes to specfile from 3.0.20b release
(This used to be commit f07b38f408af90623763cce890bd72f37de52d69)

12 years agor10947: Fix bugs #3133 and #1828 - SPNEGO not working with PocketPC 2003.
Jeremy Allison [Wed, 12 Oct 2005 23:08:49 +0000 (23:08 +0000)]
r10947: Fix bugs #3133 and #1828 - SPNEGO not working with PocketPC 2003.
Our sessionsetup code now handles raw NTLMSSP connects, so we can go
back to doing what W2K3 does here which is to send no OID's in
the negprot reply when not in a security=ads mode.
(This used to be commit 38a70185b7ca20677026103d40f61608e7ad0c90)

12 years agor10943: Unused variable. Bug #3160 from jason@ncac.gwu.edu
Jeremy Allison [Wed, 12 Oct 2005 21:42:03 +0000 (21:42 +0000)]
r10943: Unused variable. Bug #3160 from jason@ncac.gwu.edu
(This used to be commit 5647a5d4b0b7e9083963bfe899e9e0f348ec8bf2)

12 years agor10933: include mount.cifs in Fedora spec file (based on patch from smk_va@yahoo...
Gerald Carter [Wed, 12 Oct 2005 20:01:12 +0000 (20:01 +0000)]
r10933: include mount.cifs in Fedora spec file (based on patch from smk_va@yahoo.com)
(This used to be commit 37bcb8d17ab958e8f5961c5ade44c93b6b41f732)

12 years agor10930: Fix erroneous debug spotted by Herb.
Jeremy Allison [Wed, 12 Oct 2005 18:20:34 +0000 (18:20 +0000)]
r10930: Fix erroneous debug spotted by Herb.
(This used to be commit b2e22e7d128dc22d62f56fda294dc7abc076dc64)

12 years agor10927: bug 1473 & 3090: quota compile fixes on Solaris
Gerald Carter [Wed, 12 Oct 2005 16:52:08 +0000 (16:52 +0000)]
r10927: bug 1473 & 3090: quota compile fixes on Solaris
(This used to be commit b70b888699fd02b6ac567fcef3b1d2832a0b4719)

12 years agor10921: BUG 3070: fix crash bug in qfsinfo when retrieving quota info
Gerald Carter [Wed, 12 Oct 2005 13:07:37 +0000 (13:07 +0000)]
r10921: BUG 3070: fix crash bug in qfsinfo when retrieving quota info
(This used to be commit 1599fc38ab2f2beb5d1a240941b879603ce27ae6)

12 years agor10911: part of #2861: add rename support for usrmgr.exe when using tdbsam
Jim McDonough [Tue, 11 Oct 2005 20:14:04 +0000 (20:14 +0000)]
r10911: part of #2861: add rename support for usrmgr.exe when using tdbsam

This gets it working before replacing tdb with the samba4 version.
(This used to be commit 8210b0503a050e12ee1b4335fa6e50d10ad06577)

12 years agor10909: Give better shutdown messages
Jim McDonough [Tue, 11 Oct 2005 18:42:25 +0000 (18:42 +0000)]
r10909: Give better shutdown messages
(This used to be commit 8075b99b44085d107fa42d431300c60133ec53eb)

12 years agor10908: Fix PIPE mismatch to make wbinfo -m work again
Günther Deschner [Tue, 11 Oct 2005 17:36:29 +0000 (17:36 +0000)]
r10908: Fix PIPE mismatch to make wbinfo -m work again

(This used to be commit e3a7813721b102cd4d9b42cec2c600021263435c)

12 years agor10907: Handle the case when we can't verify the PAC signature because the
Günther Deschner [Tue, 11 Oct 2005 16:27:05 +0000 (16:27 +0000)]
r10907: Handle the case when we can't verify the PAC signature because the
ticket was encrypted using a DES key (and the Windows KDC still puts

In that case, return to old behaviour and ignore the PAC.

Thanks to Chengjie Liu <chengjie.liu@datadomain.com>.

(This used to be commit 48d8a9dd9f573d0d913a26a62e4ad3d224731343)

12 years agor10904: build patches from Marc Balmer <marc@msys.ch> when builddir!=srcdir
Gerald Carter [Tue, 11 Oct 2005 16:12:40 +0000 (16:12 +0000)]
r10904: build patches from Marc Balmer <marc@msys.ch> when builddir!=srcdir
(This used to be commit b7fc4045185f2f0ec27aa72656163e9249ad7b85)

12 years agor10901: BUG 3145: Fix build issue regarding quota support on Solaris
Gerald Carter [Tue, 11 Oct 2005 14:46:40 +0000 (14:46 +0000)]
r10901: BUG 3145: Fix build issue regarding quota support on Solaris
(This used to be commit b7de9a6c6963e7d3bb1a05ed15600dd50a8f4a08)

12 years agor10888: We've already checked 'CAN_WRITE' so we don't need to do it again.
Jeremy Allison [Tue, 11 Oct 2005 04:28:46 +0000 (04:28 +0000)]
r10888: We've already checked 'CAN_WRITE' so we don't need to do it again.
(This used to be commit 1c52bf875cfdacb058aa6f54ab27b9f7e2d178dc)

12 years agor10885: Fix bug where read-only share files are always seen as
Jeremy Allison [Tue, 11 Oct 2005 04:25:47 +0000 (04:25 +0000)]
r10885: Fix bug where read-only share files are always seen as
read-only. Noticed by Andrew Bartlett.
(This used to be commit a33f4f0d2afe28ca0e3ab6c9ecfcdbaa267a7fbe)

12 years agor10822: updating copyright info
Gerald Carter [Fri, 7 Oct 2005 15:43:32 +0000 (15:43 +0000)]
r10822: updating copyright info
(This used to be commit ef3845366bc883e735b2008243b7c05a403f42ca)

12 years agor10819: merging a couple of fixes from trunk
Gerald Carter [Fri, 7 Oct 2005 12:14:25 +0000 (12:14 +0000)]
r10819: merging a couple of fixes from trunk

* only keep the registry,tdb file open when we have an open key handle
* tpot's setup.py fix
* removing files that no longer exist in trunk and copying some
  that were missing in 3.0
(This used to be commit 6c6bf6ca5fd430a7a20bf20ed08050328660e570)

12 years agor10802: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy Allison [Fri, 7 Oct 2005 04:54:41 +0000 (04:54 +0000)]
r10802: Janitor for tpot - remember to keep 3.0 in sync.
(This used to be commit 4b7a60e95e8f972df05d162769f0c441a4442e56)

12 years agor10801: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy Allison [Fri, 7 Oct 2005 04:53:30 +0000 (04:53 +0000)]
r10801: Janitor for tpot - remember to keep 3.0 in sync.
(This used to be commit 92fa541f6e92c03a49372ff73f9790afa2c0151c)

12 years agor10795: Fix code before decl error.
Jeremy Allison [Fri, 7 Oct 2005 01:52:48 +0000 (01:52 +0000)]
r10795: Fix code before decl error.
(This used to be commit 30bd894ee63e5be266b6069533138ccb3c0fbccb)

12 years agor10792: Fix the "schannel not stored across client disconnects" problem.
Jeremy Allison [Fri, 7 Oct 2005 01:46:19 +0000 (01:46 +0000)]
r10792: Fix the "schannel not stored across client disconnects" problem.
Based on the Samba4 solution - stores data in
This tdb is not left open but open and closed on demand.
(This used to be commit a6d8a4b1ff31c5552075455dbd98cb58795958a9)

12 years agor10782: Only parse the group rid_array in net_user_info3() when num_group is > 0.
Günther Deschner [Thu, 6 Oct 2005 18:00:19 +0000 (18:00 +0000)]
r10782: Only parse the group rid_array in net_user_info3() when num_group is > 0.

This fixes the PAC parsing for win2k DCs up to SP3. (Where full SIDs
are stored in the PAC instead of RIDs).

(This used to be commit 3d5d5ddce2d0c602d985438af996e7af5ccef329)

12 years agor10781: merging eventlog and svcctl code from trunk
Gerald Carter [Thu, 6 Oct 2005 17:48:03 +0000 (17:48 +0000)]
r10781: merging eventlog and svcctl code from trunk
(This used to be commit f10aa9fb84bfac4f1a22b74d63999668700ffaac)

12 years agor10780: Fix typo noticed by Volker.
Jeremy Allison [Thu, 6 Oct 2005 17:43:18 +0000 (17:43 +0000)]
r10780: Fix typo noticed by Volker.
(This used to be commit 76408ddd5bec22bbbee2236101bf65b407d2c664)

12 years agor10778: Allow schannel setup over NTLMSSP authenticated pipes.
Jeremy Allison [Thu, 6 Oct 2005 16:51:10 +0000 (16:51 +0000)]
r10778: Allow schannel setup over NTLMSSP authenticated pipes.
(This used to be commit ed62720f897ebf10f5ae50a3e9cf7788c9570183)

12 years agor10750: Ensure we match W2K3 in forcing DOS errors in a couple of cases.
Jeremy Allison [Thu, 6 Oct 2005 03:41:01 +0000 (03:41 +0000)]
r10750: Ensure we match W2K3 in forcing DOS errors in a couple of cases.
(This used to be commit 62ba3454251daf59071a6b2663035b04c5438647)

12 years agor10749: Remove one more Samba4 smbtorture RAW-OPEN difference from W2K3.
Jeremy Allison [Thu, 6 Oct 2005 00:21:02 +0000 (00:21 +0000)]
r10749: Remove one more Samba4 smbtorture RAW-OPEN difference from W2K3.
(This used to be commit 0e8cf8eef59e38ba9a79f6c688abe9f1ac3bf64d)

12 years agor10747: Remove overparanoid check that broke RPC function calls with no
Jelmer Vernooij [Wed, 5 Oct 2005 23:11:34 +0000 (23:11 +0000)]
r10747: Remove overparanoid check that broke RPC function calls with no
[in] parameters.
(This used to be commit 03a3caaddd5bf28a059d4edb5e55031f7e5de94a)

12 years agor10745: Fix artificial 1k restriction.
Jeremy Allison [Wed, 5 Oct 2005 23:02:59 +0000 (23:02 +0000)]
r10745: Fix artificial 1k restriction.
(This used to be commit bb1ba9a9089b38bf400d48b992f7977ce926aeaf)

12 years agor10744: Fix for the second incarnation of bug #3088, pushed by Alex Masterov
Jeremy Allison [Wed, 5 Oct 2005 22:41:16 +0000 (22:41 +0000)]
r10744: Fix for the second incarnation of bug #3088, pushed by Alex Masterov
<alex@infobit.ru>. A fcbopen specific part of the code was erroneously
being called as part of the mainline open. Note, that this patch
superceeds and replaces the fix that Volker added for this bug
(which he added a Samba4 torture test for ) :

"Fix a race condition in Samba 3. If two files are opened simultaneously with
NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with
two or more times NT_STATUS_OK as EEXIST is not correctly handled."

(This used to be commit 5d7ab9a17e793c05409a16675ac2aa2861c4f89e)

12 years agor10730: Janitor for tridge on the "fix to talloc_parent() from Michael O'Brien".
Jeremy Allison [Wed, 5 Oct 2005 14:16:09 +0000 (14:16 +0000)]
r10730: Janitor for tridge on the "fix to talloc_parent() from Michael O'Brien".
(This used to be commit 2f3750d95b75b186771cab13b842c91bd7926df1)

12 years agor10724: Got a little ahead of myself...
Jeremy Allison [Wed, 5 Oct 2005 01:50:47 +0000 (01:50 +0000)]
r10724: Got a little ahead of myself...
(This used to be commit 86ffef8162393be3da81fda13772f0f1d40b0d08)

12 years agor10722: Remove unused BOOL in struct dcinfo.
Jeremy Allison [Wed, 5 Oct 2005 01:47:52 +0000 (01:47 +0000)]
r10722: Remove unused BOOL in struct dcinfo.
Ensure that the mach_acct and remote machine entries are
set correctly in struct dcinfo - we'll need this as a key
for a persistent schannel state later.
(This used to be commit 47269b5c7161d740c2e86227de3acd9e08c53817)

12 years agor10720: Add helper function that does prs alignment on a specified number of bytes.
Jelmer Vernooij [Tue, 4 Oct 2005 21:56:53 +0000 (21:56 +0000)]
r10720: Add helper function that does prs alignment on a specified number of bytes.
(This used to be commit 4576e6843b67c5919823307a196b1582b78fdeaf)

12 years agor10710: Fix uninitialized variable. (Thanks to Chengjie Liu
Günther Deschner [Tue, 4 Oct 2005 11:21:57 +0000 (11:21 +0000)]
r10710: Fix uninitialized variable. (Thanks to Chengjie Liu

(This used to be commit 241466ee650d1db1b89a4b5b640f27f6b83644c6)

12 years agor10693: Fix bug #3129, reported by Adam Porter <sambabugzilla@alphapapa.net>.
Jeremy Allison [Mon, 3 Oct 2005 18:14:09 +0000 (18:14 +0000)]
r10693: Fix bug #3129, reported by Adam Porter <sambabugzilla@alphapapa.net>.
Rotten error message caused hours of wasted time.
(This used to be commit f391f065b240d5731d178f9d4a46ffc3315117bc)

12 years agor10688: Fix from Volker for bugid #3068 - winbindd crash with
Jeremy Allison [Mon, 3 Oct 2005 17:33:43 +0000 (17:33 +0000)]
r10688: Fix from Volker for bugid #3068 - winbindd crash with
(This used to be commit 35dda6920c9e318726473b6bc9d8495cf8f7b7cc)

12 years agor10676: reverting bad merge for install manpages script
Gerald Carter [Sat, 1 Oct 2005 19:41:29 +0000 (19:41 +0000)]
r10676: reverting bad merge for install manpages script
(This used to be commit 50549fa9b3f6d6eaf7da70cb8d7595b32917aade)

12 years agor10674: We no do define timeval_current
Volker Lendecke [Sat, 1 Oct 2005 10:19:36 +0000 (10:19 +0000)]
r10674: We no do define timeval_current
(This used to be commit c80e5ce1103a4c8f17120ecf715d962cfa532f22)

12 years agor10672: Attempt to fix the IRIX build. James, could you test the Oplock code on a...
Volker Lendecke [Sat, 1 Oct 2005 10:00:07 +0000 (10:00 +0000)]
r10672: Attempt to fix the IRIX build. James, could you test the Oplock code on a box?


(This used to be commit 9fcf83dcd828515a6f6ac535cd47398b7e04e748)

12 years agor10671: Attempt to fix the build on machines without kerberos headers.
Volker Lendecke [Sat, 1 Oct 2005 09:43:53 +0000 (09:43 +0000)]
r10671: Attempt to fix the build on machines without kerberos headers.

(This used to be commit cb816e65a95802d5172c410d1acda2da070b871d)

12 years agor10658: It's so nice to have CVSIN to blame for this kind of bugs :-)
Volker Lendecke [Fri, 30 Sep 2005 19:50:02 +0000 (19:50 +0000)]
r10658: It's so nice to have CVSIN to blame for this kind of bugs :-)

(This used to be commit cf06a090a3fe6ed1f769aa9744637833bdc3b7d0)

12 years agor10657: remove missing header file
Gerald Carter [Fri, 30 Sep 2005 17:23:18 +0000 (17:23 +0000)]
r10657: remove missing header file
(This used to be commit 85e61ff69c92143f54860dfce02f95a1e6070bc3)

12 years agor10656: BIG merge from trunk. Features not copied over
Gerald Carter [Fri, 30 Sep 2005 17:13:37 +0000 (17:13 +0000)]
r10656: BIG merge from trunk.  Features not copied over

* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)

12 years agor10644: Let the ports parameter be a comma-separated list, as documented in
James Peach [Fri, 30 Sep 2005 06:37:51 +0000 (06:37 +0000)]
r10644: Let the ports parameter be a comma-separated list, as documented in
(This used to be commit f049fd463b087ccf4873b03675cca5eb8576af2e)

12 years agor10619: Allow syslog facility and priority to be set via
Deryck Hodge [Thu, 29 Sep 2005 15:57:21 +0000 (15:57 +0000)]
r10619: Allow syslog facility and priority to be set via
smb.conf for audit modules.

Facility may be set to USER or LOCAL0-LOCAL7.  Any
of the syslog priority settings may be used.
smb.conf will look like:

audit:facility = LOCAL5
audit:priority = INFO

(Or full_audit:facility, or whatever audit module is used.)

(This used to be commit c619ee38f0aee43de571524c8ef3bf6b27b30e74)

12 years agor10606: pdb_*sql patches from
Gerald Carter [Thu, 29 Sep 2005 12:27:43 +0000 (12:27 +0000)]
r10606: pdb_*sql patches from

Uli Meis <a.sporto@gmail.com>
Peter Rindfuss <rindfuss@wz-berlin.de>
(This used to be commit 8bf124adaf4d6cacc18ebca82d96eabe47088151)

12 years agor10600: Fix bug #2769 (mangle filenames ending in a space)
Jeremy Allison [Thu, 29 Sep 2005 01:27:19 +0000 (01:27 +0000)]
r10600: Fix bug #2769 (mangle filenames ending in a space)
and an old bug where mangle mathod hash wasn't mangling
file names with more than one dot which also end in a dot.
(This used to be commit 105e38847dc0078951abcda16808590ccc363b00)

12 years agor10590: merging lost fix from the release branch
Gerald Carter [Wed, 28 Sep 2005 21:26:04 +0000 (21:26 +0000)]
r10590: merging lost fix from the release branch
(This used to be commit c2a018bf1f4bf196db0ad80c713764e435de3914)

12 years agor10585: variation of fix in trunk for root-free-pass in registry access checks
Gerald Carter [Wed, 28 Sep 2005 16:54:42 +0000 (16:54 +0000)]
r10585: variation of fix in trunk for root-free-pass in registry access checks
(This used to be commit b41f997a2a67f7dc60b300866b38f72846c600fb)

12 years agor10558: Fix bug #3010 yet again. Die monster, die !
Jeremy Allison [Tue, 27 Sep 2005 20:41:22 +0000 (20:41 +0000)]
r10558: Fix bug #3010 yet again. Die monster, die !
(This used to be commit dba56e8d23dc10a31f0f700b02c8776bdc8f57c1)

12 years agor10556: BUG 3083: patch from Alex Deiter <tiamat@komi.mts.ru> to fix checking trusted...
Gerald Carter [Tue, 27 Sep 2005 19:39:13 +0000 (19:39 +0000)]
r10556: BUG 3083: patch from Alex Deiter <tiamat@komi.mts.ru> to fix checking trusted account for winbindd running on a Samba PDC
(This used to be commit 24b43af642c9d41c14b9ad64704e13cc9150378d)

12 years agor10555: a few compile warnings from jason Mader
Gerald Carter [Tue, 27 Sep 2005 19:34:19 +0000 (19:34 +0000)]
r10555: a few compile warnings from jason Mader
(This used to be commit 88998fa0b919fec4966d171a9c7b4f875bc1e26a)

12 years agor10554: * BUG 3057: assume x64 drivers are v3 drivers
Gerald Carter [Tue, 27 Sep 2005 19:18:20 +0000 (19:18 +0000)]
r10554: * BUG 3057: assume x64 drivers are v3 drivers
* BUG 3087: allow smbspool to establisha geust connection
  using a username with no password
(This used to be commit 39369c8041e0633e88c30e0c62530c2393ef80f6)

12 years agor10551: We need to check if the source path is a parent directory of the destination
Jeremy Allison [Tue, 27 Sep 2005 17:42:11 +0000 (17:42 +0000)]
r10551: We need to check if the source path is a parent directory of the destination
(ie. a rename of /foo/bar/baz -> /foo/bar/baz/bibble/bobble. If so we must
refuse the rename with a sharing violation. Under UNIX the above call can
*succeed* if /foo/bar/baz is a symlink to another area in the share. We
probably need to check that the client is a Windows one before disallowing
this as a UNIX client (one with UNIX extensions) can know the source is a
symlink and make this decision intelligently. Found by an excellent bug
report from <AndyLiebman@aol.com>.
(This used to be commit fc311adc7964feef5bac85096727f54922d1186c)

12 years agor10474: We better ignore builtin SIDs from the Active Directory DC to prevent
Günther Deschner [Sat, 24 Sep 2005 11:33:55 +0000 (11:33 +0000)]
r10474: We better ignore builtin SIDs from the Active Directory DC to prevent
that AD's builtin groups mixup with our own builtin groups.

(This used to be commit 9930013161f1ae59e7aed1b397b79792d384f1ba)

12 years agor10458: Patches from Jiri Sasek <Jiri.Sasek@Sun.COM> to help
Jeremy Allison [Fri, 23 Sep 2005 19:51:44 +0000 (19:51 +0000)]
r10458: Patches from Jiri Sasek <Jiri.Sasek@Sun.COM> to help
configure run on Solaris.
(This used to be commit 9c2a641366ad080c7a591194a1d299e477122541)

12 years agor10454: * prevent privilege code from storing an empty SID
Gerald Carter [Fri, 23 Sep 2005 15:23:16 +0000 (15:23 +0000)]
r10454: * prevent privilege code from storing an empty SID
  (and filter it out if one is already there)
* Fix LUID value match in privilege_set_to_se_priv()
  (fix jmcd's bug report).
(This used to be commit 356334264f5cd3a2480c3288ec40e0ee63264e1b)

12 years agor10451: add $(LDFLAGS) to tdb command line tools to fix build issues
Gerald Carter [Fri, 23 Sep 2005 13:52:15 +0000 (13:52 +0000)]
r10451: add $(LDFLAGS) to tdb command line tools to fix build issues
(This used to be commit 32edf36b9534589249b9e72754773f67db9b9f77)

12 years agor10432: BUG 3080: fix 'net rpc shutdown' for XP clients
Gerald Carter [Thu, 22 Sep 2005 19:21:27 +0000 (19:21 +0000)]
r10432: BUG 3080: fix 'net rpc shutdown' for XP clients
(This used to be commit e877a5148783f4ce920a1f21f2081c32ebbbe827)

12 years agor10431: fix segfault when the pip open fails in 'net rpc' commands
Gerald Carter [Thu, 22 Sep 2005 18:49:23 +0000 (18:49 +0000)]
r10431: fix segfault when the pip open fails in 'net rpc' commands
(This used to be commit ffe4188847aabcbfbfadc0f5b60d0eeea9f13d83)

12 years agor10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
Jeremy Allison [Tue, 20 Sep 2005 23:28:22 +0000 (23:28 +0000)]
r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
(This used to be commit 155dc2d52a971bfb8d7565c06f3efc637e130b11)

12 years agor10359: Ensure that smb.conf requests for hidden files are honored, even
Jeremy Allison [Tue, 20 Sep 2005 20:20:51 +0000 (20:20 +0000)]
r10359: Ensure that smb.conf requests for hidden files are honored, even
when DOS attributes are stored in EA's.
(This used to be commit 758b30710e9f84f19b79c39afddc742aef495ebd)

12 years agor10355: Merge back the clear-if-first fix from Samba4. Couldn't wait tridge, sorry...
Jeremy Allison [Tue, 20 Sep 2005 17:33:07 +0000 (17:33 +0000)]
r10355: Merge back the clear-if-first fix from Samba4. Couldn't wait tridge, sorry :-).
(This used to be commit b1722b7bd1eaabb725218a4fc5c8b012f0a1a0af)

12 years agor10321: Fix winbindd recursion bug found by Ingo Steuwer <steuwer@univention.de>.
Jeremy Allison [Mon, 19 Sep 2005 18:49:18 +0000 (18:49 +0000)]
r10321: Fix winbindd recursion bug found by Ingo Steuwer <steuwer@univention.de>.
(This used to be commit 6795c818a3d63737d5b40faffa3a0b91c71b427b)

12 years agor10285: Doh ! Guenther spotted this stupid cut-n-paste bug...
Jeremy Allison [Sat, 17 Sep 2005 00:44:34 +0000 (00:44 +0000)]
r10285: Doh ! Guenther spotted this stupid cut-n-paste bug...
Thanks Guenther !
(This used to be commit 7335440e480599a6e16780976ab36651a6fb969d)

12 years agor10278: more fixes for bug 3080. Ensure the length on the message string is correct...
Gerald Carter [Fri, 16 Sep 2005 20:59:12 +0000 (20:59 +0000)]
r10278: more fixes for bug 3080.  Ensure the length on the message string is correct.  Windows 2000 is very senstive io this apparently
(This used to be commit 0fd02f1477dbf38ddab614b1171ac66124e15cf3)

12 years agor10276: Fix for bug #3104 from Leo Weppelman <leo@wau.mis.ah.nl>.
Jeremy Allison [Fri, 16 Sep 2005 20:06:10 +0000 (20:06 +0000)]
r10276: Fix for bug #3104 from Leo Weppelman <leo@wau.mis.ah.nl>.
Don't update the time on read-only shares.
We need this as set_filetime (which can be called on
close and other paths) can end up calling this function
without the NEED_WRITE protection.
(This used to be commit 54eab3828aa0405288b68f6954abba201564c9e7)

12 years agor10270: lowercase groupnames and groupmembers again.
Günther Deschner [Fri, 16 Sep 2005 16:37:45 +0000 (16:37 +0000)]
r10270: lowercase groupnames and groupmembers again.

(This used to be commit 736dffb2a9907a6ca3fee51eb4a9f1da837303a0)

12 years agor10269: Server-side fix for creds change - revert jcmd's change.
Jeremy Allison [Fri, 16 Sep 2005 16:20:48 +0000 (16:20 +0000)]
r10269: Server-side fix for creds change - revert jcmd's change.
(This used to be commit e1c9813d63a441037bc71622a29acda099d72f71)

12 years agor10268: Fix for bug #3095 - winbindd checking credentials.
Jeremy Allison [Fri, 16 Sep 2005 16:20:23 +0000 (16:20 +0000)]
r10268: Fix for bug #3095 - winbindd checking credentials.
(This used to be commit e58d8ee0555a5de0a25757b26cc22e02b9aace31)

12 years agor10267: Exit if winbind can't find or generate a SID -- there's no point in
Volker Lendecke [Fri, 16 Sep 2005 16:13:06 +0000 (16:13 +0000)]
r10267: Exit if winbind can't find or generate a SID -- there's no point in
continuing. Found during investigation of bug 3105.

(This used to be commit 72546f185696235c9d5cb6196448178d9e15e858)