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

Gémes Géza geza at kzsdabas.hu
Sat Jun 29 22:49:26 MDT 2013

2013-06-29 11:00 keltezéssel, george Nopicture írta:
> 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.
First: I've cc-ed samba-technical as extending the schema is still an 
experimental feature.
Second: it would be helpful to be able to look at the ldif files you try 
to load (messages like block before line 31 doesn't make too much sense 
without it)


Geza Gemes

More information about the samba mailing list