Samba4 LDAP Integration


I am turning crazy. I try to integrate Asterisk 11.5.1 into Samba4 LDAP, but when I import the ldif file from contrib directory I get this error.

ldbmodify -H /usr/local/samba/private/sam.ldb asterisk.ldif --option=“dsdb:schema update allowed”=true
ERR: (No such object) “objectclass: Cannot add cn=asterisk,cn=schema,cn=config, parent does not exist!” on DN cn=asterisk,cn=schema,cn=config at block before line 835
Modify failed after processing 0 records

LDAP and Asterisk are in diferents boxes. Please can someone help me?

Thank you in advance! :smiley: