| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
samu_set_unix() does not use the rid allocator, but forces to use the
algoritmic allocator unconditionally, this is wrong and inconsistent.
Use samu_alloc_rid_unix() instead.
(If we create a new user we should do it in a way consistent with all
other commands like pdbedit -a and net rpc user add.)
(cherry picked from commit e1d4db8f55b25c7e9c408cb334fb89ccfd4c6565)
Signed-off-by: Michael Adam <obnox@samba.org>
This fixes bug #6628.
|
|
|
|
|
|
| |
With the previous code, the cache can never have been hit at all.
Michael
|
|
|
|
|
|
|
|
| |
This is aiming bug #6351.
Karolin
(cherry picked from commit c94d1cd7b1dc3ff99ae5a1eb9058ed6015fb9749)
(cherry picked from commit 11ed212591d612632fcb47f1eac10507b89ffdec)
|
|
|
|
|
|
|
|
| |
Invalid pointers were being dereferenced in lookup_sids causing
occasional seg faults.
Signed-off-by: Tim Prouty <tprouty@samba.org>
(cherry picked from commit 34ca12c9396f7c8475cd1525bdbc40021b0e533f)
|
|
|
|
|
| |
this is a backport of f238809d236443b8968e1b4b197a55935c7c7e85 from master
(cherry picked from commit 1b040289f14bb22d3b6ab07a452236549d6c9bf6)
|
|
|
|
|
| |
Zagrebin <alexz@visp.ru>.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes sure the original and temporary TDBs are closed
_before_ the rename. Originally, the open TDB was renamed, and so
the name passdb.tdb.tmp stayed around in the db context. Hence
upon client connect, the smbd children died because reinit_after_fork()
calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which
existed no longer...
Michael
|
|
|
|
|
|
|
| |
3 but using a different hash calculation than 3.2.x passwd
databases (also version 3). Introduces a minor version
number.
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
correctly. For the clustering case.
Clustered setups should have only ever used
the unsigned version of TDB_DATA in the
first place so they can't be in this mess :-).
Just do the normal upgrade in the clustered case.
Jeremy.
|
|
|
|
|
|
|
| |
A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with
NT_STATUS_INVALID_SID, even if other SIDs in the list are valid.
Thanks to Pavel <wylda@volny.cz> for the bug report!
|
|
|
|
|
|
|
|
|
| |
correctly.
This is a really nasty one to fix as in order to successfully update the
passdb.tdb we must do the equivalent of a tdbbackup to move to the new hash
values before we do the upgrade.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Guenther
|
|
|
|
|
| |
This is an orthogonality measure to make clear this pointer now belongs to the
cache.
|
|
|
|
|
|
| |
on a problem found by Boyang. Only the pdb_nds backend implements login attempts so this was broken for tdbsam and ldap.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
(cherry picked from commit 9b863a10da8762f715c16f147d6cd1e79422d248)
|
|
|
|
|
|
|
| |
retieve -> retrieve
Karolin
(cherry picked from commit 37c64130701ab13b6f34998ac17fec2d128c2e08)
|
| |
|
| |
|
|
|
|
|
| |
Coverity ID 570
(cherry picked from commit 0f52dc3f7eae7e87b8a71bd099b99b0b3e76a387)
|
|
|
|
|
| |
Coverity ID 571
(cherry picked from commit a551773e34af1c118f77784a285e1b885da8655d)
|
|
|
|
|
| |
Fix Coverity ID 572, also fix the error check for secrets_fetch failing
(cherry picked from commit 2663c81a782fd4394a9feaaaa987c7f6d38ca5da)
|
|
|
|
|
|
|
|
|
|
|
|
| |
looking up trust credentials in our tdb.
commit fd0ae47046d37ec8297396a2733209c4d999ea91
Author: Steven Danneman <sdanneman@isilon.com>
Date: Thu May 8 13:34:49 2008 -0700
Use machine account and machine password from our domain when
contacting trusted domains.
(cherry picked from commit 69b37ae60757075a0712149c5f97f17ee22c2e41)
|
|
|
|
| |
Always, always run "make test" before pushing stuff :-)
|
|
|
|
|
| |
When we're given a SID, it is not always padded with zeros. Only look at the
initialized parts in the SID.
|
|
|
|
| |
metze
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
This prevents possible races with some dbwrap backends
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Another preparation to convert secrets.c to dbwrap: The dbwrap API does not
provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC
mutex is needed per-node anyway, so it is perfectly fine to use a local mutex
only.
|
|
|
|
| |
This is preparing the conversion of secrets.c to ctdb
|
| |
|
|
|
|
| |
secrets_init() makes sure that the tdb is initialized
|
| |
|
|
|
|
| |
(cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72)
|
|
|
|
|
|
| |
Karolin, this needs to be in 3-2-stable.
Guenther
|
|
|
|
| |
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
|
|
|
|
|
|
| |
accounts which may be located in a different ou. This is an extension to e71a48bb80cee85afcccacbce2884c0d600f4d72.
Karolin
|
|
|
|
| |
Guenther
|