Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-222

Pb when creating an entry with an invalid atribute as a RDN

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1.0
    • Component/s: studio-ldapbrowser
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              pamarcelot Pierre-Arnaud Marcelot
              Reporter:
              elecharny Emmanuel Lecharny
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: