I am having issues getting the ldap to work as well with the same stand alone
install with Windows. I know I have all the settings because we use it on
another system, but I am just unsure how they should be formatted. I need to
do the bind account and have that info listed but still it isn't working.
Here is what I have. My inputs are in bold. I also have had no luck turning
on logging for the ldap. I tried Lilith, but as soon as I attempt to log
into the system, it disconnects. Any help would be greatly appreciated.
#-# 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
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=*(I have the IP here)*
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
xwiki.authentication.ldap.bind_DN=cn=*(the bind account username only here)*
xwiki.authentication.ldap.bind_pass=*(bind account password only)*
#-# The Base DN used in LDAP searches
xwiki.authentication.ldap.base_DN=*OU=_USERS,DC=na,DC=nice,DC=com*
#-# LDAP query to search the user in the LDAP database (in case a static
admin user is provided in
#-# xwiki.authentication.ldap.bind_DN)
#-# {0} is replaced with the user uid field name and {1} with the user name
#-# The default is ({0}={1})
xwiki.authentication.ldap.user_search_fmt=({0}={1})
#-# Only members of the following group can authenticate.
#-# The following kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the group
object)
#-# * [Since 3.3M1] LDAP organization units (users/subgroups are sub object
of the provided organization unit)
#-# * [Since 3.3M1] LDAP filter (users/groups are object found in a search
with the provided filter)
#
#xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# Only users not member of the following group can authenticate.
#-# The following kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the group
object)
#-# * [Since 3.3M1] LDAP organization units (users/subgroups are sub object
of the provided organization unit)
#-# * [Since 3.3M1] LDAP filter (users/groups are object found in a search
with the provided filter)
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# Specifies the LDAP attribute containing the identifier to be used as the
XWiki name
#-# The default is cn
xwiki.authentication.ldap.UID_attr=*samAccountName*
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList,posixGroup,apple-group
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the members.
Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember,memberUid
#-# retrieve the following fields from LDAP and store them in the XWiki user
object (xwiki-attribute=ldap-attribute)
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# On every login update the mapped attributes from LDAP to XWiki otherwise
this happens only once when the XWiki
#-# account is created.
#-# - 0: only when creating user
#-# - 1: at each authentication
#-# The default is 0
xwiki.authentication.ldap.update_user=*1*
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Maps XWiki groups to LDAP groups, separator is "|".
#-# The following kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the group
object)
#-# * [Since 3.3M1] LDAP organization units (users/subgroups are sub object
of the provided organization unit)
#-# * [Since 3.3M1] LDAP filter (users/groups are object found in a search
with the provided filter),
#-# | character in the filter need to be escaped with backslash (\).
#-#
--
View this message in context:
http://xwiki.475771.n2.nabble.com/xWiki-6-1-LDAP-Issues-tp7591284p7591496.h…
Sent from the XWiki- Users mailing list archive at
Nabble.com.