[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 14:25:23 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pleas review:

I've split these out for easier reading but they should really
all be tested in combination.  The full tree with all changes is
at http://www.samba.org/~jerry/bzr/samba-3-0.dev.passdb

Description of individual patches at http://www.samba.org/~jerry/patches
The complete patch is passdb_changes_full.patch.


pdb_context.patch
=================

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.


primary_group.patch, domain_users
=================================

Probably the more controversial portion of the patch.  Granted this
was an experiment.  Given the results from testing against standalone
Windows servers, the RID 513 always resolves.  This patch does 2 things.
First ensures that this RID always resolves.  Secondly, it sets
the primary group membership of a user to be S-1-5-....-513 if the
currently assigned primary group cannot be successfully be mapped to
a Unix gid.


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.







cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD7fPTIR7qMdg1EfYRAvOoAJ4+Up/nNQTMKaIO1lK2e12TSvBqowCgpScd
rUGax3D4YlBVEVVJl/6UOfY=
=pMVU
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list