From: Chris R. <chr...@me...> - 2002-03-05 17:44:30
|
Armin Fuerst <ar...@co...> wrote: > $ldapresults=$ldapconnection->add ($dn,attr=>['objectClass'=>['top', > 'person', > 'ciscoocUser', > 'dcdPerson', > 'organizationalPerson', > 'inetOrgPerson']]); You haven't specified any other attributes in the entry, so the server should have rejected the add operation. The entry has an RDN of cn=BBBB, so you *must* at least have a cn attribute, which you haven't specified. (The server does not infer it from the RDN.) The person object class requires that you specify the sn attribute, and I'm not sure what ciscoocUser and dcdPerson require; are there any content rules which permit the absence of these mandatory attributes? Cheers, Chris |