It's all about the answers!

Ask a question

how to change the way of jazz to search user from ldap?


jia tao (51153) | asked Apr 02 '09, 9:48 p.m.
how to change the way of jazz to search user from ldap?

I use the Ldap server to authenticate my jazz users. When I want to import them to jazz project, some users can not be found by name. Is there any way to change the searching parameter, or I can import my users by querying their email? (query email myuser@mygroup.com)

5 answers



permanent link
Susan Wu (4712016) | answered Apr 02 '09, 10:27 p.m.
how to change the way of jazz to search user from ldap?

I use the Ldap server to authenticate my jazz users. When I want to import them to jazz project, some users can not be found by name. Is there any way to change the searching parameter, or I can import my users by querying their email? (query email myuser@mygroup.com)


Hi,

How did you define the uer property name maping from the Jazz setup page for your LDAP server? If the userid is set to mail, and if your users have multiple email address defined in their ladp record, they will not be found during the search. The standard search rule i believe is with leading space search for last name and no space search for first name. Not sure if you can change the searching parameter though.

Susan

permanent link
jia tao (51153) | answered Apr 02 '09, 10:58 p.m.
the currect setting is:

Find Users by Any Name Query :(| (cn=* ?1*) (cn=*_?1*))

Find Users by Name Query: cn=?1*

Find Users by User Id Query: mail=?1

what can I do?

permanent link
Balaji Krish (1.8k12) | answered Apr 03 '09, 5:43 p.m.
JAZZ DEVELOPER
Can you paste all the LDAP properties present in teamserver.properties.

Can you also provide more information about your LDAP setup (MS active directory / Tivoli / Open LDAP ?) and the app server you are using ?

--- Balaji
Jazz Server Team

the currect setting is:

Find Users by Any Name Query :(| (cn=* ?1*) (cn=*_?1*))

Find Users by Name Query: cn=?1*

Find Users by User Id Query: mail=?1

what can I do?

permanent link
jia tao (51153) | answered Apr 07 '09, 1:34 a.m.
================================
#Fri Apr 03 10:52:05 CST 2009
com.ibm.team.repository.db.db2.content.tablespace.numpages=250000
com.ibm.team.repository.user.registry.type=LDAP
com.ibm.team.repository.db.jdbc.location=//localhost\:50000/JDB2\:fullyMaterializeLobData\=false;user\=********;password\={password};
com.ibm.team.repository.db.jdbc.password=********
com.ibm.team.repository.ldap.findUsersByAnyNameQuery=(| (cn\=* ?1*) (cn\=*_?1*))
com.ibm.team.repository.changeEvent.expirationDefault=1209600
com.ibm.team.repository.notification.mail.from_name=JazzService
com.ibm.team.repository.ldap.findUsersByUserIdQuery=mail\=?1
com.ibm.team.repository.ws.allow.admin.access=false
com.ibm.team.repository.web.suppressedPages={"com.ibm.team.repository.web.admin"\: }
com.ibm.team.repository.ldap.baseGroupDN=ou\=memberlist,ou\=***groups,o\=***.com
com.ibm.team.repository.db.vendor=DB2
com.ibm.team.repository.notification.mail.from=admin@***.com
com.ibm.team.repository.ldap.findGroupsForUserQuery=uniquemember\={USER-DN}
com.ibm.team.repository.ldap.userAttributesMapping=userId\=mail,name\=cn,emailAddress\=mail
com.ibm.team.repository.ldap.membersOfGroup=uniquemember
com.ibm.team.repository.web.helpuri=http\://publib.boulder.ibm.com/infocenter/rtc/v1r0m1/index.jsp
com.ibm.team.repository.changeEvent.expirationByType=com.ibm.team.workitem.WorkItem\:5184000 com.ibm.team.build.BuildResult\:172800
com.ibm.team.repository.ldap.groupMapping=JazzAdmins\=JazzAdmins,JazzUsers\=JazzUsers,JazzDWAdmins\=JazzDWAdmins,JazzGuests\=JazzGuests
com.ibm.team.repository.ldap.registryLocation=ldap\://***.com\:389
com.ibm.team.repository.ldap.registryPassword=********
com.ibm.team.repository.notification.mail.smtp.server=********
com.ibm.team.fulltext.indexLocation=workitemindex
com.ibm.team.repository.ldap.baseUserDN=ou\=***,o\=***.com
com.ibm.team.repository.notification.mail.enabled=true
com.ibm.team.repository.web.pageorder={"com.ibm.team.repository.web.admin"\: , "com.ibm.team.process.web.projectArea"\: ,"com.ibm.team.process.web.projectAreaList"\: }
com.ibm.team.repository.ws.allow.identity.assertion=false
com.ibm.team.repository.db.db2.content.tablespace.location=content_tablespace
com.ibm.team.repository.changeEvent.expirationByCategory=SystemLog\:259200
com.ibm.team.repository.ldap.registryUserName=

permanent link
jia tao (51153) | answered Apr 07 '09, 1:37 a.m.
and my ldap app server is Tivoli

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.