Announcement Announcement Module
Collapse
No announcement yet.
Problem SpringSecurity-LDAP: Failed for SearchRequest baseDn Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem SpringSecurity-LDAP: Failed for SearchRequest baseDn

    Hello pals!

    Well, I'm from Colombia and my name's Erik. Right now I'm doing a simple example with SpringSecurity and LDAP but I really can not figure out what is wrong.

    I'm using ApacheDS and my config is:

    <ldap-server url="ldap://localhost:10389" id="nose" root="dc=jbcppets,dc=com" manager-dn="uid=admin,ou=system" manager-password="secret" />

    <authentication-manager alias="authenticationManager">
    <ldap-authentication-provider server-ref="nose" user-search-filter="(uid={0})" group-search-base="ou=Groups">
    </ldap-authentication-provider>
    </authentication-manager>

    I'm getting the error:

    Your login attempt was not successful, try again.

    Reason: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: [LDAP: error code 80 - OTHER: failed for SearchRequest baseDn : '' filter : '(0.9.2342.19200300.100.1.1=ldapguest:[9223372036854775807])' scope : whole subtree typesOnly : false Size Limit : no limit Time Limit : no limit Deref Aliases : deref Always attributes : : -1]; remaining name

    If I use the Apache DS Studio and try a query it works good, but in xml config I haven't been able to check this...

    THanks.
Working...
X