"Welcome Unrecognized User"
Why do I see the message "Welcome unrecognized user" in the header of my portal?
This incorrect message is most likely caused by improper configuration of the LDAP within the .../uportal-war/src/main/resources/properties/contexts/personDirectoryContext.xml file. The portal uses a set of key/value pairs called 'attributes' to map LDAP information to uPortal. For example, the displayName is a value in LDAP. The attribute tag allows this piece of information to be mapped to uPortal, where it is expected to be called 'displayName'.
Please make sure that the key/value pairs in personDirectoryContext.xml match those offered by your local LDAP server. Below is an example of attribute mappings in personDirectoryContext.xml: In particular, displayName populates what is seen after "Welcome: <displayName>" so check that you have this mapped correctly with LDAP.
Also, verify that the LDAP server information is correct in both .../uportal-war/src/main/resources/properties/contexts/personDirectoryContext.xml and .../uportal-war/src/main/resources/properties/contexts/ldapContext.xml and that the server has access to the LDAP services.
<property name="resultAttributeMapping"> <map> <entry key="eduPersonPrimaryAffiliation"> <value>eduPersonPrimaryAffiliation</value> </entry> <entry key="eduPersonAffiliation"> <value>eduPersonAffiliation</value> </entry> <entry key="eduPersonNickname"> <set> <value>eduPersonNickname</value> <value>user.name.nickName</value> </set> </entry> <entry key="eduPersonOrgDN"> <set> <value>eduPersonOrgDN</value> <value>user.employer</value> </set> </entry> <entry key="eduPersonOrgUnitDN"> <set> <value>eduPersonOrgUnitDN</value> <value>user.department</value> </set> </entry> <entry key="eduPersonPrimaryAffiliation"> <value>eduPersonPrimaryAffiliation</value> </entry> <entry key="eduPersonPrincipalName"> <value>eduPersonPrincipalName</value> </entry> <entry key="cn"> <value>cn</value> </entry> <entry key="description">Â <value>description</value> Â </entry> <entry key="displayName"> Â <value>displayName</value>Â Â </entry> Â <entry key="givenName"> Â <set> Â <value>givenName</value> Â <value>user.name.given</value> Â </set> Â </entry> Â <entry key="mail"> Â <set> Â <value>mail</value> Â <value>user.home-info.online.email</value>Â Â </set> Â </entry> Â <entry key="ou"> Â <value>ou</value> Â </entry> Â <entry key="sn"> Â <set> Â <value>sn</value> Â <value>user.name.family</value> Â </set> Â </entry> Â <entry key="uid"> Â <value>uid</value> Â </entry> </map> </property>
Add Feedback content box here.....