[Date Prev][Date Next]
Re: ldap_add_s: Object class violation when I add an alias entry into ldap server.
>> I got the following result:
>> adding new entry cn=A2,ou=Customers,o=ChinaTelecom,c=cn
>> ldap_add_s: Object class violation
> I don't know how aliasObject is defined, but you'll get that error if it
> is a structural object class which is not a subclass of "alias".
Um. I suddenly got unsure about that one.
Maybe the problem is that you added 'cn' but did not add an objectclass
which allows 'cn'. In any case, extensibleObject should fix it.