[PATCH] Improve Samba4's LDB consistancy

Stefan (metze) Metzmacher metze at samba.org
Mon Oct 29 09:22:55 GMT 2007


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

Stefan (metze) Metzmacher schrieb:
> Hi Andrew,
> 
>> I've modified the objectclass module to improve consistency in Samba4.
> 
>> The aim here is to ensure that if we have
> 
>> CN=Users,DC=samba,DC=example,DC=com
> 
>> that we cannot have a DN of the form
> 
>> cn=admin ,cn=useRS,DC=samba,DC=example,DC=com
> 
>> This module pulls apart the DN, fixes up the relative DN part, and
>> searches for the parent to copy the base from.
> 
>> I've used the objectclass module, as I intend to also validate the
>> placement of child objects, by reading the allowedChildClasses virtual
>> attribute. 
> 
>> In the future, I'll also force the attribute names to be consistant
>> (using the case from the schema). 
>

Please also take a look at

dsdb/samdb/ldb_modules/repl_meta_data.c line 370...

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHJaZvm70gjA5TCD8RAppIAJ49dlTKwczE2zU015D7LdaUuyEYhQCfaCj3
u7PE7GI20FQ+rAlcNs8YXFQ=
=57ih
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list