ira/wip.git
14 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)

14 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)

14 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)

14 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)

14 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.
Jeremy.
(This used to be commit da4238d18c7a57d1264db8517fb027a10a11baed)

14 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.

Guenther
(This used to be commit 380c6133240f8cb2da79453d08e77778d157d176)

14 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.

Guenther
(This used to be commit 081409a724fce1f6e6f29bfcc824fd3f5ec6d9ff)

14 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.
Jeremy.
(This used to be commit 57ed94e6e4a095422496d92a0095dc48cfecdd68)

14 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.
Jeremy.
(This used to be commit e2639ac9ff8319dde04fc6b4a0c257f7af29cf44)

14 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)

14 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

metze
(This used to be commit 1eafe33c887194d828d685ac8677469917b6c419)

14 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)

14 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)

14 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.
Jeremy.
(This used to be commit 38a70185b7ca20677026103d40f61608e7ad0c90)

14 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
Jeremy.
(This used to be commit 5647a5d4b0b7e9083963bfe899e9e0f348ec8bf2)

14 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)

14 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.
Jeremy.
(This used to be commit b2e22e7d128dc22d62f56fda294dc7abc076dc64)

14 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)

14 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)

14 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)

14 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)

14 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

Guenther
(This used to be commit e3a7813721b102cd4d9b42cec2c600021263435c)

14 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
CKSUMTYPE_HMAC_MD5_ARCFOUR in the PAC).

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

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

Guenther
(This used to be commit 48d8a9dd9f573d0d913a26a62e4ad3d224731343)

14 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)

14 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)

14 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.
Jeremy.
(This used to be commit 1c52bf875cfdacb058aa6f54ab27b9f7e2d178dc)

14 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.
Jeremy
(This used to be commit a33f4f0d2afe28ca0e3ab6c9ecfcdbaa267a7fbe)

14 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)

14 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)

14 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.
Jeremy.
(This used to be commit 4b7a60e95e8f972df05d162769f0c441a4442e56)

14 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.
Jeremy.
(This used to be commit 92fa541f6e92c03a49372ff73f9790afa2c0151c)

14 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.
Jeremy.
(This used to be commit 30bd894ee63e5be266b6069533138ccb3c0fbccb)

14 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
$samba/private/schannel_store.tdb.
This tdb is not left open but open and closed on demand.
Jeremy.
(This used to be commit a6d8a4b1ff31c5552075455dbd98cb58795958a9)

14 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).

Guenther
(This used to be commit 3d5d5ddce2d0c602d985438af996e7af5ccef329)

14 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)

14 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.
Jeremy.
(This used to be commit 76408ddd5bec22bbbee2236101bf65b407d2c664)

14 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.
Jeremy.
(This used to be commit ed62720f897ebf10f5ae50a3e9cf7788c9570183)

14 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.
Jeremy.
(This used to be commit 62ba3454251daf59071a6b2663035b04c5438647)

14 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.
Jeremy.
(This used to be commit 0e8cf8eef59e38ba9a79f6c688abe9f1ac3bf64d)

14 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)

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

14 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."

Jeremy.
(This used to be commit 5d7ab9a17e793c05409a16675ac2aa2861c4f89e)

14 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".
Jeremy.
(This used to be commit 2f3750d95b75b186771cab13b842c91bd7926df1)

14 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...
Jeremy.
(This used to be commit 86ffef8162393be3da81fda13772f0f1d40b0d08)

14 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.
Jeremy.
(This used to be commit 47269b5c7161d740c2e86227de3acd9e08c53817)

14 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)

14 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
<chengjie.liu@datadomain.com>)

Guenther
(This used to be commit 241466ee650d1db1b89a4b5b640f27f6b83644c6)

14 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.
Jeremy.
(This used to be commit f391f065b240d5731d178f9d4a46ffc3315117bc)

14 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
alt_names.
Jeremy.
(This used to be commit 35dda6920c9e318726473b6bc9d8495cf8f7b7cc)

14 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)

14 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)

14 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?

Thanks,

Volker
(This used to be commit 9fcf83dcd828515a6f6ac535cd47398b7e04e748)

14 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.

Volker
(This used to be commit cb816e65a95802d5172c410d1acda2da070b871d)

14 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 :-)

Volker
(This used to be commit cf06a090a3fe6ed1f769aa9744637833bdc3b7d0)

14 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)

14 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)

14 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
smbd(8).
(This used to be commit f049fd463b087ccf4873b03675cca5eb8576af2e)

14 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.)

deryck
(This used to be commit c619ee38f0aee43de571524c8ef3bf6b27b30e74)

14 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)

14 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.
Jeremy.
(This used to be commit 105e38847dc0078951abcda16808590ccc363b00)

14 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)

14 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)

14 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 !
Jeremy.
(This used to be commit dba56e8d23dc10a31f0f700b02c8776bdc8f57c1)

14 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)

14 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)

14 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)

14 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>.
Jeremy.
(This used to be commit fc311adc7964feef5bac85096727f54922d1186c)

14 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.

Guenther
(This used to be commit 9930013161f1ae59e7aed1b397b79792d384f1ba)

14 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.
Jeremy.
(This used to be commit 9c2a641366ad080c7a591194a1d299e477122541)

14 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)

14 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)

14 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)

14 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)

14 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.
Jeremy.
(This used to be commit 155dc2d52a971bfb8d7565c06f3efc637e130b11)

14 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.
Jeremy.
(This used to be commit 758b30710e9f84f19b79c39afddc742aef495ebd)

14 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 :-).
Jeremy.
(This used to be commit b1722b7bd1eaabb725218a4fc5c8b012f0a1a0af)

14 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>.
Jeremy.
(This used to be commit 6795c818a3d63737d5b40faffa3a0b91c71b427b)

14 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 !
Jeremy.
(This used to be commit 7335440e480599a6e16780976ab36651a6fb969d)

14 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)

14 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.
Jeremy.
(This used to be commit 54eab3828aa0405288b68f6954abba201564c9e7)

14 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.

Guenther
(This used to be commit 736dffb2a9907a6ca3fee51eb4a9f1da837303a0)

14 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.
Jeremy.
(This used to be commit e1c9813d63a441037bc71622a29acda099d72f71)

14 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.
Jeremy.
(This used to be commit e58d8ee0555a5de0a25757b26cc22e02b9aace31)

14 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.

Volker
(This used to be commit 72546f185696235c9d5cb6196448178d9e15e858)

14 years agor10264: reverse order of 'root free pass' checks in service and registry access_checks()
Gerald Carter [Fri, 16 Sep 2005 14:47:21 +0000 (14:47 +0000)]
r10264: reverse order of 'root free pass' checks in service and registry access_checks()
(This used to be commit 35b338a4fc95c14629579336dcf3bd240fda92d3)

14 years agor10263: Fix debug which got more instead of less confusing.
Günther Deschner [Fri, 16 Sep 2005 13:12:08 +0000 (13:12 +0000)]
r10263: Fix debug which got more instead of less confusing.

Guenther
(This used to be commit ac3786a7a7dfc77d3b305ae67c97ab4f7f63961e)

14 years agor10262: * Fix for getgrnam not returning builtin group (which is done by getent
Günther Deschner [Fri, 16 Sep 2005 13:01:25 +0000 (13:01 +0000)]
r10262: * Fix for getgrnam not returning builtin group (which is done by getent
group)
* Give a better debug message when returning builtin groups.

Guenther
(This used to be commit ec79971dc7606c1dfea3acf87cd19fa4153ae417)

14 years agor10261: Don't bother to peek rids in builtin-sids.
Günther Deschner [Fri, 16 Sep 2005 12:50:24 +0000 (12:50 +0000)]
r10261: Don't bother to peek rids in builtin-sids.

Guenther
(This used to be commit d75bfce8cc9122ddcad149704e467c784f0a0872)

14 years agor10247: Fix help text for net rpc shutdown.
Jim McDonough [Thu, 15 Sep 2005 20:39:57 +0000 (20:39 +0000)]
r10247: Fix help text for net rpc shutdown.
(This used to be commit 7af7343d9c7047998e4d54e07730ae1d87de3942)

14 years agor10243: fix net rpc shutdown (missing alignments and sending an invalid UNISTR4 for...
Gerald Carter [Thu, 15 Sep 2005 18:35:26 +0000 (18:35 +0000)]
r10243: fix net rpc shutdown (missing alignments and sending an invalid UNISTR4 for this request)
(This used to be commit cf99e1716dfa880f84abc55062389d03fff05509)

14 years agor10239: Fix cut&paste error
Volker Lendecke [Thu, 15 Sep 2005 11:02:03 +0000 (11:02 +0000)]
r10239: Fix cut&paste error
(This used to be commit e076453cf38b17cae07a1292713cd93d35890fbd)

14 years agor10234: Add new auth module "auth_script" to allow valid users to
Jeremy Allison [Wed, 14 Sep 2005 23:58:14 +0000 (23:58 +0000)]
r10234: Add new auth module "auth_script" to allow valid users to
be provisioned on demand - calls script with domain,
username, challenge and LM and NT responses - passing
the info through a pipe.
Jeremy.
(This used to be commit 67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b)

14 years agor10221: add "free pass for root" in svcctl and default winreg access checks
Gerald Carter [Wed, 14 Sep 2005 12:49:24 +0000 (12:49 +0000)]
r10221: add "free pass for root" in svcctl and default winreg access checks
(This used to be commit 24901187962e24bfa5ba7722aba0aeb9397ac7b6)

14 years agor10217: Remember to exit correctly when we find a matching entry to change.
Jeremy Allison [Tue, 13 Sep 2005 23:11:23 +0000 (23:11 +0000)]
r10217: Remember to exit correctly when we find a matching entry to change.
Jeremy.
(This used to be commit 142c84eb31a4f2577d5f4bb0f541440d84eb607f)

14 years agor10215: Fix several memory corruption bugs now we're testing this.
Jeremy Allison [Tue, 13 Sep 2005 22:23:59 +0000 (22:23 +0000)]
r10215: Fix several memory corruption bugs now we're testing this.
Jeremy.
(This used to be commit 3d1207aaf66bafd84935b21dbe1a0fd8efeb661d)

14 years agor10211: Fix another memleak (this time in the kerberos keytab code)
Günther Deschner [Tue, 13 Sep 2005 21:26:25 +0000 (21:26 +0000)]
r10211: Fix another memleak (this time in the kerberos keytab code)

Guenther
(This used to be commit 9796bf45895681fee243ca8fd8297ff270c7547c)

14 years agor10210: Fix memleak.
Günther Deschner [Tue, 13 Sep 2005 21:21:43 +0000 (21:21 +0000)]
r10210: Fix memleak.

Guenther
(This used to be commit 10358d16d7946f6b0c989db8bc26f8840144389b)

14 years agor10208: Correctly display RDWR only when it *is* RDWR...
Jeremy Allison [Tue, 13 Sep 2005 20:13:33 +0000 (20:13 +0000)]
r10208: Correctly display RDWR only when it *is* RDWR...
Jeremy.
(This used to be commit 99d883b9c4a450222e75132b2cf28b597217ce79)

14 years agor10205: fix obvious typo in the NET_USER_INFO_3 parsing
Günther Deschner [Tue, 13 Sep 2005 17:03:03 +0000 (17:03 +0000)]
r10205: fix obvious typo in the NET_USER_INFO_3 parsing

Guenther
(This used to be commit fdba056a2fbcc118e3d0584c280da1ee5f730f22)

14 years agor10204: I love valgrind :-). Found stupid missing parantheses :-).
Jeremy Allison [Tue, 13 Sep 2005 16:54:59 +0000 (16:54 +0000)]
r10204: I love valgrind :-). Found stupid missing parantheses :-).
Jeremy.
(This used to be commit b406a202128c1ba9800784ab8c571584b37c746b)