[Samba] Modifying the AD scheme, how?

Rowland Penny rowlandpenny at googlemail.com
Fri Mar 14 05:22:37 MDT 2014

On 14/03/14 10:53, Sven Schwedas wrote:
> I'm trying to add schema extensions to my Samba (4.1.5) server, as per
>> https://wiki.samba.org/index.php/Samba4/Schema_extenstions
> However, importing the example file (after replacing the DOMAIN_TOP_DN)
> fails:
>> $ ldbmodify -H sam.ldb /tmp/automount.ldif  --option="dsdb:schema update allowed"=true
>> Unable to find attribute automountMapName in the schema
>> ERR: (Invalid attribute syntax) "objectclass_attrs: attribute 'mustContain' on entry 'CN=automountMap,CN=Schema,CN=Configuration,DC=ad,DC=tao,DC=at' contains at least one invalid value!" on DN CN=automountMap,CN=Schema,CN=Configuration,DC=ad,DC=tao,DC=at at block before line 53
>> Modify failed after processing 3 records
> automountMapName is the first record in the file and should have been
> processed.
> Is there something wrong with the LDIF example, or where else could the
> error be?
Yes there is something wrong with the ldif, it should be two, move the 
last two parts (the objectClasses) to a new ldif. Now add the attributes 
ldif, then the objectclass ldif, this should work.


More information about the samba mailing list