[PATCH] removal of pdb_context, fallback to RID 513 for primary
group, cleanup of pdb_tdb.c
Gerald (Jerry) Carter
jerry at samba.org
Sat Feb 11 21:02:22 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeremy Allison wrote:
> On Sat, Feb 11, 2006 at 08:25:23AM -0600, Gerald (Jerry) Carter wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>>
>> Cleanup and removal of the odb_context data structure. This means
>> that we will no longer support chaining passdb backends. This patch
>> also replaces the guest passdb backend with a simple internal creation
>> of the guest SAM_ACCOUNT.
>
> Please, please check this in ! I love all the '--' on the context
> stuff :-) :-).
Volker's already waiting on it. I'm checking it in now.
>> pdb_tdb.patch
>> =============
>>
>> Move tdbsam to a single TDB_CONTEXT* rather than open close on a per
>> query basis. Since a tdb can only be open once per process, the current
>> method does not work with recursion.
>
> Only problem with this is possibility for problems on
> crash/abnormal termination. If we go this route we need to
> look seriously at the transactional tdb code from Samba4,
> or add an idle event handler that closes this db.
That's a very good point. I'll look into the transactional code.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD7lDeIR7qMdg1EfYRAj+4AKCZacdPs6hijOsq8oVu5kwgvZKjeACgwTVU
VcLn7JQ3f/PuBChNjfVjxoM=
=G81d
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list