Last modified by Elamrani Mohammed Amine on 2014/04/23 12:16
  • xko
    xko, 2007/04/02 16:52

    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_INDUSTRIES
    morism in the upper-right conner, but I beleive it should be MorisMoss. 

  • BSayatovic
    BSayatovic, 2007/05/09 15:38

    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.

  • BSayatovic
    BSayatovic, 2007/05/09 15:39

    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.

  • BSayatovic
    BSayatovic, 2007/05/09 15:39

    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.

  • mamoulian
    mamoulian, 2007/08/09 17:29

    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.

  • yjanet
    yjanet, 2007/10/05 12:03

    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 ?

  • muxa
    muxa, 2007/11/07 14:35

    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!

  • mikhael santos
    mikhael santos, 2008/06/20 11:24

    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

  • Jakub Stepanek
    Jakub Stepanek, 2011/03/29 14:29

    Hi, is here any way to configure authentication against LDAP and AD together?

    • Thomas Mortagne
      Thomas Mortagne, 2011/03/29 14:31

      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.

  • kirby zhou
    kirby zhou, 2013/12/04 12:00

    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.

  • Elamrani Mohammed Amine

    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.

Get Connected