[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 and OpenLDAP (looking for an example ld

egandt do-not-reply at jboss.com
Mon Jul 2 16:21:58 EDT 2007


OpenLDAP connection from ldap_identity-config.xml:

  |   <options>
  |       <option-group>
  |          <group-name>common</group-name>
  |          <option>
  |             <name>userCtxDN</name>
  |             <value>ou=People,dc=fatwire.com</value>
  |          </option>
  |          <option>
  |             <name>uidAttributeID</name>
  |             <value>cn</value>
  |          </option>
  |          <option>
  |             <name>passwordAttributeID</name>
  |             <value>userPassword</value>
  |          </option>
  | 
  |          <option>
  |             <name>roleCtxDN</name>
  |             <value>ou=Groups,dc=fatwire,dc=com</value>
  |          </option>
  |          <option>
  |             <name>ridAttributeId</name>
  |             <value>cn</value>
  |          </option>
  |          <option>
  |             <name>roleDisplayNameAttributeID</name>
  |             <value>cn</value>
  |          </option>
  |          <option>
  |             <name>membershipAttributeID</name>
  |             <value>uniqueMember</value>
  |          </option>
  |          <option>
  |             <name>membershipAttributeIsDN</name>
  |             <value>true</value>
  |          </option>
  |       </option-group>
  |       <option-group>
  |          <group-name>userCreateAttibutes</group-name>
  |          <option>
  |             <name>objectClass</name>
  |             <!--This objectclasses should work with Red Hat Directory-->
  |             <value>top</value>
  |             <value>person</value>
  |             <value>organizationalPerson</value>
  |          </option>
  |          <!--Schema requires those to have initial value-->
  |          <option>
  |             <name>cn</name>
  |             <value>none</value>
  |          </option>
  |          <option>
  |             <name>sn</name>
  |             <value>none</value>
  |          </option>
  |       </option-group>
  |       <option-group>
  |          <group-name>roleCreateAttibutes</group-name>
  |          <option>
  |             <name>objectClass</name>
  |             <value>top</value>
  |             <value>groupOfUniqueNames</value>
  |          </option>
  |          <!--Schema requires those to have initial value-->
  |          <option>
  |             <name>cn</name>
  |             <value>none</value>
  |          </option>
  |          <!--Some directory servers require this attribute to be valid DN-->
  |          <!--For safety reasons point to the admin user here-->
  | 	 <!-- ME
  |          <option>
  |             <name>member</name>
  |             <value>cn=admin,ou=People,dc=fatwire,dc=com</value>
  |          </option>
  | 	 -->
  |       </option-group>
  |    </options>
  | 

Sorry the first post removed the XML so here it is

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059726#4059726

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059726



More information about the jboss-user mailing list