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

<!-- The base DN containing users that can be SASL authenticated. --> searchBaseDn value default to an non existent DN into the default ADS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • None
    • None

    Description

      When launching the server without any configuration, each bind request produce an exception because the ConigureChain is looking for a searchBaseDn entry, which default to "ou=users,dc=example,dc=com" in server.xml :
      <!-- The base DN containing users that can be SASL authenticated. -->
      <property name="searchBaseDn" value="ou=users,dc=example,dc=com" />

      There are two problems with this value

      • this DN does not exists in the DIT, so the lookup will always fail
      • when using SIMPLE authentication, the server should not issue a lookup fo this DN which is dedicated to SASL, AFAIK.

      Note that the documentation is not clear about what is this searchBaseDN :
      "The single location where entries are stored. The definition of "entries" depends on the protocol. For example, for LDAP, Kerberos, and Change Password, entries are users for purposes of authentication. For DNS, entries are resource records. If this property is not set the store will search the system partition configuration for catalog entries. Catalog support is highly experimental and is only tested in the OSGi build of ApacheDS using the Config Admin service."

      We are using partitions to store data, "ou=system" is one of those partition, "dc=example, dc=com" is another one, but as partitions should not overlap,
      "ou=users,dc=example,dc=com" can't be a partition. Of course, if this is a partition, which is not clear for me reading the above explanaition.

      It would be good to improve this part of the doco for better clarity.

      Attachments

        Activity

          People

            enriquer9 Enrique Rodriguez
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: