Page 1 of 1

LDAP Authentication issues

PostPosted: Tue Sep 24, 2013 10:25 pm
by jynxed50
Hi Guys
I have subsonic installed on a windows machines win7 pro

Computer is currently joined to a domain
I have installed the user and computer Certificate from CA
When i try to enable LDAP authentication i get the following message

INFO SubsonicLdapBindAuthenticator - Failed to authenticate user 'Tester' in LDAP.
org.acegisecurity.userdetails.UsernameNotFoundException: User Tester not found in directory.
at org.acegisecurity.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:126)

[2013-09-24 15:18:12,477] INFO SubsonicLdapBindAuthenticator - Failed to authenticate user 'Tester' in LDAP.
org.acegisecurity.BadCredentialsException: Bad credentials; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v23f0 ]

Now here is what I have in the following sections

LDAP Url: ldap://AD Server IP:389/OU=Users,dc=mydomain,dc=com
Ldap Search Filter: (Uid={0})
Ldap Manager DN : Mydomain\Test

now i have tried various filters settings but i keep on getting authentication failed
Can anyone help me with this

thanks :)

Re: LDAP Authentication issues

PostPosted: Mon Oct 14, 2013 9:52 pm
by sir2u
Try using (sAMAccountName={0}) as the search filter.