With the latest SVN code and setting ldap_check_level to 1 the
authentication works fine with AD!
Also testTransfertUserFromLDAP() runs correctly when
ldap_fields_mapping changed to "name=sAMAccountName,...".
Thank you very much,
Jiri.
On Fri, 29 Apr 2005 13:52:02 +0200, you wrote:
-----Message d'origine-----
De : Jiri Luzny [mailto:jiri.luzny@seznam.cz]
Envoyé : vendredi 29 avril 2005 13:20
? : xwiki-dev(a)objectweb.org
Objet : Re: [xwiki-dev] LDAP integration status
what about to allow to configure attribute=value
pairs that will be used
for DN search? E.g
ldap_DN_filter="AMAccountName=luzny_j"?
I meant: ldap_DN_filter="sAMAccountName={0}"
This could be done simply setting ldap_base_DN and ldap_UID_attr
ldap_base_DN = "OU=Accounts,OU=All Users,DC=ad,DC=company,DC=cz"
ldap_UID_attr = "sAMAccountName"
With the last version I just commit in SVN that support this syntax :
ldap_bind_DN = "DOMAIN\\{0}"
ldap_bind_pass = "{1}"
the only thing that need to be done is removing check on password.
Am I right ?