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

Map SASL principals to DNs for ACI validation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0-RC1
    • aci, authn
    • None

    Description

      SASL authentication is not useful when using access control entries for authorization. Access control is based on a user's DN, but SASL principals/userIDs do not appear to be automatically mapped to the appropriate user's DN. For example, if I authentication using GSSAPI as the user 'aKrbUser', whose credentials are stored in entry uid=aKrbUser,dc=example,dc=com, the user should be authenticated to the directory and mapped to uid=aKrbUser,dc=example,dc=com for access control validation.

      See OpenLDAP's sasl-regexp parameter in slapd.conf for reference. Example:

      sasl-regexp cn=(.*),cn=example.com,cn=gssapi,cn=auth ldap:///dc=example,dc=com??sub?(uid=$1)

      In OpenLDAP, the above line would search the directory context dc=example,dc=com for an entry where the uid attribute value matches the GSSAPI user ID and assign assign the entry's DN as the binddn.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nulbyte Aaron J Angel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: