11-23-2015 08:33 AM - edited 03-17-2019 05:41 PM
Users are searched in Jabber bu using surname and given name.
But I would like to search the users by using the preferred name.
How do I do that?
Regards
Chandru
11-23-2015 09:27 AM
Depends on the configuration. Directory attributes mapping can be changed using jabber-config.xml file.
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/11_0/CJAB_BK_C1247C0B_00_cisco-jabber-parameters-reference-guide/CJAB_BK_C1247C0B_00_cisco-jabber-parameters-reference-guide_chapter_01001.html#CJAB_RF_AE445EC6_00
As an example (not to be used directly in production), in below jabber-config.xml file "sAMAccountName" is used to show lastname and can be searched (instead of the default LDAP Attribute "sn").
<?xml version="1.0" encoding="utf-8"?> <config version="1.0">
<Directory>
<Lastname>sAMAccountName</Lastname>
</Directory>
</config>
11-24-2015 11:56 AM
Thank You Hasan
Here I see display name and nick name as LDAP attributes.
Can I map those attributes as preferred name for searching the users in LDAP?
11-24-2015 11:59 AM
Any valid LDAP attributes will work as mapping in jabber-config.xml and thus for searching.
Note: Sometimes if the LDAP Port is set to 3268 it may not return all the LDAP attribute due to not replicatiing LDAP Attribute to GC (Port 3268). LDAP Port 389 always returns all the LDAP Attribute.
Replicating LDAP attribute to GC: https://support.microsoft.com/en-us/kb/248717
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide