Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1115

server-jndi: org.apache.directory.server.configuration.ApacheDS throws java.lang.IllegalStateException: Names used for principals must be normalized!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 1.5.2
    • None
    • None
    • Win 2003 Server, Sun JDK 1.5.1_11

    Description

      Alex suggested:

      " I recommend you proceed like so for now:

      (1) get a handle on the DirectoryService
      (2) access the attributeType registry via directoryService.getRegistries().getAttributeTypeRegistry()
      (3) from the attribute type registry access the normalizer map getNormalizerMap() or something like that
      (4) feed this into the dn.normalize() method of the dn you feed into LdapPrincipal"

      This fixes the runtime problem.

        • In addition, I'd like to request the method setLdifFilters() is made public so an embedded application can continue to provide them (as was the case with 1.0 and 1.5.1) **

      I'm not a committer but will attach a patch file. Would you please consider and apply the patch?

      Attachments

        1. ds.patch
          1 kB
          Simon Temple

        Activity

          People

            Unassigned Unassigned
            simont Simon Temple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: