Can anyone explain, how to build user's wikiname from LDAP fields? I suppose ldap_UID_attr or ldap_fields_mapping should do the job.
I managed to login with AD credentials, and now I have DENHOLM_INDUSTRIESmorism in the upper-right conner, but I beleive it should be MorisMoss.
I had a similar experience. I configured the LDAP authentication to go against Active Directory. While the authentication uses Active Directory, all of the other data that XWiki uses doesn't leverage the values from Active Directory. For example, the name displayed in the top-right corner is that from the XWiki user account, not the displayName from activeDirectory.
I had hoped setting up XWiki 1.0RC3 with LDAP/ActiveDirectory authentication meant that users present in my directory would automatically be able to log into XWiki; however, this is not the case. Users from LDAP/AD can't log in until I first register reate an XWiki User for them under the same name.
Is the example AD configuration above the right way to do things? My understanding is that the bind_DN and bind_pass are for setting the username and password XWiki will use to connect to the LDAP server in order to do a search, then the UID_attr field is searched for the username entered on the form. If that is correct then the bind_dn and bind_pass should either be hardcoded to a special AD user with restricted privileges, or left blank to bind anonymously. I have tried the first of these: XWiki then seems to 'authenticate OK' whatever username/password I enter on the form even if the user does not exist in AD at all.
I need to use Sun Access Manager to authenticate users against global web SSO. I'm trying to build a new authentication module, but I can't find XWikiAuthService Javadoc ... Isn't this public or should i retrieve whole sources and build the doc by myself ?
I can login using AD credentials, but the only thing I see in my xWiki is an error: "You are not allowed to view this page..." I can't register the LDAP user in xWiki too, because in our AD our login format is name.surname!
I was able to configure LDAP connection but I want to now How can I make xwiki connect to a database difrente from the local one when LDAP fails: I know that xwiki.authentication.ldap.trylocal
Hi, is here any way to configure authentication against LDAP and AD together?
AD is an LDAP implementation, see LDAPAuthenticationUseCases. Also you should ask you questions on the mailing list since theses comments are not really reviewed as you can see with the number of answers in the previous comments.
Form Authentication Basic Authentication Container Authentication Social Login LDAP Authentication Generic LDAP configuration LDAP clients Detailed use cases Enable LDAP debug log Custom Authentication Custom Authentication using a Groovy script in a wiki page Authentication parameters Kerberos SSO Authentication
You've forgot to mention basic authentication here, cp. BasicAuth.
About xwiki.authentication.ldap.group_mapping. Is there a method to automatically add group in XWiki when I create a group in LDAP system (such as ActiveDirectory). Each time, I create a ldap group, I have to modify the xwiki.cfg to add mapping and restart the XWiki application.
I have configured the LDAP with the xwiki.cfg. But LDAP it is not enabled. I think it is due to because The GUI extension LDAP is disabled so the configuration in xWiki.cfg is not taken into account. How can i desiabled GUI LDAP configuration without start from scratch the installation ? thank you for helping.