Netscape Directory Server

Description

The password value can be plaintext, or the xor encoded value of the password.

<server description="LdapRegistry sample configuration">

    <!-- NOTE: This file is for reference only. -->

    <!-- Enable appSecurity-2.0 and ldapRegistry-3.0 features -->
    <featureManager>
        <feature>appSecurity-2.0</feature>
        <feature>ldapRegistry-3.0</feature>
    </featureManager>

    <!-- Sample configuration for LdapRegistry of the Netscape Directory Server type.
         The password value can be plaintext, or the xor encoded value of the password. -->

    <ldapRegistry id="netscapeDirectoryServerLDAP" realm="SampleLdapNetscapeDirectoryRealm" host="host.domain.com" port="389" ignoreCase="true" baseDN="o=domain,c=us" ldapType="Netscape Directory Server">
      
      <netscapeFilters userFilter="(&(uid=%v)(objectclass=inetOrgPerson))" groupFilter="(&(cn=%v)(|(objectclass=groupOfNames)(objectclass=groupOfUniqueNames)))" userIdMap="inetOrgPerson:uid" groupIdMap="*:cn" groupMemberIdMap="groupOfNames:member;groupOfUniqueNames:uniqueMember"/>
      
      <contextPool enabled="true" initialSize="1" maxSize="0" timeout="0ms" waitTime="3000ms" preferredSize="3"/>
      <ldapCache>
        <attributesCache size="4000" timeout="1200ms" enabled="true" sizeLimit="2000"/>
        <searchResultsCache size="2000" timeout="600ms" enabled="true" resultsSizeLimit="1000"/>
      </ldapCache>
    </ldapRegistry>
    
</server>