developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks




Use displayname instead of cn, uid or mail when searching person in 'add contacts' function
bape newbalance 03/10/2017 03:15 AM
Administration 9.0 Linux


I am testing Sametime 901 which required me to setup LDAP server. We have a directory assistance that points to a directory with person documents from different departments. There are multiple 'o' value.

In the LDAP Server setting document, I have cleared the base search field and added displayname to the search filter for person, so that user can login like before using the displayname (e.g. st1adm/myst). However, when the user try to add contacts and input "st1adm/myst", the search cannot return any result. Further to this search, user can search the person if inputting the Internet email address (e.g. st1adm@st.myst) or inputting "cn=st1adm,o=myst".

The log for such search is pasted below. Most grateful if anyone can help to allow user to search person with cn or the displayname when adding contacts to sametime client.


[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> ***** Start search request processing *****
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> Scope: SUBTREE
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> Dereference Aliases: 0
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> TimeLimit: 600
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> SizeLimit: 1000
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> Attributes to return:
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> cn
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> displayname
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> Base:
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> Filter: (&(objectclass=inetOrglPerson)(|(displayname=st1adm*)(cn=st1adm*)(mail=st1adm*)))
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> *** Searching in database /local/notesdata/names.nsf ...
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> Type of search: View Search
[23643:00006-2852440944] 03/10/2017 04:00:48.40 PM LDAP> ... Searching view $Users for partial match on displayname = st1adm
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> NIFFindByKey(st1adm) candidate matches: 3, error: 0
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> ... Searching view ($LDAPCN) for partial match on cn = st1adm
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> NIFFindByKey(st1adm) candidate matches: 1, error: 0
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> ... Searching view $Users for partial match on mail = st1adm
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> NIFFindByKey(st1adm) candidate matches: 3, error: 0
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> GetSearchEntry State
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> Search State
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> Search State
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> *** Searching in database /local/notesdata/wgd.nsf ...
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> Type of search: View Search
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> ... Searching view $Users for partial match on displayname = st1adm
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> NIFFindByKey(st1adm) candidate matches: 0, error: 1028
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> ... Searching view ($LDAPCN) for partial match on cn = st1adm
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> NIFFindByKey(st1adm) candidate matches: 0, error: 1028
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> ... Searching view $Users for partial match on mail = st1adm
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> NIFFindByKey(st1adm) candidate matches: 0, error: 1028
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> GetSearchEntry State
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> Search State
[23643:00006-2852440944] 03/10/2017 04:00:48.41 PM LDAP> ***** Count of search entries returned (total): 0 *****

Go back