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!
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!
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.