On Fri, Sep 9, 2016 at 10:22 PM, Dibyendu Das <[email protected]> wrote:
Hi,
I am trying to set up Ldap integration, and have installed both LDAP Authenticator and LDAP Application. I am using XWiki 8.2.1.
In my xwiki.cfg file I have the following settings in the LDAP section:
#-# LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=the.ldap.server xwiki.authentication.ldap.port=389 xwiki.authentication.ldap.bind_DN=cn={0},ou=something1,ou=something2,ou=something3,dc=something4,dc=something5,dc=something6,dc=something7 xwiki.authentication.ldap.bind_pass={1} xwiki.authentication.ldap.base_DN= xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail xwiki.authentication.ldap.update_user=1 xwiki.authentication.ldap.trylocal=1
If you plan to setup LDAP using xwiki.cfg, you can get rid of the "LDAP Application" which only job is to help set fields in XWikiPreferences. If you remove the application empty all the fields you set with it since they overwrite xwiki.cfg. Also you are using core LDAP authentication configuration here so you don't need to install "LDAP Authenticator" extension. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAuth....
Rest of the lines are commented. Note that there's nothing in base_DN field. I have provided the same values in bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=LDAP&space=XWiki.
But the page shows ldap.missingLdapService at the top of the page.
There seems to be an issue with the translation associated to key "ldap.missingLdapService" which should display: "LDAP service is not available. Please verify your installation." which mean the application cannot find the LDAP script service (used by the application to retrieve values from the LDAP server). It has nothing do to with whatever field you set and have nothing to do with the authentication itself, it just reduce a bit the features of the UI which become the static form you see.
Any ideas why this is happening?
Thanks _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne