Community
Participate
Working Groups
Created attachment 232403 [details] LDAP error message - Manage Hudson - Enable Security - Select LDAP and click on the Advanced button - Enter ldap://127.0.0.1 in the server field and tab out Note no validation error is displayed - Enter value in the Manager DN field and tab out Now note that the error message 'Syntax of server field is SERVER or SERVER:PORT or ldaps://SERVER[:PORT]' appears below the Manager field - Tab out of the Manager password field. Same error appears below the password field. Screenshot with the error message below 3 fields is attached.
I've encountered this on bug 421277 comment 3. Hudson is configured for LDAP and was working well. As an admin logged in, went to the Security Tab, and added a checkbox to one of the security settings, and nothing else. Saved. Afterwards, no one could log in. hudson-security.xml now had (invalid) entries for Manager DN and Manager Password, even though I did not add them, or even expand the LDAP settings. After clearing the invalid entries and restarting the instance all was well. But all subsequent security changes require us to remember to go to the advanced LDAP settings and remove what Hudson is trying to add before saving.
This happens to us on a regular basis. What's worse is that the admin password (MINE) is stored in the hudson-security.xml file with either weak or no encryption.
Hi Latha, can you check if this happens in Hudson 3.3.0. As of 3.3.0, we moved to Spring security 3.x from 2.5.x
Still happens in 3.3.1. See: 487043
(In reply to Denis Roy from comment #4) > Still happens in 3.3.1. > > See: 487043 Add still on 3.3.2. See bug 495995. Quite a pain!