[Samba] samba4 pdc: Import sudoers active directory schema to ldb

george Nopicture mad-proffessor at hotmail.com
Sat Jun 29 03:00:13 MDT 2013


Hi guys and congrats for bringing a fantastic project to the open source world. I' ve setup a samba4 pdc succefully and i am able to do domain logins. I was also able to add the automount schema into the ldb. But when it comes to sudoers schema i cant import it in. 
Further system details:
Debian wheezy 7,
samba 4.0.6 compiled from source,
sudo-ldap standard binary package from repos.
I have split the sudoers active directory schema that came with sudo to 2 ldifs(classSchema apart from attributeSchema) and tried to import them in but  i had no luck. I googled around but came up nothing about it.
This is the error i get:
ERR: (Invalid attribute syntax) "LDAP error 21 LDAP_INVALID_ATTRIBUTE_SYNTAX -  <0000200B: objectclass_attrs: attribute 'mayContain' on entry 'CN=sudoRole,CN=Schema,CN=Configuration,DC=example,DC=com' contains at least one invalid value!> <>" on DN CN=sudoRole,CN=Schema,CN=Configuration,DC=example,DC=com at block before line 31.
 
 		 	   		  


More information about the samba mailing list