[xwiki-users] LDAP authentication is not enabled, but it is enabled
ISSUE # 1: I am receiving a message when accessing the LDAP application that "LDAP authentication is not enabled. Please set LDAP as authentication service in xwiki.cfg" Here is a portion of my xwiki.cfg file as far as LDAP goes. Isn't that correct? #-# LDAP authentication service xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl #-# Turn LDAP authentication on - otherwise only XWiki authentication #-# - 0: disable #-# - 1: enable #-# The default is 0 xwiki.authentication.ldap=1 ISSUE # 2: Some LDAP users are not able to log in. We are receiving an bad username/password error. We even tried creating a new LDAP user, but we still could not log in. What should I check? -- View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-authentication-is-not-enabled-but-it-... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Dec 28, 2016 at 9:41 PM, Polydectus84 <mike.m@telikin.com> wrote:
ISSUE # 1: I am receiving a message when accessing the LDAP application that "LDAP authentication is not enabled. Please set LDAP as authentication service in xwiki.cfg"
Here is a portion of my xwiki.cfg file as far as LDAP goes. Isn't that correct?
#-# LDAP authentication service xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
If you installed http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/ then no, it's not correct. If you installed post 8.3 version of http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Application/ in a pre 8.3 XWiki your issue if that it expect the (recommended) new LDAP authenticator (the one previously cited). If you upgraded from pre 8.3 XWiki then you should look at http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/8.3/#HLDAPModule....
#-# Turn LDAP authentication on - otherwise only XWiki authentication #-# - 0: disable #-# - 1: enable #-# The default is 0 xwiki.authentication.ldap=1
ISSUE # 2: Some LDAP users are not able to log in. We are receiving an bad username/password error. We even tried creating a new LDAP user, but we still could not log in. What should I check?
You should enable debug log to get detail of that the authenticator does and issues it has. See http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HEn... or http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HEnableLD... depending which LDAP authenticator you want to use.
-- View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-authentication-is-not-enabled-but-it-... Sent from the XWiki- Users mailing list archive at Nabble.com.
-- Thomas Mortagne
participants (2)
-
Polydectus84 -
Thomas Mortagne