You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
under tab
ADMIN/User Summary/ADD USER
I type a valid LDAP user name, and clic SEARCH button
get an error message "Ldap search failed, please contact the administrator."
in the server side, in go-server.log get
ERROR [qtp26002038-30] UserSearchService:83 - User search for xxxxxx on ldap failed with Exception.
java.lang.NullPointerException
at com.thoughtworks.go.server.security.LdapUserSearch.toUser(LdapUserSearch.java:163)
at com.thoughtworks.go.server.security.LdapUserSearch.buildUserList(LdapUserSearch.java:150)
at com.thoughtworks.go.server.security.LdapUserSearch.search(LdapUserSearch.java:133)
at com.thoughtworks.go.server.security.LdapUserSearch.search(LdapUserSearch.java:106)
at com.thoughtworks.go.server.security.UserSearchService.searchLdap(UserSearchService.java:78)
at com.thoughtworks.go.server.security.UserSearchService.search(UserSearchService.java:65)
The text was updated successfully, but these errors were encountered:
in server/src/com/thoughtworks/go/server/security/LdapUserSearch.java
line 167
loginName = samAccName != null ? samAccName.get().toString() : attributes.get(UID).get().toString();
when samAccName is null and attributes.get(UID) is null the exception is raisen ( attributes.get(UID).get() ).
In my case the LDAP records do no have UID attributes...
under tab
ADMIN/User Summary/ADD USER
I type a valid LDAP user name, and clic SEARCH button
get an error message "Ldap search failed, please contact the administrator."
in the server side, in go-server.log get
ERROR [qtp26002038-30] UserSearchService:83 - User search for xxxxxx on ldap failed with Exception.
java.lang.NullPointerException
at com.thoughtworks.go.server.security.LdapUserSearch.toUser(LdapUserSearch.java:163)
at com.thoughtworks.go.server.security.LdapUserSearch.buildUserList(LdapUserSearch.java:150)
at com.thoughtworks.go.server.security.LdapUserSearch.search(LdapUserSearch.java:133)
at com.thoughtworks.go.server.security.LdapUserSearch.search(LdapUserSearch.java:106)
at com.thoughtworks.go.server.security.UserSearchService.searchLdap(UserSearchService.java:78)
at com.thoughtworks.go.server.security.UserSearchService.search(UserSearchService.java:65)
The text was updated successfully, but these errors were encountered: