[xwiki-users] Integrating xwiki with active directory?
I want to integrate xwiki login with my active directory login.Basically i want to use same credentials for xwiki that i am using for window login.Here is my ldap configuration(as per examples given at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCas... ) xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=10.215.30.20 xwiki.authentication.ldap.port=389 // all other values i have kept default xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP xwiki.authentication.ldap.bind_pass={1} xwiki.authentication.ldap.base_DN= xwiki.authentication.ldap.UID_attr=cn But when i login to xwiki with my window credentials , i get below error(though i am able to ping 10.215.30.20 server):- com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException. Wrapped Exception: Invalid Credentials Any idea what can be probable reason for this?
Hi, There are some big differences between your configuration, and the sample provided for Active Directory [1]. For example, base_DN is empty (though it should contain the root DN). You might also want to check if your UID attr is really "cn" and not "sAMAccountName". Also your bind DN is very different from what is proposed (should be maybe "{0}" or "subdomain\\{0}" if you need to specify a domain for login). I'm not an ldap expert but you might want to check again the provided sample. You might have more information by activating debug logs also as described in [2]. BR, Jeremie [1] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCas... [2] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HEnableLD... 2013/4/8 Mohit Gupta <[email protected]>
I want to integrate xwiki login with my active directory login.Basically i want to use same credentials for xwiki that i am using for window login.Here is my ldap configuration(as per examples given at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCas... )
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=10.215.30.20 xwiki.authentication.ldap.port=389 // all other values i have kept default
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP xwiki.authentication.ldap.bind_pass={1} xwiki.authentication.ldap.base_DN= xwiki.authentication.ldap.UID_attr=cn
But when i login to xwiki with my window credentials , i get below error(though i am able to ping 10.215.30.20 server):-
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException. Wrapped Exception: Invalid Credentials
Any idea what can be probable reason for this? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
2013/4/8 Mohit Gupta <[email protected]>
I want to integrate xwiki login with my active directory login.Basically i want to use same credentials for xwiki that i am using for window login.Here is my ldap configuration(as per examples given at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCas... )
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=10.215.30.20 xwiki.authentication.ldap.port=389 // all other values i have kept default
Replied too fast: you can't keep default value for DNs, because this information is specific to the ldap you use in your organization ...
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP xwiki.authentication.ldap.bind_pass={1} xwiki.authentication.ldap.base_DN= xwiki.authentication.ldap.UID_attr=cn
But when i login to xwiki with my window credentials , i get below error(though i am able to ping 10.215.30.20 server):-
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException. Wrapped Exception: Invalid Credentials
Any idea what can be probable reason for this? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Jeremie BOUSQUET -
Mohit Gupta