Hi

I am facing a strange problem when I trying to extract additional attributes 
from LDAP. 
I have following code in deployerConfigContext.xml

<bean id="attributeRepository"
                
class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
                <property name="baseDN" value="ou=people,dc=tamu,dc=edu" />
                <property name="query" value="(tamuEduPersonNetID={0})" />
                <property name="contextSource" ref="contextSource" />
                <property name="ldapAttributesToPortalAttributes">
                        <map>
                              <entry key="eduPersonNetID" 
value="eduPersonNetID" />
                              <entry key="eduPersonUIN" value="eduPersonUIN" /> 
                              <entry key="status" value="status" />
                              <entry key="officialName" value="officialName" />
                              <entry key="ssn" value="ssn" /> 
                        </map>
                </property>
        </bean>



I am successfully getting only 3 attributes back - eduPersonNetID, 
officialName, status. Rest two attributes - eduPersonUIN and ssn are just not 
being returned even though they are present in LDAP. Only difference is that 
these two attributes have numeric values.

I have been trying to resolve this since last three days and have run out of 
ideas. Please suggest something, anything that comes to your mind and I will 
try it to see if it works.

Thanks
Ashima
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to