Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [beginner] Can't get LDAP to work (LimitExceededException)

  1. #11
    Join Date
    Jul 2008
    Location
    Paris, France
    Posts
    15

    Default

    It now works perfectly!

    Thank you so much for the time you took to explain me all those details and for the explanations you provided!

  2. #12
    Join Date
    Jul 2005
    Location
    Helsingborg, Sweden
    Posts
    504

    Default

    We tend to refer to DNs that expect a base to be prepended as "relative DNs", in contrast to "absolute DNs" which always are the full path.

    One thing to remember is that the base is prepended to DNs in all LdapTemplate operations (lookup, search, bind, modifyAttributes, etc), but never to the authentication DN. The authentication DN should always be an absolute DN. You used as userDn "cn=projectname,ou=appli,o=edf,c=fr", which is correct even though your base is "c=fr".

    Another thing to remember is that group members are absolute DNs. For example, if you have an entry of objectclass groupOfUniqueNames, the values of the uniqueMember attribute are absolute DNs.
    Ulrik Sandberg
    Jayway (www.jayway.com)
    Spring LDAP project member

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •