]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
17 years agor21759: Fix the same bug in a more elegant way, strrchr_m
Jeremy Allison [Thu, 8 Mar 2007 03:00:42 +0000 (03:00 +0000)] 
r21759: Fix the same bug in a more elegant way, strrchr_m
is an expensive call....
Jeremy.

17 years agor21758: Fix a very specific dfs bug when passing in POSIX
Jeremy Allison [Thu, 8 Mar 2007 02:51:41 +0000 (02:51 +0000)] 
r21758: Fix a very specific dfs bug when passing in POSIX
pathnames. When we're working out how much we've
consumed we need to backtrack by either a '/' or '\\'
component, as both are valid separators.
Jeremy.

17 years agor21757: Add SMB_VFS_CHFLAGS operation.
James Peach [Thu, 8 Mar 2007 01:40:49 +0000 (01:40 +0000)] 
r21757: Add SMB_VFS_CHFLAGS operation.

17 years agor21756: An invarient the dfs code depended on for POSIX paths
Jeremy Allison [Wed, 7 Mar 2007 23:58:40 +0000 (23:58 +0000)] 
r21756: An invarient the dfs code depended on for POSIX paths
is no longer true, so fix it.
Jeremy.

17 years agor21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy Allison [Wed, 7 Mar 2007 22:29:21 +0000 (22:29 +0000)] 
r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.

17 years agor21754: Volker is completely correct. There's no need for
Jeremy Allison [Wed, 7 Mar 2007 22:12:58 +0000 (22:12 +0000)] 
r21754: Volker is completely correct. There's no need for
the RESOLVE_DFSPATH macros and their varients
any more. Fix reporting profile bug with all
error returns.
Jeremy.

17 years agor21753: Enable building ndrdump with the builtin popt. Jelmer, please check!
Volker Lendecke [Wed, 7 Mar 2007 21:13:51 +0000 (21:13 +0000)] 
r21753: Enable building ndrdump with the builtin popt. Jelmer, please check!

17 years agor21750: Sync up with SAMBA_3_0_25. Only client changes are in libsmbclient
Jeremy Allison [Wed, 7 Mar 2007 19:45:22 +0000 (19:45 +0000)] 
r21750: Sync up with SAMBA_3_0_25. Only client changes are in libsmbclient
right now.
Jeremy.

17 years agor21748: More cosmetic alignment. One change to call_nt_transact_create(): We were
Volker Lendecke [Wed, 7 Mar 2007 14:25:07 +0000 (14:25 +0000)] 
r21748: More cosmetic alignment. One change to call_nt_transact_create(): We were
asking open_file_ntcreate for a batch oplock if the client asked us to do so,
even if it did not ask for an oplock in the first place. Did not test it, but
I think this is bogus anyway.

Volker

17 years agor21747: Cosmetic checkin to bring ntcreate and nttranscreate closer together
Volker Lendecke [Wed, 7 Mar 2007 13:57:32 +0000 (13:57 +0000)] 
r21747: Cosmetic checkin to bring ntcreate and nttranscreate closer together

17 years agor21738: Remove unused file.
James Peach [Wed, 7 Mar 2007 05:09:37 +0000 (05:09 +0000)] 
r21738: Remove unused file.

17 years agor21734: Fix bug #4369. Patch from David Leonard <dleonard@vintela.com>.
Jeremy Allison [Wed, 7 Mar 2007 02:27:54 +0000 (02:27 +0000)] 
r21734: Fix bug #4369. Patch from David Leonard <dleonard@vintela.com>.
Jeremy.

17 years agor21731: Fix long-standing bug in our chain processing code.
Jeremy Allison [Wed, 7 Mar 2007 01:28:19 +0000 (01:28 +0000)] 
r21731: Fix long-standing bug in our chain processing code.
Should fix a bug with WinPE. Probably a candidate
for the Vista patchset.
Jeremy.

17 years agor21726: Fix stupid cut-n-paste typo. Thanks to volker for
Jeremy Allison [Tue, 6 Mar 2007 22:14:09 +0000 (22:14 +0000)] 
r21726: Fix stupid cut-n-paste typo. Thanks to volker for
being on the ball..... :-).
Jeremy.

17 years agor21725: Fix for memalign used without test guards. Was
Jeremy Allison [Tue, 6 Mar 2007 22:01:03 +0000 (22:01 +0000)] 
r21725: Fix for memalign used without test guards. Was
breaking the build on *BSD's. Tested by Herb.
Jeremy.

17 years agor21724: Optimization pointed out by Volker. If we don't
Jeremy Allison [Tue, 6 Mar 2007 21:59:51 +0000 (21:59 +0000)] 
r21724: Optimization pointed out by Volker. If we don't
have any outstanding locks or blocking locks then
we don't need to read the lock db. on close.
Jeremy.

17 years agor21723: Make use of the per-hashchain "freelists"
Volker Lendecke [Tue, 6 Mar 2007 10:40:18 +0000 (10:40 +0000)] 
r21723: Make use of the per-hashchain "freelists"

17 years agor21722: Add the dead record functionality presented on samba-technical@samba.org. If
Volker Lendecke [Tue, 6 Mar 2007 10:11:15 +0000 (10:11 +0000)] 
r21722: Add the dead record functionality presented on samba-technical@samba.org. If
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.

Volker

17 years agor21717: Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
James Peach [Tue, 6 Mar 2007 00:54:05 +0000 (00:54 +0000)] 
r21717: Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.

17 years agor21715: Fix torture utime code.
Jeremy Allison [Tue, 6 Mar 2007 00:20:32 +0000 (00:20 +0000)] 
r21715: Fix torture utime code.
Jeremy.

17 years agor21714: Change the VFS interface to use struct timespec
Jeremy Allison [Mon, 5 Mar 2007 23:40:03 +0000 (23:40 +0000)] 
r21714: Change the VFS interface to use struct timespec
for utimes - change the call to ntimes. This preserves
nsec timestamps we get from stat (if the system supports
it) and only maps back down to usec or sec resolution
on time set. Looks bigger than it is as I had to move
lots of internal code from using time_t and struct utimebuf
to struct timespec.
Jeremy.

17 years agor21706: get_delete_on_close_flag() is the perfect candidate for tdb_parse_record()
Volker Lendecke [Mon, 5 Mar 2007 20:09:27 +0000 (20:09 +0000)] 
r21706: get_delete_on_close_flag() is the perfect candidate for tdb_parse_record()

17 years agor21705: add modify rights defines
Herb Lewis [Mon, 5 Mar 2007 18:27:20 +0000 (18:27 +0000)] 
r21705: add modify rights defines

17 years agor21704: open sockets immediately in process_loop
Herb Lewis [Mon, 5 Mar 2007 18:20:36 +0000 (18:20 +0000)] 
r21704: open sockets immediately in process_loop

17 years agor21703: fix build when O_SYNC not defined
Herb Lewis [Mon, 5 Mar 2007 17:02:20 +0000 (17:02 +0000)] 
r21703: fix build when O_SYNC not defined

17 years agor21672: The cannonical file access pattern should look like this :
Jeremy Allison [Sat, 3 Mar 2007 01:35:58 +0000 (01:35 +0000)] 
r21672: The cannonical file access pattern should look like this :

srvstr_get_path(inbuf, name, smb_buf(inbuf) + 1, sizeof(name), 0, STR_TERMINATE, &status);
if (!NT_STATUS_IS_OK(status)) {
return ERROR_NT(status);
}

RESOLVE_DFSPATH(name, conn, inbuf, outbuf);

status = unix_convert(conn, name, False, NULL, &sbuf);
if (!NT_STATUS_IS_OK(status)) {
return ERROR_NT(status);
}

status = check_name(conn, name);
if (!NT_STATUS_IS_OK(status)) {
return ERROR_NT(status);
}

Make sure that every access pattern (including the
wildcard generated paths from unlink, rename, and copy)
do the same. Tidy things up a bit....

Jeremy.

17 years agor21667: posix_unlink should break existing oplocks.
Jeremy Allison [Fri, 2 Mar 2007 23:06:53 +0000 (23:06 +0000)] 
r21667: posix_unlink should break existing oplocks.
Jeremy.

17 years agor21666: (only in 3.0, not 3.0.25). Fix bad parameter to call.
Jeremy Allison [Fri, 2 Mar 2007 23:04:44 +0000 (23:04 +0000)] 
r21666: (only in 3.0, not 3.0.25). Fix bad parameter to call.
Jeremy.

17 years agor21665: Fix bug #4428 reported by Jason Mader <jason@ncac.gwu.edu>.
Jeremy Allison [Fri, 2 Mar 2007 22:19:53 +0000 (22:19 +0000)] 
r21665: Fix bug #4428 reported by Jason Mader <jason@ncac.gwu.edu>.
Jeremy.

17 years agor21664: Fix #4425 - patch from Jason Mader <jason@ncac.gwu.edu>.
Jeremy Allison [Fri, 2 Mar 2007 20:56:18 +0000 (20:56 +0000)] 
r21664: Fix #4425 - patch from Jason Mader <jason@ncac.gwu.edu>.
Jeremy

17 years agor21663: Fix from the Wine guys: Robert Shearman <rob@codeweavers.com>
Jeremy Allison [Fri, 2 Mar 2007 20:15:11 +0000 (20:15 +0000)] 
r21663: Fix from the Wine guys: Robert Shearman <rob@codeweavers.com>
The background behind this patch is that we're using ntlm_auth with
Wine. Windows allows us to pass in a NULL domain and a username of the
form of "user@domain" and this is converted into an NTLMSSP_AUTH packet
with a NULL domain name and a username of the same form.
Jeremy.

17 years agor21657: get rid of warning - not everyone understands %F
Herb Lewis [Fri, 2 Mar 2007 15:08:09 +0000 (15:08 +0000)] 
r21657: get rid of warning - not everyone understands %F

17 years agor21655: Regenerate after pidl bugfix.
Jelmer Vernooij [Fri, 2 Mar 2007 14:26:19 +0000 (14:26 +0000)] 
r21655: Regenerate after pidl bugfix.

17 years agor21652: Fix samba3-specific initialization
Jelmer Vernooij [Fri, 2 Mar 2007 13:10:12 +0000 (13:10 +0000)] 
r21652: Fix samba3-specific initialization

17 years agor21651: Add ndrdump to samba 3. This only works from external source at the
Jelmer Vernooij [Fri, 2 Mar 2007 12:54:37 +0000 (12:54 +0000)] 
r21651: Add ndrdump to samba 3. This only works from external source at the
moment. To use, use something like:

./bin/ndrdump -l bin/smbd winreg winreg_EnumValue in <filename>

or to see what functions are available:

./bin/ndrdump -l bin/smbd winreg

17 years agor21647: Allow unit on for size parameters.
James Peach [Fri, 2 Mar 2007 03:51:22 +0000 (03:51 +0000)] 
r21647: Allow unit on for size parameters.

17 years agor21646: Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp>
Jeremy Allison [Thu, 1 Mar 2007 23:57:37 +0000 (23:57 +0000)] 
r21646: Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp>
- add minsize parameter. Bug #4409.
Jeremy.

17 years agor21645: Make posix_unlink work - on open files too !
Jeremy Allison [Thu, 1 Mar 2007 23:03:46 +0000 (23:03 +0000)] 
r21645: Make posix_unlink work - on open files too !
Jeremy.

17 years agor21644: Allow mkdir on platforms with no O_DIRECTORY.
Jeremy Allison [Thu, 1 Mar 2007 22:44:02 +0000 (22:44 +0000)] 
r21644: Allow mkdir on platforms with no O_DIRECTORY.
Add proper debug to all possible setfilepathinfo
functions.
Jeremy.

17 years agor21643: Put the correct bits on the wire for posix_mkdir.
Jeremy Allison [Thu, 1 Mar 2007 22:15:30 +0000 (22:15 +0000)] 
r21643: Put the correct bits on the wire for posix_mkdir.
We're not yet deleting open files on unlink. Investigating...
Jeremy.

17 years agor21642: Fix bug 4365. Please note that this was only tested with Vista so far, it
Volker Lendecke [Thu, 1 Mar 2007 22:12:49 +0000 (22:12 +0000)] 
r21642: Fix bug 4365. Please note that this was only tested with Vista so far, it
needs testing with other clients as well. I'm afraid I'm visiting a conference
tomorrow and saturday, so I'd be happy to get support in this.

Thanks,

Volker

17 years agor21641: Add test code for POSIX pathname calls into smbclient.
Jeremy Allison [Thu, 1 Mar 2007 21:56:54 +0000 (21:56 +0000)] 
r21641: Add test code for POSIX pathname calls into smbclient.
Jeremy.

17 years agor21640: Fix the build for broken platoforms without O_DIRECT or O_DIRECTORY.
Jeremy Allison [Thu, 1 Mar 2007 21:36:05 +0000 (21:36 +0000)] 
r21640: Fix the build for broken platoforms without O_DIRECT or O_DIRECTORY.
Jeremy.

17 years agor21639: Add in implementations of POSIX open/mkdir/unlink/rmdir.
Jeremy Allison [Thu, 1 Mar 2007 21:05:29 +0000 (21:05 +0000)] 
r21639: Add in implementations of POSIX open/mkdir/unlink/rmdir.
Jeremy.

17 years agor21638: Change POSIX_UNLINK to allow clients to differentiate
Jeremy Allison [Thu, 1 Mar 2007 21:01:22 +0000 (21:01 +0000)] 
r21638: Change POSIX_UNLINK to allow clients to differentiate
between unlink/rmdir calls.
Jeremy.

17 years agor21637: Get "password never expires" account policy working.
Jim McDonough [Thu, 1 Mar 2007 20:52:14 +0000 (20:52 +0000)] 
r21637: Get "password never expires" account policy working.
0x8000000000000000LL is "infinity" to NT and should
not be converted numerically to time_t.

17 years agor21636: Was almost right before. We have to specify the short domain name to get the
Gerald Carter [Thu, 1 Mar 2007 19:22:31 +0000 (19:22 +0000)] 
r21636: Was almost right before.  We have to specify the short domain name to get the
Krb5 config stuff to work in the server affinity settings.

17 years agor21635: Don't free talloc()'d memory. I wish people would check the callers
Gerald Carter [Thu, 1 Mar 2007 18:48:52 +0000 (18:48 +0000)] 
r21635: Don't free talloc()'d memory.  I wish people would check the callers
when changing how memory is allocated.

17 years agor21633: First real fix from me found during the bug hunt.
Gerald Carter [Thu, 1 Mar 2007 14:44:25 +0000 (14:44 +0000)] 
r21633: First real fix from me found during the bug hunt.

ads_cached_connection() does not call get_dc_name()
before ads_connect() and therefore does not setup
the environment to look at krb5.conf.DOMAIN file
before sending the TGT request.  The failure I'm seeing
occurs ni a multi-DC domain where we get back preuath
failed after we just joined the domain.

17 years agor21632: Remove ununsed variable
Gerald Carter [Thu, 1 Mar 2007 14:34:06 +0000 (14:34 +0000)] 
r21632: Remove ununsed variable

17 years agor21626: Fix memory leak on error path noticed by
Gerald Carter [Thu, 1 Mar 2007 05:52:38 +0000 (05:52 +0000)] 
r21626: Fix memory leak on error path noticed by
SATOH Fumiyasu <fumiya@samba.gr.jp>

17 years agor21623: Fix copy/paste error
Simo Sorce [Thu, 1 Mar 2007 05:17:33 +0000 (05:17 +0000)] 
r21623: Fix copy/paste error

17 years agor21622: Fix bad merge caught by James.
Gerald Carter [Thu, 1 Mar 2007 04:58:52 +0000 (04:58 +0000)] 
r21622: Fix bad merge caught by James.

17 years agor21616: Delay initialization of idmap and nss_info backends until necessary
Gerald Carter [Thu, 1 Mar 2007 03:16:38 +0000 (03:16 +0000)] 
r21616: Delay initialization of idmap and nss_info backends until necessary
so they can honor the offline logon state.

17 years agor21615: don't wait until the last second to try to renew a Krb5 ticket as it is took...
Gerald Carter [Thu, 1 Mar 2007 03:15:22 +0000 (03:15 +0000)] 
r21615: don't wait until the last second to try to renew a Krb5 ticket as it is took late

17 years agor21614: The memset() called on aligned memory was causing crashes
Gerald Carter [Thu, 1 Mar 2007 03:14:20 +0000 (03:14 +0000)] 
r21614: The memset() called on aligned memory was causing crashes
on x86_64 Linux boxes.  Since it is not needed, just use malloc()
on Linux.

17 years agor21613: perform variable subsitution on home directories and shells provided by the...
Gerald Carter [Thu, 1 Mar 2007 03:12:16 +0000 (03:12 +0000)] 
r21613: perform variable subsitution on home directories and shells provided by the nss_info backend

17 years agor21612: Make pam_winbind do the same username fixup on AIX as the WINBINDD
Gerald Carter [Thu, 1 Mar 2007 03:10:29 +0000 (03:10 +0000)] 
r21612: Make pam_winbind do the same username fixup on AIX as the WINBINDD
LAM module does to work around a system that does not support
>8 character usernames.  Without the change, pam_winbind tries
to authenticate _#uid in the domain.

17 years agor21611: I'm not entirely sure about this patch but it is working.
Gerald Carter [Thu, 1 Mar 2007 03:07:57 +0000 (03:07 +0000)] 
r21611: I'm not entirely sure about this patch but it is working.
su - DOM\user was unable to set the process crendentials
without listing the "id" and other attributes in the attrlist[].
More fixes to come, but I didn't want this to get lost.

17 years agor21610: put libraries preceeding the @SONAMEFLAG@ variable as on AIX this ends up...
Gerald Carter [Thu, 1 Mar 2007 03:05:51 +0000 (03:05 +0000)] 
r21610: put libraries preceeding the @SONAMEFLAG@ variable as on AIX this ends up commenting out the remainder of the line and we have missing libraries in the link

17 years agor21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
Jeremy Allison [Thu, 1 Mar 2007 02:43:33 +0000 (02:43 +0000)] 
r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.

17 years agor21608: Fix a couple of memleaks in error code paths before
Jeremy Allison [Thu, 1 Mar 2007 01:17:36 +0000 (01:17 +0000)] 
r21608: Fix a couple of memleaks in error code paths before
Coverity finds them :-)
Jeremy.

17 years agor21607: While committing I saw I had not newline terminated this string ...
Simo Sorce [Thu, 1 Mar 2007 00:50:56 +0000 (00:50 +0000)] 
r21607: While committing I saw I had not newline terminated this string ...

17 years agor21606: Implement escaping function for ldap RDN values
Simo Sorce [Thu, 1 Mar 2007 00:49:28 +0000 (00:49 +0000)] 
r21606: Implement escaping function for ldap RDN values
Fix escaping of DN components and filters around the code
Add some notes to commandline help messages about how to pass DNs

revert jra's "concistency" commit to nsswitch/winbindd_ads.c, as it was
incorrect.
The 2 functions use DNs in different ways.

- lookup_usergroups_member() uses the DN in a search filter,
and must use the filter escaping function to escape it
Escaping filters that include escaped DNs ("\," becomes "\5c,") is the
correct way to do it (tested against W2k3).

- lookup_usergroups_memberof() instead uses the DN ultimately as a base dn.
Both functions do NOT need any DN escaping function as DNs can't be reliably
escaped when in a string form, intead each single RDN value must be escaped
separately.

DNs coming from other ldap calls (like ads_get_dn()), do not need escaping as
they come already escaped on the wire and passed as is by the ldap libraries

DN filtering has been tested.
For example now it is possible to do something like:
'net ads add user joe#5' as now the '#' character is correctly escaped when
building the DN, previously such a call failed with Invalid DN Syntax.

Simo.

17 years agor21605: Fix small typo noticed by Raúl Sánchez Siles <rss@barracuda.es>.
Jeremy Allison [Thu, 1 Mar 2007 00:22:51 +0000 (00:22 +0000)] 
r21605: Fix small typo noticed by Raúl Sánchez Siles <rss@barracuda.es>.
Jeremy.

17 years agor21604: I got this wrong also in libsmb :-(.
Jeremy Allison [Wed, 28 Feb 2007 22:29:14 +0000 (22:29 +0000)] 
r21604: I got this wrong also in libsmb :-(.
Jeremy.

17 years agor21603: Horrible backwards compatibility hack as an old server bug
Jeremy Allison [Wed, 28 Feb 2007 21:59:39 +0000 (21:59 +0000)] 
r21603: Horrible backwards compatibility hack as an old server bug
allowed a CIFS client bug to remain unnoticed :-(.
I suck.
Jeremy.

17 years agor21581: Add an error code I just got
Volker Lendecke [Wed, 28 Feb 2007 09:04:05 +0000 (09:04 +0000)] 
r21581: Add an error code I just got

17 years agor21577: Remove unneeded #define (part of earlier patch that was
Jeremy Allison [Wed, 28 Feb 2007 00:38:49 +0000 (00:38 +0000)] 
r21577: Remove unneeded #define (part of earlier patch that was
removed).
Jeremy.

17 years agor21576: Patch based on work from Todd Stecher <todd.stecher@isilon.com>
Jeremy Allison [Wed, 28 Feb 2007 00:35:58 +0000 (00:35 +0000)] 
r21576: Patch based on work from Todd Stecher <todd.stecher@isilon.com>
to allow client to fragment large SPNEGO blobs (large krb5
tickets). Tested against W2K3R2. Should fix bug #4400.
Jeremy.

17 years agor21569: Fix bug reported by Martin Zielinski <mz@seh.de>
Jeremy Allison [Tue, 27 Feb 2007 22:04:23 +0000 (22:04 +0000)] 
r21569: Fix bug reported by Martin Zielinski <mz@seh.de>
where return value was incorrectly initialized.
Jeremy.

17 years agor21566: If we're going to be broken, at least be *consistently*
Jeremy Allison [Tue, 27 Feb 2007 20:34:10 +0000 (20:34 +0000)] 
r21566: If we're going to be broken, at least be *consistently*
broken :-). This will do until Simo fixes the escape
calls properly.
Jeremy.

17 years agor21565: Import ndrdump (doesn't compile yet, needs table support functions).
Jelmer Vernooij [Tue, 27 Feb 2007 18:52:38 +0000 (18:52 +0000)] 
r21565: Import ndrdump (doesn't compile yet, needs table support functions).

17 years agor21563: Fix a memleak: We only need dispinfo structs for "our" and for the builtin
Volker Lendecke [Tue, 27 Feb 2007 17:21:21 +0000 (17:21 +0000)] 
r21563: Fix a memleak: We only need dispinfo structs for "our" and for the builtin
domain. Without this patch we leaked a DISPINFO for the (NULL) domain per
samr_connect*() call.

Volker

17 years agor21562: Regenerate gen_ndr after pidl changes.
Jelmer Vernooij [Tue, 27 Feb 2007 17:17:16 +0000 (17:17 +0000)] 
r21562: Regenerate gen_ndr after pidl changes.

17 years agor21561: It makes absolutely no sense to call krb5_kt_resolve() two times
Günther Deschner [Tue, 27 Feb 2007 14:24:49 +0000 (14:24 +0000)] 
r21561: It makes absolutely no sense to call krb5_kt_resolve() two times
directly after another.

Guenther

17 years agor21560: Convert name_to_fqdn to BOOL.
Günther Deschner [Tue, 27 Feb 2007 13:42:15 +0000 (13:42 +0000)] 
r21560: Convert name_to_fqdn to BOOL.

Guenther

17 years agor21558: Safe more indent, again no code changes.
Günther Deschner [Tue, 27 Feb 2007 13:31:42 +0000 (13:31 +0000)] 
r21558: Safe more indent, again no code changes.

Guenther

17 years agor21557: indent only fix. No code change.
Günther Deschner [Tue, 27 Feb 2007 13:27:31 +0000 (13:27 +0000)] 
r21557: indent only fix. No code change.

Guenther

17 years agor21556: Remove superfluos return check in ads_keytab_verify_ticket().
Günther Deschner [Tue, 27 Feb 2007 13:25:42 +0000 (13:25 +0000)] 
r21556: Remove superfluos return check in ads_keytab_verify_ticket().

Guenther

17 years agor21552: Ensure to check for proto_exists before linking any binary. No make
Lars Müller [Mon, 26 Feb 2007 23:07:54 +0000 (23:07 +0000)] 
r21552: Ensure to check for proto_exists before linking any binary.  No make
proto should be required before creating any binary from now on.

Remove proto_exists from the all, pam_smbpass, and pam_bindind rule.

17 years agor21551: Ok, this is more subtle. More tomorrow :-)
Volker Lendecke [Mon, 26 Feb 2007 23:06:17 +0000 (23:06 +0000)] 
r21551: Ok, this is more subtle. More tomorrow :-)

17 years agor21550: make disp_info_list static to get_samr_dispinfo_by_sid(), add a comment :-)
Volker Lendecke [Mon, 26 Feb 2007 22:48:42 +0000 (22:48 +0000)] 
r21550: make disp_info_list static to get_samr_dispinfo_by_sid(), add a comment :-)

17 years agor21549: Only create DISP_INFO structs for domain handles, the others don't need
Volker Lendecke [Mon, 26 Feb 2007 22:44:24 +0000 (22:44 +0000)] 
r21549: Only create DISP_INFO structs for domain handles, the others don't need
them. It just does not make sense to do a querydispinfo on an alias handle...

This fixes a memleak: Every samr_connect*() call leaked a DISP_INFO for the
(NULL) sid.

More cleanup pending: Essentially, we only need the DISP_INFO cache for the
get_global_sam_sid() domain. BUILTIN is fixed and small enough, and there are
no other domains around where enumerations could happen.

This also removes the explicit builtin_domain flags. I don't think this is
worth it. If this makes a significant difference, then we have a *VERY* tuned
RPC layer...

Jeremy, please check this. If it's ok, we might want to merge it across.

Volker

17 years agor21548: prevent segv (reference to -1 element of array)
Herb Lewis [Mon, 26 Feb 2007 22:19:23 +0000 (22:19 +0000)] 
r21548: prevent segv (reference to -1 element of array)

17 years agor21547: Fix from Michael Adam <ma@sernet.de>: Refuse registry shares without path.
Volker Lendecke [Mon, 26 Feb 2007 20:14:35 +0000 (20:14 +0000)] 
r21547: Fix from Michael Adam <ma@sernet.de>: Refuse registry shares without path.

Thanks,

Volker

17 years agor21546: remove duplicate lines
Herb Lewis [Mon, 26 Feb 2007 17:43:45 +0000 (17:43 +0000)] 
r21546: remove duplicate lines

17 years agor21543: Fix 64bit build warning.
Günther Deschner [Mon, 26 Feb 2007 16:37:19 +0000 (16:37 +0000)] 
r21543: Fix 64bit build warning.

Guenther

17 years agor21540: Fix Bug #3713 and readd reporting what the profiles tool does (when
Günther Deschner [Mon, 26 Feb 2007 13:07:34 +0000 (13:07 +0000)] 
r21540: Fix Bug #3713 and readd reporting what the profiles tool does (when
called with the -v option).

Patch from William Jojo <jojowil@hvcc.edu>.

Guenther

17 years agor21537: Avoid to trigger the confusing "cached entry differs." warning when
Günther Deschner [Mon, 26 Feb 2007 09:53:35 +0000 (09:53 +0000)] 
r21537: Avoid to trigger the confusing "cached entry differs." warning when
there is just no cache around for a user.

Guenther

17 years agor21536: Fix copy/paste typo.
Günther Deschner [Mon, 26 Feb 2007 09:46:05 +0000 (09:46 +0000)] 
r21536: Fix copy/paste typo.

Guenther

17 years agor21530: Don't code with jet-lag and Volker looking over your
Jeremy Allison [Sun, 25 Feb 2007 09:04:06 +0000 (09:04 +0000)] 
r21530: Don't code with jet-lag and Volker looking over your
shoulder.... Correct fix for warning :-)
Jeremy.

17 years agor21529: Fix warning from bad cast.
Jeremy Allison [Sun, 25 Feb 2007 09:00:37 +0000 (09:00 +0000)] 
r21529: Fix warning from bad cast.
Jeremy.

17 years agor21526: Fix stray character in sys_memalign() that is only
Gerald Carter [Sat, 24 Feb 2007 13:03:59 +0000 (13:03 +0000)] 
r21526: Fix stray character in sys_memalign() that is only
is the case where we don't have memalign() or posix_memalign().

17 years agor21525: Go ahead and checkin the mlock() & memalign() fixes so
Gerald Carter [Sat, 24 Feb 2007 12:40:43 +0000 (12:40 +0000)] 
r21525: Go ahead and checkin the mlock() & memalign() fixes so
others don't get stuck with the winbindd hang.
Still waiting on additional confirmation from Guenther
that this fixes thes issues he was observing as well.
But it's been running in my local tree for a day without
problems.

17 years agor21517: Fix build warnings.
Günther Deschner [Fri, 23 Feb 2007 11:53:43 +0000 (11:53 +0000)] 
r21517: Fix build warnings.

Guenther

17 years agor21509: Merge lp_passdb_backend() from rev 21506 to 3_0_25.
Lars Müller [Thu, 22 Feb 2007 23:12:36 +0000 (23:12 +0000)] 
r21509: Merge lp_passdb_backend() from rev 21506 to 3_0_25.

Slightly change the DEBUG 0 message as suggested by Volker on
samba-technical.

17 years agor21508: Fix memleak in new idmap_tdb, thanks Herb.
Simo Sorce [Thu, 22 Feb 2007 21:59:54 +0000 (21:59 +0000)] 
r21508: Fix memleak in new idmap_tdb, thanks Herb.

Jerry please check.

Simo.

17 years agor21507: Fix some "cannot access LDAP when no root" bugs.
Gerald Carter [Thu, 22 Feb 2007 20:52:27 +0000 (20:52 +0000)] 
r21507: Fix some "cannot access LDAP when no root" bugs.
The two culprits were

* pdb_get_account_policy()
* pdb_get_group_sid()

17 years agor21506: Allow old pre 3.0.22 multi passdb backend configurations to work with
Lars Müller [Thu, 22 Feb 2007 17:52:23 +0000 (17:52 +0000)] 
r21506: Allow old pre 3.0.22 multi passdb backend configurations to work with
post 3.0.23.

This implementation considers spaces in ldapsam configs.  Such configs
are trunkated after the closing quote.