[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap 2.1 and alias/referral



Ricardo Kirkner writes:
> dn: uid=myuser,ou=branchB,o=myorg
> objectClass: alias
> aliasedObjectName: uid=myuser,ou=branchA,o=myorg
> 
> I get an error telling me that the uid attribute is missing.

Yes, the uid from the RDN must be present in the object.

> If I add the uid attribute to the ldif, I get an error telling me that
> the uid attribute is not allowed.

Yes, you need an object class which allows uid, e.g. 'extensibleObject'
which allows any attribute.

-- 
Hallvard