svn commit: samba r25750 - in branches/SAMBA_4_0: source/dsdb/samdb/ldb_modules source/scripting/libjs testprogs/ejs

abartlet at samba.org abartlet at samba.org
Mon Oct 29 21:25:30 GMT 2007


Author: abartlet
Date: 2007-10-29 21:25:26 +0000 (Mon, 29 Oct 2007)
New Revision: 25750

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25750

Log:
Update 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).  

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c
   branches/SAMBA_4_0/source/scripting/libjs/provision.js
   branches/SAMBA_4_0/testprogs/ejs/ldap.js


Changeset:
Sorry, the patch is too large (781 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25750


More information about the samba-cvs mailing list