[Samba] LDAP schema extended samba 4.19.0

Omnis ludis - games sergey.gortinsc17 at gmail.com
Fri May 31 13:43:36 UTC 2024


I solved my problem myself, it helped me to add this ldif to the circuit
dn: CN=nisMailAlias,CN=Schema,CN=Configuration,DC=soft,DC=biz
changetype: modify
add: possSuperiors
possSuperiors: container
that is, I added support for containers and after that I was able to add
all entries with nisMailAliases for cn

пт, 31 мая 2024 г. в 15:59, Omnis ludis - games <sergey.gortinsc17 at gmail.com
>:

> I expanded my schema and am trying to add these entries to ldap
> dn: cn=test,ou=soft_users,dc=soft,dc=biz
> cn: test
> objectClass: nisMailAlias
> objectClass: top
> rfc822MailMember: test at ml.soft.com
> but I get the following error
> ldbadd -H /opt/samba/private/sam.ldb mail3.ldif
> ERR: Naming violation : "structural objectClass nisMailAlias is not a
> valid child class for OU=soft_users,DC=soft,DC=biz" on DN
> cn=test,ou=soft_users,dc=soft,dc=biz
> how can I fix this error and add objects to ldap?
>


More information about the samba mailing list