Jeremy Allison [Wed, 12 Oct 2005 21:42:03 +0000 (21:42 +0000)]
r10943: Unused variable. Bug #3160 from jason@ncac.gwu.edu
Jeremy.
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)
Jeremy Allison [Wed, 12 Oct 2005 18:20:34 +0000 (18:20 +0000)]
r10930: Fix erroneous debug spotted by Herb.
Jeremy.
Gerald Carter [Wed, 12 Oct 2005 16:52:08 +0000 (16:52 +0000)]
r10927: bug 1473 & 3090: quota compile fixes on Solaris
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
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.
Jim McDonough [Tue, 11 Oct 2005 18:42:25 +0000 (18:42 +0000)]
r10909: Give better shutdown messages
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
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
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
Gerald Carter [Tue, 11 Oct 2005 14:46:40 +0000 (14:46 +0000)]
r10901: BUG 3145: Fix build issue regarding quota support on Solaris
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.
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
Gerald Carter [Fri, 7 Oct 2005 15:43:32 +0000 (15:43 +0000)]
r10822: updating copyright info
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
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.
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.
Jeremy Allison [Fri, 7 Oct 2005 01:52:48 +0000 (01:52 +0000)]
r10795: Fix code before decl error.
Jeremy.
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.
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
Gerald Carter [Thu, 6 Oct 2005 17:48:03 +0000 (17:48 +0000)]
r10781: merging eventlog and svcctl code from trunk
Jeremy Allison [Thu, 6 Oct 2005 17:43:18 +0000 (17:43 +0000)]
r10780: Fix typo noticed by Volker.
Jeremy.
Jeremy Allison [Thu, 6 Oct 2005 16:51:10 +0000 (16:51 +0000)]
r10778: Allow schannel setup over NTLMSSP authenticated pipes.
Jeremy.
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.
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.
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.
Jeremy Allison [Wed, 5 Oct 2005 23:02:59 +0000 (23:02 +0000)]
r10745: Fix artificial 1k restriction.
Jeremy.
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.
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.
Jeremy Allison [Wed, 5 Oct 2005 01:50:47 +0000 (01:50 +0000)]
r10724: Got a little ahead of myself...
Jeremy.
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.
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.
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
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.
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.
Gerald Carter [Sat, 1 Oct 2005 19:41:29 +0000 (19:41 +0000)]
r10676: reverting bad merge for install manpages script
Volker Lendecke [Sat, 1 Oct 2005 10:19:36 +0000 (10:19 +0000)]
r10674: We no do define timeval_current
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
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
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
Gerald Carter [Fri, 30 Sep 2005 17:23:18 +0000 (17:23 +0000)]
r10657: remove missing header file
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)
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).
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
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>
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.
Gerald Carter [Wed, 28 Sep 2005 21:26:04 +0000 (21:26 +0000)]
r10590: merging lost fix from the release branch
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
Jeremy Allison [Tue, 27 Sep 2005 20:41:22 +0000 (20:41 +0000)]
r10558: Fix bug #3010 yet again. Die monster, die !
Jeremy.
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
Gerald Carter [Tue, 27 Sep 2005 19:34:19 +0000 (19:34 +0000)]
r10555: a few compile warnings from jason Mader
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
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.
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
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.
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).
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
Gerald Carter [Thu, 22 Sep 2005 19:21:27 +0000 (19:21 +0000)]
r10432: BUG 3080: fix 'net rpc shutdown' for XP clients
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
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.
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.
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.
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.
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.
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
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.
Günther Deschner [Fri, 16 Sep 2005 16:37:45 +0000 (16:37 +0000)]
r10270: lowercase groupnames and groupmembers again.
Guenther
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.
Jeremy Allison [Fri, 16 Sep 2005 16:20:23 +0000 (16:20 +0000)]
r10268: Fix for bug #3095 - winbindd checking credentials.
Jeremy.
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
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()
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
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
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
Jim McDonough [Thu, 15 Sep 2005 20:39:57 +0000 (20:39 +0000)]
r10247: Fix help text for net rpc shutdown.
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)
Volker Lendecke [Thu, 15 Sep 2005 11:02:03 +0000 (11:02 +0000)]
r10239: Fix cut&paste error
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.
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
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.
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.
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
Günther Deschner [Tue, 13 Sep 2005 21:21:43 +0000 (21:21 +0000)]
r10210: Fix memleak.
Guenther
Jeremy Allison [Tue, 13 Sep 2005 20:13:33 +0000 (20:13 +0000)]
r10208: Correctly display RDWR only when it *is* RDWR...
Jeremy.
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
Jeremy Allison [Tue, 13 Sep 2005 16:54:59 +0000 (16:54 +0000)]
r10204: I love valgrind :-). Found stupid missing parantheses :-).
Jeremy.
Jeremy Allison [Mon, 12 Sep 2005 21:50:32 +0000 (21:50 +0000)]
r10188: 64-bit warning fix.
Jeremy.
Jeremy Allison [Mon, 12 Sep 2005 21:47:42 +0000 (21:47 +0000)]
r10186: More 64-bit warning fixes.
Jeremy.
Jeremy Allison [Mon, 12 Sep 2005 21:27:48 +0000 (21:27 +0000)]
r10182: Starting to stamp out warnings on a 64-bit box.
More to follow.
Jeremy.
Gerald Carter [Mon, 12 Sep 2005 18:12:53 +0000 (18:12 +0000)]
r10176: adding smbctool from Kalim's SoC project; requires make bin/smbctool
Günther Deschner [Mon, 12 Sep 2005 11:56:36 +0000 (11:56 +0000)]
r10170: Fix for #3056:
Allow to include BUILTIN to the mapping table also when
"allow trusted domains" is disabled.
Guenther
Stefan Metzmacher [Mon, 12 Sep 2005 10:23:14 +0000 (10:23 +0000)]
r10165: - use the sysquota interface on linux by default (as the configure --help, shows since a few years ago)
- fix the logic for using the builtin linux quota support
(hopeful fix the quota build on the fedora 4 builtfarm boxes)
metze
Stefan Metzmacher [Mon, 12 Sep 2005 09:38:22 +0000 (09:38 +0000)]
r10163: try to fix the build on fedora 4, when --with-quota is not used
(to actually fix the quotas, more work is needed)
metze
Günther Deschner [Sun, 11 Sep 2005 20:53:21 +0000 (20:53 +0000)]
r10154: Fix crash bug on security descriptor upgrade (as seen on x86_64).
Guenther
Volker Lendecke [Sun, 11 Sep 2005 08:22:55 +0000 (08:22 +0000)]
r10152: 64-bit fix for bug #3082. Thanks to Robin Hill for tracking this down with
valgrind.
Jerry, if this patch proves to fix his problem, it is definitely a candidate
for the recommended patches page.
Volker
Jeremy Allison [Sun, 11 Sep 2005 05:18:14 +0000 (05:18 +0000)]
r10151: Fix includes correctly. Patch from Steve Williams
<steve@celineandsteve.com>.
Jeremy.
Jeremy Allison [Sun, 11 Sep 2005 05:16:54 +0000 (05:16 +0000)]
r10150: Fix from Steve Williams <steve@celineandsteve.com> to make the args
consistent (uint64_t).
Jeremy.
Jeremy Allison [Sat, 10 Sep 2005 00:47:31 +0000 (00:47 +0000)]
r10136: Fix for bug #3060 from Leo Weppelman <leo@wau.mis.ah.nl>.
Ensure SMBcreate truncates the file if it exists.
Jeremy.
Jeremy Allison [Fri, 9 Sep 2005 21:49:49 +0000 (21:49 +0000)]
r10135: Remove external dependencies for libsmbsharemodes.so
Jeremy.
Jeremy Allison [Fri, 9 Sep 2005 21:49:16 +0000 (21:49 +0000)]
r10133: Fix bug #3044. open-exec is read-only.
Jeremy.