Volker Lendecke [Wed, 21 Apr 2004 12:08:44 +0000 (12:08 +0000)]
Add smb.conf entry for "winbind nested groups"
Jelmer Vernooij [Mon, 19 Apr 2004 20:28:44 +0000 (20:28 +0000)]
- "total print jobs" doesn't exist ("max print jobs" was meant)
- Fix note about spaces in smb.conf
Jelmer Vernooij [Mon, 19 Apr 2004 14:48:09 +0000 (14:48 +0000)]
Remove anoncvs instructions and replace them with svnanon instructions.
Gerald Carter [Fri, 16 Apr 2004 15:11:59 +0000 (15:11 +0000)]
adding the THANKS and history files back after talking to jht
Jelmer Vernooij [Sun, 11 Apr 2004 18:54:15 +0000 (18:54 +0000)]
Add script for extracting additional files
Jelmer Vernooij [Sun, 11 Apr 2004 18:51:31 +0000 (18:51 +0000)]
Fix developer documentation build
Jelmer Vernooij [Sun, 11 Apr 2004 13:50:54 +0000 (13:50 +0000)]
Remove autogenerated file
Andrew Bartlett [Sat, 10 Apr 2004 19:53:50 +0000 (19:53 +0000)]
Having killed it from Samba 3.0 and trunk, kill 'unicode' from samba-docs.
Andrew Bartlett
Jeremy Allison [Fri, 9 Apr 2004 20:13:21 +0000 (20:13 +0000)]
Added docs for new parameters.
Jeremy.
Jelmer Vernooij [Thu, 8 Apr 2004 22:19:02 +0000 (22:19 +0000)]
Fix docs build (remaining commits from SambaXP)
Alexander Bokovoy [Thu, 8 Apr 2004 13:18:48 +0000 (13:18 +0000)]
Another round of fixes (projdoc -> howto) for images
Alexander Bokovoy [Thu, 8 Apr 2004 12:37:02 +0000 (12:37 +0000)]
Document --require-membership-of={SID|Name}
Alexander Bokovoy [Thu, 8 Apr 2004 12:12:44 +0000 (12:12 +0000)]
Change 'release' target: remove 'htmlfaq' (outdated) and add 'guide'
Alexander Bokovoy [Thu, 8 Apr 2004 11:55:42 +0000 (11:55 +0000)]
Fix Development documentation as well
Alexander Bokovoy [Thu, 8 Apr 2004 11:18:59 +0000 (11:18 +0000)]
Fix samba-docs build after svn conversion and Samba3 By Example addition.
Now we are able to build everything in samba-docs properly.
Jelmer Vernooij [Wed, 7 Apr 2004 10:44:02 +0000 (10:44 +0000)]
Remove ignore files
Add missing build files
Jelmer Vernooij [Wed, 7 Apr 2004 10:40:50 +0000 (10:40 +0000)]
- Better names for some files
- Add the build system
Jelmer Vernooij [Wed, 7 Apr 2004 10:15:11 +0000 (10:15 +0000)]
Add all the source files from the old CVS tree,
add the 5 missing chapters from the HOWTO
and add jht's Samba by Example book.
Björn Jacke [Mon, 21 Apr 2008 10:44:13 +0000 (12:44 +0200)]
fix alignment bug hitting Solaris with "reset in zero vc" activated
Jim McDonough [Mon, 14 Apr 2008 13:15:19 +0000 (09:15 -0400)]
Fix build with glibc 2.8
Jeremy Allison [Sat, 12 Apr 2008 00:41:45 +0000 (17:41 -0700)]
Fix bug #5386, don't keep printing the same waiting
error message.
Jeremy.
Jeremy Allison [Sat, 12 Apr 2008 00:03:53 +0000 (17:03 -0700)]
Janitor for Michael :-).
util_tdb: fix a segfault caused by a fatal typo.
In tdb_wrap_log(), in on occurrence of "debug_level = 0"
instead of "debuglevel = 0" caused me segfaults when
accessing DEBUGLEVEL (which is defined as "*debug_level"...)
Michael
Volker Lendecke [Fri, 11 Apr 2008 09:34:33 +0000 (11:34 +0200)]
Fix bug 5366
Jeremy Allison [Thu, 10 Apr 2008 15:56:30 +0000 (08:56 -0700)]
Fix the last reported debian problem with nmbd not waiting
until interfaces come up.
Jeremy.
Karolin Seeger [Thu, 10 Apr 2008 08:38:41 +0000 (10:38 +0200)]
objectclass -> objectClass
Karolin
Karolin Seeger [Wed, 9 Apr 2008 14:17:03 +0000 (16:17 +0200)]
Fix some more typos.
Karolin
Karolin Seeger [Wed, 9 Apr 2008 14:05:13 +0000 (16:05 +0200)]
Remove trailing whitespace.
Karolin
Karolin Seeger [Wed, 9 Apr 2008 14:02:39 +0000 (16:02 +0200)]
Fix typos.
Karolin
Volker Lendecke [Wed, 9 Apr 2008 07:07:04 +0000 (09:07 +0200)]
Try anonymous session setup
... if there's no trust password
Attempt to fix bug 5350
Jeremy Allison [Tue, 8 Apr 2008 22:10:07 +0000 (15:10 -0700)]
Check x_fflush returns.
Jeremy.
Jeremy Allison [Tue, 8 Apr 2008 04:11:21 +0000 (21:11 -0700)]
Rewrite the wrap checks to deal with gcc 4.x optimisations.
Jeremy.
Karolin Seeger [Mon, 7 Apr 2008 13:48:58 +0000 (15:48 +0200)]
Fix comment.
Karolin
Bo Yang [Mon, 7 Apr 2008 13:21:42 +0000 (09:21 -0400)]
Only cache password policy results that worked, otherwise we
cannot login until the cache expires even if a connection
to a DC has been restored.
Jeremy Allison [Fri, 4 Apr 2008 22:28:18 +0000 (15:28 -0700)]
When using plaintext ucs2 passwords clistr_push calls ucs2_align, which causes
the space taken by the unicode password to be one byte too
long (as we're on an odd byte boundary here). Reduce the
count by 1 to cope with this. Fixes smbclient against NetApp
servers which can't cope. Fix from
bryan.kolodziej@allenlund.com in bug #3840.
Jeremy.
Jeremy Allison [Fri, 4 Apr 2008 18:14:15 +0000 (11:14 -0700)]
Fix bug #5372. With a large CUPS installation with a remote server, contacting
the server when searching for a name for the location and comment fields can
take so much time the client times out. When searching for a name we don't
use these fields anyway, so add a function get_a_printer_search() which
doesn't contact the CUPS server.
Jeremy.
Günther Deschner [Wed, 2 Apr 2008 00:29:48 +0000 (02:29 +0200)]
Fix NETLOGON credential chain with Windows 2008 all over the place.
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.
Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.
Guenther
Simo Sorce [Tue, 1 Apr 2008 22:25:47 +0000 (18:25 -0400)]
Fix trusted users on a DC that uses the old idmap syntax. There was no default backend therefore on IDs were mapped by default.
Jeremy Allison [Wed, 2 Apr 2008 18:23:38 +0000 (11:23 -0700)]
Fix MSDFS bug noticed by Ofir Azoulay <Ofir.Azoulay@expand.com>.
There is no reason to ensure the target host is ourselves, and
this breaks MS clients in some cases.
Jeremy.
Jeremy Allison [Fri, 28 Mar 2008 17:13:39 +0000 (10:13 -0700)]
Fix bug #5326 - OS/2 servers give strange "high word" replies for print jobs.
Jeremy.
Jeremy Allison [Thu, 27 Mar 2008 21:23:26 +0000 (14:23 -0700)]
Fix for termination problems when no interfaces found - bug #5267.
Jeremy.
Karolin Seeger [Thu, 27 Mar 2008 12:54:16 +0000 (13:54 +0100)]
A level 25 setuserinfo does change the pwdlastset.
Fix for bug #5336.
Port of Volker's
f65cb5d4b51e2e7b9b16b73e47cd2a8d55d5d4b0.
Karolin
Volker Lendecke [Wed, 26 Mar 2008 16:45:27 +0000 (17:45 +0100)]
Fix wbinfo -a trusted\\user%password on a Samba DC with trusts
Winbind can't be allowed to connect to the local smbd.
Günther Deschner [Wed, 26 Mar 2008 20:08:53 +0000 (21:08 +0100)]
Fix winbind NETLOGON cred chain on a samba dc for w2k8 trusts.
Guenther
Günther Deschner [Fri, 7 Dec 2007 15:19:34 +0000 (16:19 +0100)]
Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).
Guenther
(cherry picked from commit
970daaa0a620d8e47475909cd7b5e54869602530)
Kai Blin [Wed, 19 Mar 2008 23:38:32 +0000 (00:38 +0100)]
ntlm_auth: Improve compliance to the Squid helper protocol
This fixes bug #4235.
Patch from Pawel Worach <pawel.worach@gmail.com> with some updates for new
BH messages by me.
Volker Lendecke [Wed, 19 Mar 2008 14:01:30 +0000 (15:01 +0100)]
Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
Volker Lendecke [Fri, 14 Mar 2008 21:22:30 +0000 (22:22 +0100)]
Fix bug 5317
Thanks to oster@cs.usask.ca
Volker Lendecke [Fri, 14 Mar 2008 17:01:06 +0000 (18:01 +0100)]
Fix bug 4901
Thanks to Laurent Pinchart for bugging me
Stefan Metzmacher [Thu, 13 Mar 2008 08:09:49 +0000 (09:09 +0100)]
Merge commit 'origin/v3-0-stable' into v3-0-test
bring in the release-3-0-28a tag into the history
of v3-0-test... Sorry I messed up the last merge
which should have contained this already...
metze
Stefan Metzmacher [Thu, 13 Mar 2008 08:06:41 +0000 (09:06 +0100)]
VERSION: set version to 3.0.28b in v3-0-test
metze
Stefan Metzmacher [Thu, 13 Mar 2008 08:02:18 +0000 (09:02 +0100)]
Merge commit 'origin/v3-0-stable' into v3-0-test
excluding source/VERSION
metze
Michael Adam [Mon, 10 Mar 2008 10:40:27 +0000 (11:40 +0100)]
Fix build for pam_smbpass - one caller of _log_err().
Michael
Alexander Bokovoy [Wed, 16 Jan 2008 09:28:52 +0000 (12:28 +0300)]
Fix build for pam_smbpass
Signed-off-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit
dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f)
Gerald W. Carter [Sat, 8 Mar 2008 15:31:49 +0000 (09:31 -0600)]
Mark version as 3.0.28a
Gerald W. Carter [Sat, 8 Mar 2008 15:30:20 +0000 (09:30 -0600)]
Updating release notes for 3.0.28a
Volker Lendecke [Sat, 8 Mar 2008 09:27:03 +0000 (10:27 +0100)]
Work around a handle leak in XP 64 bit
We have to tell XP64 that we store unicode, otherwise some library will to a
findfirst before each createfile, leaking a directory handle each time.
Jeremy Allison [Fri, 7 Mar 2008 01:44:00 +0000 (17:44 -0800)]
Emit debug message at 0 (already fixed for 3.2).
Jeremy.
Jeremy Allison [Fri, 7 Mar 2008 01:40:53 +0000 (17:40 -0800)]
Fix bug #5267 - nmbd shuts down when network interfaces go down.
Cause nmbd to wait for an interface, in a mode where SIGTERM
will kills us (same way we wait on startup for an interface).
Jeremy.
Volker Lendecke [Thu, 6 Mar 2008 06:19:46 +0000 (07:19 +0100)]
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos
Jeremy Allison [Fri, 29 Feb 2008 14:55:48 +0000 (06:55 -0800)]
Patch to fix the "Invalid read of size 4" errors. Bug #3617.
Jeremy.
Jeremy Allison [Fri, 29 Feb 2008 13:56:32 +0000 (05:56 -0800)]
Fix part of bug #3617 from valgrind trace.
"Invalid read of size 1" errors.
Jeremy.
Andreas Schneider [Thu, 28 Feb 2008 13:19:51 +0000 (14:19 +0100)]
Rename the 'hidden' variable to 'administrative share'.
Jeremy Allison [Thu, 28 Feb 2008 10:41:01 +0000 (02:41 -0800)]
Fix possible uninitialized variable use.
Jeremy.
Jeremy Allison [Thu, 28 Feb 2008 10:26:16 +0000 (02:26 -0800)]
Fix from Guenter Kukkukk <linux@kukkukk.com> to fix listing against
OS/2 servers. OS/2 returns eclass == ERRDOS && ecode == ERRnofiles
for a zero entry directory listing.
Jeremy.
Steven Danneman [Wed, 27 Feb 2008 04:33:30 +0000 (20:33 -0800)]
Closed memory leak on error path.
Andreas Schneider [Fri, 22 Feb 2008 16:06:24 +0000 (17:06 +0100)]
Add variable to define if a share should be hidden.
If you create a share on a Windows machine called foo$ then this share is
of the type STYPE_DISKTREE. So it is possible to administrate this kind of
share. Tested on Windows NT and 2003.
In samba we assume that if a share with a $ at the end must be of the type
STYPE_DISKTREE_HIDDEN. This is wrong, so we need a variable in the config
to define if the share should be hidden or not.
Volker Lendecke [Mon, 25 Feb 2008 12:00:24 +0000 (13:00 +0100)]
Correctly check return of rename(2)
Bug 5279 -- Thanks to Max Matveev
Volker Lendecke [Mon, 25 Feb 2008 11:52:55 +0000 (12:52 +0100)]
Fix inotify detection
Bug 5271 -- thanks to Tiziano Müller
Volker Lendecke [Mon, 25 Feb 2008 08:51:33 +0000 (09:51 +0100)]
Fix confusing error message -- bug 5252
Thanks to Walter Franzini
Karolin Seeger [Fri, 8 Feb 2008 12:48:23 +0000 (13:48 +0100)]
Fix typo.
Karolin
Karolin Seeger [Tue, 19 Feb 2008 10:36:35 +0000 (11:36 +0100)]
Change ldap search filter. This function is also used to search machine accounts which may be located in a different ou.
Karolin
Jeremy Allison [Fri, 15 Feb 2008 01:43:34 +0000 (17:43 -0800)]
Ensure we call nt_status_squash() on returns. Smnall whitespace cleanup.
Jeremy.
Jeremy Allison [Fri, 15 Feb 2008 01:42:03 +0000 (17:42 -0800)]
Ensure we call auth_ntlmssp_end in invalidate_vuid and invalidate_partical_vuid.
Jeremy.
Jeremy Allison [Fri, 15 Feb 2008 01:41:06 +0000 (17:41 -0800)]
Allow a *NULL to be passed to auth_ntlmssp_end().
Jeremy.
Simo Sorce [Thu, 14 Feb 2008 16:53:59 +0000 (11:53 -0500)]
Revert "mount.cifs: fix several problems when mounting subdirectories of shares"
This reverts commit
e8f569735e2c0523efa175ca44dd919f838ae49e.
We found that this patch does not play well with currently released cifs.ko
code, so after discussions with Jeff Layton and Steve french we decided it
is best to back it off and re-think a better approach. Jeff will send new
patches later, but for now it is better to just revert to the previous code
Jeremy Allison [Thu, 14 Feb 2008 03:21:12 +0000 (19:21 -0800)]
Fix obscure bug where if client sends us the krb5 part
of a SPNEGO packet we could drop into the NTLMSSP
part of the processing. This fix only for 3.0.28a,
I have a proper SPNEGO negotiate fix for 3.2.
Jeremy
Jeremy Allison [Mon, 11 Feb 2008 17:53:31 +0000 (09:53 -0800)]
Back-port from vl.
Author: Volker Lendecke <vl@samba.org>
Date: Mon Feb 11 18:36:06 2008 +0100
Add a missing return
If I'm not completely blind, we should return here. Not doing it here seems not
to be a major flaw, as far as I can see we're only missing the error code. This
might account for some of the very unhelpful NT_STATUS_UNSUCCESSFUL error
messages people see during joins.
All with stake in Samba client, please check!
Jeremy Allison [Sat, 9 Feb 2008 00:05:08 +0000 (16:05 -0800)]
Fix bug #5247 "Wildcard expansion in mget is broken"
by making cur_dir an invarient ending in '\\' or '/'.
Will forward-port to 3.2 as the code is different here.
Jeremy.
Michael Adam [Wed, 6 Feb 2008 17:16:03 +0000 (18:16 +0100)]
Add configure check for LBER_LOG_PRINT_FN - to intercept ldap debug.
Use the resulting HAVE_LBER_LOG_PRINT_FN to determine whether we can
use it in init_ldap_debugging to intercept LDAP debug output and print
it out in the samba logs (controlled with "ldap debug level").
Michael
Michael Adam [Mon, 28 Jan 2008 13:47:01 +0000 (14:47 +0100)]
Add support for LDAP debug output in Samba log file.
Logging of the ldap libraries appears with a [LDAP] prefix
inside the samba logs. This is controlled by two new parameters:
* "ldap debug level" sets the debug level of the ldap libraries.
It is the bit-field as understood by the openldap server.
* "ldap debug threshold" is the samba debug level at which ldap
logging appears inside the samba logs.
This probably needs some configure tests since it makes
use of the LBER_OPT_LOG_PRINT_FN option to redirect the
debug output of the ldap libraries.
Michael
Jeremy Allison [Wed, 6 Feb 2008 23:24:01 +0000 (15:24 -0800)]
Move libads/util.o into the standard ADS list
from the server list.
Jeremy
Jeremy Allison [Wed, 6 Feb 2008 01:06:25 +0000 (17:06 -0800)]
Back-ported fix from 3.2 (mainly from Bo Yang <boyang@novell.com>)
to fix bad private_data pointer in winbindd_lookupname_async().
Jeremy.
Volker Lendecke [Sun, 3 Feb 2008 10:18:02 +0000 (11:18 +0100)]
Fix two memleaks
Thanks to Andreas Schneider <anschneider@suse.de> for nagging :-)
Jeremy Allison [Fri, 1 Feb 2008 22:54:19 +0000 (14:54 -0800)]
Ensure that convert_string_allocate() allocates 2 extra
bytes and null terminates them to ensure NDR wire-reads
of string types are always null terminated. Bug found by
Volker after great pain :-).
Jeremy.
Herb Lewis [Fri, 1 Feb 2008 20:47:01 +0000 (12:47 -0800)]
use correct path for ignored file
Simo Sorce [Fri, 1 Feb 2008 18:50:04 +0000 (13:50 -0500)]
Fix winbindd running on a Samba DC,
This patch make sure we do not try to contact smbd in the main dameon
to avoid deadlocks.
All the operations that require connecting to smbd are performed in
the domain child anyway.
Günther Deschner [Thu, 31 Jan 2008 12:05:36 +0000 (13:05 +0100)]
Enable v3-0-test to successfully join a windows 2008 domain controller.
This is hand-merged from a couple of commits from 3-2-test, cherry-picking was
hardly possible without importing all the ldap sign/seal work from metze.
Guenther
Gerald W. Carter [Mon, 28 Jan 2008 17:32:09 +0000 (11:32 -0600)]
Restrict the enctypes in the generated krb5.conf files to Win2003 types.
This fixes the failure observed on FC8 when joining a Windows 2008 RC1
domain. We currently do not handle user session keys correctly
when the KDC uses AES in the ticket replies.
Rafal Szczesniak [Wed, 29 Aug 2007 11:02:04 +0000 (11:02 +0000)]
r24771: Use infolevel 25 to set the machine account's password (just like winxp).
This correctly updates pwdLastSet field on win2k3 server.
rafal
Günther Deschner [Tue, 29 Jan 2008 22:53:49 +0000 (23:53 +0100)]
Fix build warning.
Guenther
Kai Blin [Mon, 28 Jan 2008 15:52:37 +0000 (16:52 +0100)]
idmap: Fix an incompatible pointer type warning.
Thanks to Simo for pointing me at the easier solution
Volker Lendecke [Sat, 26 Jan 2008 20:35:01 +0000 (21:35 +0100)]
Port SMB_FS_OBJECTID_INFORMATION from 3.2
Patch by Corinna Vinschen -- Thanks
Jeremy Allison [Fri, 25 Jan 2008 02:22:41 +0000 (18:22 -0800)]
Fix the same bug with user -> user_obj.
Jeremy.
Jeremy Allison [Fri, 25 Jan 2008 02:17:59 +0000 (18:17 -0800)]
Back port : Correctly set flags in ACE's inherited from parent.
Jeremy.
Jeremy Allison [Fri, 25 Jan 2008 02:13:20 +0000 (18:13 -0800)]
Fix a really subtle old, old bug :-). When canonicalizing the
NT ACL into a POSIX one, if the group being set is the primary group
of the file, map it into a SMB_ACL_GROUP_OBJ, not a SMB_ACL_GROUP.
Otherwise we get an extra bogus group entry in the POSIX ACL.
Jeremy.
Jeremy Allison [Fri, 25 Jan 2008 00:18:50 +0000 (16:18 -0800)]
Make explicit in debug we're ignoring flags from the parent SD.
Jeremy
Jeremy Allison [Thu, 24 Jan 2008 21:29:00 +0000 (13:29 -0800)]
Add debug messages to trace this if needed.
Jeremy.
Jeremy Allison [Thu, 24 Jan 2008 21:27:51 +0000 (13:27 -0800)]
The checks for OI and CI were just wrong.... Fix them. Thanks to
Jim for testing this.
Jeremy.
Jeremy Allison [Thu, 24 Jan 2008 21:27:26 +0000 (13:27 -0800)]
First part of fix for bug #4929 - worked out by jmcd.
Cope with protected ACL set correctly.
Jeremy.
Jeremy Allison [Thu, 24 Jan 2008 00:27:30 +0000 (16:27 -0800)]
Missed one flags change.
Jeremy.