Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0.1
-
None
Description
If you create an entry and select a bad attribuet as a RDN, you can't anymore add the entry even if you select a good attribute :
- create a new entry
- select the 'person' OC
- enter 'givenname' with a value (test)
- update the 'cn' and 'sn' values
- click on 'finish'
you get this error :
Error while creating entry
[LDAP: error code 65 - failed to add entry givenname=test,dc=example,dc=com: Attribute givenname not declared in objectClasses of entry givenname=test,dc=example,dc=com]
[LDAP: error code 65 - failed to add entry givenname=test,dc=example,dc=com: Attribute givenname not declared in objectClasses of entry givenname=test,dc=example,dc=com]
which is plain normal because 'givenname' is not in MUST or MAY for person.
- come back to the distinguished name menu
- now select 'cn' and keep the same value (test)
- and move to the next menu : the 'finish' button is not available.
Beside this bug, it would be better to forbid the usage of attributes which are not in MUST and MAY list.