]> git.samba.org - samba.git/log
samba.git
16 years agofix alignment bug hitting Solaris with "reset in zero vc" activated
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

16 years agoFix build with glibc 2.8
Jim McDonough [Mon, 14 Apr 2008 13:15:19 +0000 (09:15 -0400)]
Fix build with glibc 2.8

16 years agoFix bug #5386, don't keep printing the same waiting
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.

16 years agoJanitor for Michael :-).
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

16 years agoFix bug 5366
Volker Lendecke [Fri, 11 Apr 2008 09:34:33 +0000 (11:34 +0200)]
Fix bug 5366

16 years agoFix the last reported debian problem with nmbd not waiting
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.

16 years agoobjectclass -> objectClass
Karolin Seeger [Thu, 10 Apr 2008 08:38:41 +0000 (10:38 +0200)]
objectclass -> objectClass

Karolin

16 years agoFix some more typos.
Karolin Seeger [Wed, 9 Apr 2008 14:17:03 +0000 (16:17 +0200)]
Fix some more typos.

Karolin

16 years agoRemove trailing whitespace.
Karolin Seeger [Wed, 9 Apr 2008 14:05:13 +0000 (16:05 +0200)]
Remove trailing whitespace.

Karolin

16 years agoFix typos.
Karolin Seeger [Wed, 9 Apr 2008 14:02:39 +0000 (16:02 +0200)]
Fix typos.

Karolin

16 years agoTry anonymous session setup
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

16 years agoCheck x_fflush returns.
Jeremy Allison [Tue, 8 Apr 2008 22:10:07 +0000 (15:10 -0700)]
Check x_fflush returns.
Jeremy.

16 years agoRewrite the wrap checks to deal with gcc 4.x optimisations.
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.

16 years agoFix comment.
Karolin Seeger [Mon, 7 Apr 2008 13:48:58 +0000 (15:48 +0200)]
Fix comment.

Karolin

16 years agoOnly cache password policy results that worked, otherwise we
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.

16 years agoWhen using plaintext ucs2 passwords clistr_push calls ucs2_align, which causes
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.

16 years agoFix bug #5372. With a large CUPS installation with a remote server, contacting
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.

16 years agoFix NETLOGON credential chain with Windows 2008 all over the place.
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

16 years agoFix trusted users on a DC that uses the old idmap syntax. There was no default backen...
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.

16 years agoFix MSDFS bug noticed by Ofir Azoulay <Ofir.Azoulay@expand.com>.
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.

16 years agoFix bug #5326 - OS/2 servers give strange "high word" replies for print jobs.
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.

16 years agoFix for termination problems when no interfaces found - bug #5267.
Jeremy Allison [Thu, 27 Mar 2008 21:23:26 +0000 (14:23 -0700)]
Fix for termination problems when no interfaces found - bug #5267.
Jeremy.

16 years agoA level 25 setuserinfo does change the pwdlastset.
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

16 years agoFix wbinfo -a trusted\\user%password on a Samba DC with trusts
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.

16 years agoFix winbind NETLOGON cred chain on a samba dc for w2k8 trusts.
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

16 years agoAdd NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).
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)

16 years agontlm_auth: Improve compliance to the Squid helper protocol
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.

16 years agoFix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
Volker Lendecke [Wed, 19 Mar 2008 14:01:30 +0000 (15:01 +0100)]
Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>

16 years agoFix bug 5317
Volker Lendecke [Fri, 14 Mar 2008 21:22:30 +0000 (22:22 +0100)]
Fix bug 5317

Thanks to oster@cs.usask.ca

16 years agoFix bug 4901
Volker Lendecke [Fri, 14 Mar 2008 17:01:06 +0000 (18:01 +0100)]
Fix bug 4901

Thanks to Laurent Pinchart for bugging me

16 years agoMerge commit 'origin/v3-0-stable' into v3-0-test
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

16 years agoVERSION: set version to 3.0.28b in v3-0-test
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

16 years agoMerge commit 'origin/v3-0-stable' into v3-0-test
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

16 years agoFix build for pam_smbpass - one caller of _log_err().
Michael Adam [Mon, 10 Mar 2008 10:40:27 +0000 (11:40 +0100)]
Fix build for pam_smbpass - one caller of _log_err().

Michael

16 years agoFix build for pam_smbpass
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)

16 years agoMark version as 3.0.28a samba-3.0.28a
Gerald W. Carter [Sat, 8 Mar 2008 15:31:49 +0000 (09:31 -0600)]
Mark version as 3.0.28a

16 years agoUpdating release notes for 3.0.28a
Gerald W. Carter [Sat, 8 Mar 2008 15:30:20 +0000 (09:30 -0600)]
Updating release notes for 3.0.28a

16 years agoWork around a handle leak in XP 64 bit
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.

16 years agoEmit debug message at 0 (already fixed for 3.2).
Jeremy Allison [Fri, 7 Mar 2008 01:44:00 +0000 (17:44 -0800)]
Emit debug message at 0 (already fixed for 3.2).
Jeremy.

16 years agoFix bug #5267 - nmbd shuts down when network interfaces go down.
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.

16 years agoRespect FAMChanged -- attempt to fix bug 5307
Volker Lendecke [Thu, 6 Mar 2008 06:19:46 +0000 (07:19 +0100)]
Respect FAMChanged -- attempt to fix bug 5307

Thanks to Ricardo Santos

16 years agoPatch to fix the "Invalid read of size 4" errors. Bug #3617.
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.

16 years ago Fix part of bug #3617 from valgrind trace.
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.

16 years agoRename the 'hidden' variable to 'administrative share'.
Andreas Schneider [Thu, 28 Feb 2008 13:19:51 +0000 (14:19 +0100)]
Rename the 'hidden' variable to 'administrative share'.

16 years agoFix possible uninitialized variable use.
Jeremy Allison [Thu, 28 Feb 2008 10:41:01 +0000 (02:41 -0800)]
Fix possible uninitialized variable use.
Jeremy.

16 years agoFix from Guenter Kukkukk <linux@kukkukk.com> to fix listing against
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.

16 years agoClosed memory leak on error path.
Steven Danneman [Wed, 27 Feb 2008 04:33:30 +0000 (20:33 -0800)]
Closed memory leak on error path.

16 years agoAdd variable to define if a share should be hidden.
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.

16 years agoCorrectly check return of rename(2)
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

16 years agoFix inotify detection
Volker Lendecke [Mon, 25 Feb 2008 11:52:55 +0000 (12:52 +0100)]
Fix inotify detection

Bug 5271 -- thanks to Tiziano Müller

16 years agoFix confusing error message -- bug 5252
Volker Lendecke [Mon, 25 Feb 2008 08:51:33 +0000 (09:51 +0100)]
Fix confusing error message -- bug 5252

Thanks to Walter Franzini

16 years agoFix typo.
Karolin Seeger [Fri, 8 Feb 2008 12:48:23 +0000 (13:48 +0100)]
Fix typo.

Karolin

16 years agoChange ldap search filter. This function is also used to search machine accounts...
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

16 years agoEnsure we call nt_status_squash() on returns. Smnall whitespace cleanup.
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.

16 years agoEnsure we call auth_ntlmssp_end in invalidate_vuid and invalidate_partical_vuid.
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.

16 years agoAllow a *NULL to be passed to auth_ntlmssp_end().
Jeremy Allison [Fri, 15 Feb 2008 01:41:06 +0000 (17:41 -0800)]
Allow a *NULL to be passed to auth_ntlmssp_end().
Jeremy.

16 years agoRevert "mount.cifs: fix several problems when mounting subdirectories of shares"
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

16 years agoFix obscure bug where if client sends us the krb5 part
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

16 years agoBack-port from vl.
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!

16 years agoFix bug #5247 "Wildcard expansion in mget is broken"
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.

16 years agoAdd configure check for LBER_LOG_PRINT_FN - to intercept ldap debug.
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

16 years agoAdd support for LDAP debug output in Samba log file.
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

16 years agoMove libads/util.o into the standard ADS list
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

16 years agoBack-ported fix from 3.2 (mainly from Bo Yang <boyang@novell.com>)
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.

16 years agoFix two memleaks
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 :-)

16 years agoEnsure that convert_string_allocate() allocates 2 extra
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.

16 years agouse correct path for ignored file
Herb Lewis [Fri, 1 Feb 2008 20:47:01 +0000 (12:47 -0800)]
use correct path for ignored file

16 years agoFix winbindd running on a Samba DC,
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.

16 years agoEnable v3-0-test to successfully join a windows 2008 domain controller.
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

16 years agoRestrict the enctypes in the generated krb5.conf files to Win2003 types.
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.

16 years agor24771: Use infolevel 25 to set the machine account's password (just like winxp).
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

16 years agoFix build warning.
Günther Deschner [Tue, 29 Jan 2008 22:53:49 +0000 (23:53 +0100)]
Fix build warning.

Guenther

16 years agoidmap: Fix an incompatible pointer type warning.
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

16 years agoPort SMB_FS_OBJECTID_INFORMATION from 3.2
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

16 years agoFix the same bug with user -> user_obj.
Jeremy Allison [Fri, 25 Jan 2008 02:22:41 +0000 (18:22 -0800)]
Fix the same bug with user -> user_obj.
Jeremy.

16 years agoBack port : Correctly set flags in ACE's inherited from parent.
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.

16 years agoFix a really subtle old, old bug :-). When canonicalizing the
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.

16 years agoMake explicit in debug we're ignoring flags from the parent SD.
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

16 years agoAdd debug messages to trace this if needed.
Jeremy Allison [Thu, 24 Jan 2008 21:29:00 +0000 (13:29 -0800)]
Add debug messages to trace this if needed.
Jeremy.

16 years agoThe checks for OI and CI were just wrong.... Fix them. Thanks to
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.

16 years agoFirst part of fix for bug #4929 - worked out by jmcd.
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.

16 years agoMissed one flags change.
Jeremy Allison [Thu, 24 Jan 2008 00:27:30 +0000 (16:27 -0800)]
Missed one flags change.
Jeremy.

16 years agoAdded :
Jeremy Allison [Wed, 23 Jan 2008 23:24:57 +0000 (15:24 -0800)]
Added :

Author: Jeremy Allison <jra@samba.org>
Date:   Wed Jan 23 15:23:16 2008 -0800

    Don't leak memory in error path.
    Jeremy.

Author: Jeremy Allison <jra@samba.org>
Date:   Wed Jan 23 15:00:40 2008 -0800

    Use strchr_m in seaching for '.' in the hostname to make sure we're mb safe.
    Jeremy.

Author: Andreas Schneider <anschneider@suse.de>
Date:   Thu Jan 17 11:35:40 2008 +0100

    Fix Windows 2008 (Longhorn) join.

    During 'net ads join' the cli->desthost is a hostname (e.g.
    rupert.galaxy.site). Check if we have a hostname and use only the
    first part, the machine name, of the string.

Author: Andreas Schneider <anschneider@suse.de>
Date:   Thu Jan 17 10:11:11 2008 +0100

    Windows 2008 (Longhorn) auth2 flag fixes.

    Interop fixes for AD specific flags. Original patch from Todd Stetcher.

16 years agoVersion of Matt Geddes <musicalcarrion@gmail.com>
Jeremy Allison [Wed, 23 Jan 2008 21:55:13 +0000 (13:55 -0800)]
Version of Matt Geddes <musicalcarrion@gmail.com>
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.

16 years agoFix get_trust_creds() to return always an upper-cased krb5 principal (this
Günther Deschner [Wed, 23 Jan 2008 11:03:51 +0000 (12:03 +0100)]
Fix get_trust_creds() to return always an upper-cased krb5 principal (this
fixes winbind krb5 session at least with heimdal).

Guenther

16 years agoCopy the 3.2 version of string_replace to 3.0
Volker Lendecke [Tue, 22 Jan 2008 10:54:31 +0000 (11:54 +0100)]
Copy the 3.2 version of string_replace to 3.0

There are several callers in 3.0 that don't give a pstring to string_replace,
thus it will end up in segfaults like the one reported by Sergio Pires
<suporte@grupovdl.com.br> on samba@samba.org. The 3.2 version of string_replace
does not have the pstring assumption anymore.

Jeremy, Jerry, please check!

Thanks,

Volker

16 years agoFix build warning.
Günther Deschner [Mon, 21 Jan 2008 15:33:40 +0000 (16:33 +0100)]
Fix build warning.

Guenther

16 years agoActually test vl's new code and make it work to fix the build farm :-).
Jeremy Allison [Sat, 19 Jan 2008 02:39:29 +0000 (18:39 -0800)]
Actually test vl's new code and make it work to fix the build farm :-).
Jeremy.

16 years agoBack port vl's fix for nlink counts.
Jeremy Allison [Sat, 19 Jan 2008 01:57:31 +0000 (17:57 -0800)]
Back port vl's fix for nlink counts.
Jeremy.

16 years agoFix two uninitialized variables in vfs_hpuxacl.c
Volker Lendecke [Thu, 17 Jan 2008 16:17:52 +0000 (17:17 +0100)]
Fix two uninitialized variables in vfs_hpuxacl.c

Thanks to David Leonard <David.Leonard@quest.com>, this fixes bug 5208.

Volker

16 years agolibsmb: Do not upper-case target name on NTLMv2 hash generation
Kai Blin [Tue, 15 Jan 2008 18:28:23 +0000 (19:28 +0100)]
libsmb: Do not upper-case target name on NTLMv2 hash generation

This makes our NTLMv2 hash generation compatible to the Davenport example
and fixes a bug when ntlm_auth is called with a non-upper-case --domain
parameter and client ntlmv2 auth = yes

Jerry, please consider for 3.0.28a

16 years agoFix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org>.
Michael Adam [Mon, 14 Jan 2008 14:45:46 +0000 (15:45 +0100)]
Fix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org>.

Michael

16 years agoEnable building the notify_fam module.
Michael Adam [Wed, 9 Jan 2008 23:47:10 +0000 (00:47 +0100)]
Enable building the notify_fam module.

Found by Timur I. Bakeyev <timur@com.bat.ru>.

Michael

16 years agoCorrect comment. Default debug level of smbclient is 1, not 0.
Karolin Seeger [Tue, 8 Jan 2008 18:21:26 +0000 (19:21 +0100)]
Correct comment. Default debug level of smbclient is 1, not 0.

16 years agoensure uni_name.buffer is initialised
Volker Lendecke [Wed, 9 Jan 2008 06:59:12 +0000 (07:59 +0100)]
ensure uni_name.buffer is initialised

merge from http://samba.org/~tridge/3_0-ctdb

16 years agoFix coverity resource leak on error.
Jeremy Allison [Wed, 9 Jan 2008 02:47:29 +0000 (18:47 -0800)]
Fix coverity resource leak on error.
Jeremy.

16 years agoFix resource leak on error found by coverity.
Jeremy Allison [Wed, 9 Jan 2008 02:43:48 +0000 (18:43 -0800)]
Fix resource leak on error found by coverity.
Jeremy.

16 years agoMerge branch 'v3-0-test' of ssh://jra@git.samba.org/data/git/samba into v3-0-test
Jeremy Allison [Wed, 9 Jan 2008 01:59:46 +0000 (17:59 -0800)]
Merge branch 'v3-0-test' of ssh://jra@git.samba.org/data/git/samba into v3-0-test

16 years agoAdd missing quote. Fix bug 5172. Thanks to Jason Filley <jason@snakelegs.org> for...
Karolin Seeger [Tue, 8 Jan 2008 11:23:25 +0000 (12:23 +0100)]
Add missing quote. Fix bug 5172. Thanks to Jason Filley <jason@snakelegs.org> for reporting!

Karolin

16 years agoUsing a bool with a logical operation. IBM checker caught.
Jeremy Allison [Sat, 5 Jan 2008 07:18:42 +0000 (23:18 -0800)]
Using a bool with a logical operation. IBM checker caught.
Jeremy.