Login Problems with LDAP
Hello, Ia have the same problem as Bruno in the following link: https://jazz.net/forum/questions/98319/login-problems-with-ldap
I have browsed through the questions in the forum, but I could not find an answer to my problem.
I ran setup and configure ldap, I replaced the web.xml in each path and the server.xml. I imported users from LDAP, but when I ask one of them to try to connect with to jts, rm, qm or ccm, they get the message "Invalid User ID or password". My account was an application user, that I created instead of ADMIN, I delete the entry that exists in the tomcat-users.xml with that user, when I try to connect I get the error "http 403", when I try again it says: "CRJAZ1394E The user ID "xxxxx" is not a member of any Jazz J2EE roles but must be a member of one to access the repository". When I connect to Jts/admin and explore and user properties (with and application account and changing the configuration from ldap to tomcat users), I see that my user does not have any jazz group checked and the check boxes are disable. Thanks for your help ... |
Accepted answer
This does show the mapping Joe was asking about. E.g. com.ibm.team.repository.ldap.groupMapping=JazzAdmins\=Domain Users...
Did you use the Tool referenced in the other link to verify the LDAP settings and that this group can be found? omar pimentel selected this answer as the correct answer
Comments
omar pimentel
commented Jan 20 '14, 5:32 p.m.
Hi Antoinette, The file I downloaded just create LDAP groups and users related to ldap, so I decline it. As you can see I am using the LDAP group "Domain Users", that it is a default group in LDAP and contain all the created users. Besides, after I finished the setup, I could import users from Active Directory and assign to a Project Area I created. Secondly, Jazz is validating the LDAP password, if I type a wrong password it displays a message, If I type the right one it tries to navigate to jazz home. Thanks.
omar pimentel
commented Jan 22 '14, 9:33 a.m.
I can synchronize users with LDAP.
Antoinette Iacobo
commented Jan 23 '14, 10:23 a.m.
Omar, I agree. You do not have a problem with the authentication. The message "not a member of any group", the synching of users works, the "invalid un or pw" message" all confirm that. What needs to be verified is the group settings:
omar pimentel
commented Jan 24 '14, 3:22 p.m.
Hi Antoinette, Thanks for your advice. The LDAP administrator and I downloaded the tool and reviewed the parameters you suggested. In that process we noticed that jazz groups he created were assigned as members of other groups instead of users directly. I am very pleased with your help! |
3 other answers
Hi Omar,
Did you create Jazz groups in LDAP and map the user to that. Regards Joe Comments
omar pimentel
commented Jan 20 '14, 8:37 a.m.
Hi Joe,
I assigned the LDAP group "Domain Users" to all jazz groups (ie: JazzAdmins, JazzDWAdmins, JazzGuests, JazzUsers, JazzProjectAdmins). I did manage to manage the security just from the application without affecting SysAdmins. Is there anything wrong? secondly, I notice that jazz is validating my password with LDAP, because it does not displays that my password is wrong, instead it tries to log me on, but it can achieve it, so it displays the following error: "We're Sorry... The user ID you logged in with is not recognizable. You are not authorized to access Jazz Team Server Admin UI. Error!" Thanks for your help! |
Omar, to follow-up on what Joe is asking, if you go to .../jts/admin > Server > Advanced Properties
There is a section for Group settings. Per that post you referenced, you can check your LDAP Group settings. The second part is in the "Jazz to LDAP Group Mapping" - is this filled in? What do you have it set to? Toni Comments
omar pimentel
commented Jan 20 '14, 1:47 p.m.
As the server is configured to authenticate through LDAP, if I try to connect with ADMIN/ADMIN, it does not work, If I try to do it with my account and LDAP password I get the error "You are not authorized to access Jazz Team Server Admin UI".
In order to prove what you are asking me to, I will configure the server to authenticate through tomcat-users.xml. OK? Thanks Antoinette... |
Omar, look in the teamserver.properties file - that's where the admin UI settings are saved.
Comments
omar pimentel
commented Jan 20 '14, 4:29 p.m.
Hi Antoinette, This the content of my teamserver.properties file:
#Thu Jan 16 17:14:00 BOT 2014
.... file continues but we got a character limit in this interface I will be waiting for your answer. Thanks again! |
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.