[Samba] ldbadd: objectclass top is not a valid objectClass

Marcio Vogel Merlone dos Santos marcio.merlone at a1.ind.br
Fri Aug 17 16:11:34 UTC 2018


Trying to add an OU via ldbadd but I get the following error:

root at araucaria:~# ldbadd --url=/var/lib/samba/private/sam.ldb /root/ou.ldif
ERR: No such attribute : "objectclass topĀ  is not a valid objectClass in 
schema" on DN OU=A1,DC=ad,DC=a1,DC=ind,DC=br at block before line 4
Add failed after processing 0 records
root at araucaria:~#

root at araucaria:~# cat /root/ou.ldif
dn: OU=A1,DC=ad,DC=a1,DC=ind,DC=br
objectClass: top
objectClass: organizationalunit
description: A1 Engenharia
root at araucaria:~#

DC=ad,DC=a1,DC=ind,DC=br already exists.

Any hint?

*Marcio Merlone*

More information about the samba mailing list