"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 PersonDirs.xml file. The portal uses a set of name/value pairs called 'attributes' to map LDAP information to Academus. For example, the displayName is a value in LDAP. The attribute tag allows this piece of information to be mapped to Academus, where it is expected to be called 'FIRST_NAME'.
Please make sure that the name/value pairs in PersonDirs.xml match those offered by your local LDAP server. Below are the required minimum attribute entries in PersonDirs.xml:
<attribute>
<name>FIRST_LAST</name>
<alias>displayName</alias>
</attribute>
<attribute>
<name>FIRST_NAME</name>
<alias>firstName</alias>
</attribute>
<attribute>
<name>EMAIL</name>
<alias>mail</alias>
</attribute>
<attribute>
<name>LAST_NAME</name>
<alias>lastName</alias>
</attribute>
<attribute>
<name>USER_NAME</name>
<alias>username</alias>
</attribute>
Also, verify that the LDAP server information is correct in both PersonDirs.xml and ldap.properties and that the server has access to the LDAP services.
