-
1. Re: Gatein and OpenLdap using IDM
bdaw Mar 24, 2010 9:19 AM (in response to artmunro)I want to have a sample configuration file for OpenLDAP present in GateIn and wiki instrations along the OpenDS and MSAD ones. It is in my TODOs for this week so unless I get burried with other stuff you can expect something soon. Will put a notice here once this is done.
-
2. Re: Gatein and OpenLdap using IDM
bdaw Mar 26, 2010 11:08 AM (in response to bdaw)I added OpenLDAP section and sample configuration files to those wikis:
https://community.jboss.org/wiki/GateInwithLDAPasadefaultuserandgroupstore
https://community.jboss.org/wiki/GateInwithLDAPinreadonlymode
Those files will be present in GateIn 3.1
There are two configuration tweeks that you need with OpenLDAP:
1) It doesn't support LDAP sort control (at least not in default config) so LDAP store options should contain:
<option>
<name>sortExtensionSupported</name>
<value>false</value>
</option>2) If you don't use it in read-only mode (you let GateIn create entries) then you hit the strict schema where groupOfNames objectclass "member" attribute is required - it needs to have a value. To workaround this you need to add a special "placeholder" entry and add those options into every group identity object type:
<option>
<name>parentMembershipAttributePlaceholder</name>
<value>ou=placeholder,o=portal,o=gatein,dc=my-domain,dc=com</value></option>
<option>
<name>createEntryAttributeValues</name>
<value>objectClass=top</value>
<value>objectClass=groupOfNames</value>
<value>member=ou=placeholder,o=portal,o=gatein,dc=my-domain,dc=com</value>
</option>