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

Re: Can not add aliases with schema checking on (ITS#3017)

> Full_Name: Tom Hallam
> Version: 2.1.25
> OS: Solaris
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> If schema checking is on you can not add an alias as the server refuses
> to add an object without a valid naming attribute.
>     naming attribute 'uid' is not present in entry
> If you try to add the attribute it refuses to add it as it is not valid
> for the alias object class.
>     attribute 'uid' not allowed
> This behaviour seems to have changed from version 2.1.12
> Turning schema checking off fixes issue.
> Naming attributes should not be required for aliases when schema
> checking is on.

This is not a bug in OpenLDAP's software;
it might be considered a flaw in alias

As a workaround, add

objectClass: extensibleObject
uid: <your entry's naming uid>

to the entry.


Pierangelo Masarati