Changes for page Use cases of configuration to authenticate users with LDAP
Last modified by Thomas Mortagne on 2019/07/22 14:23
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. yyl1 +xwiki:XWiki.bougie - Content
-
... ... @@ -42,6 +42,36 @@ 42 42 43 43 Note that if you set it up like this the users logging will need to right to list groups members in LDAP server. 44 44 45 +1.1 Open DIrectory Serveur (OpenDS) 46 + 47 +Here are values of the properties you need to set if your would authorise 48 + only member of a group to login in. 49 +In this case, the group is cn=xwiki,ou=roles,dc=domain,dc=tld 50 + 51 +{code} 52 +xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl 53 +xwiki.authentication.ldap=1 54 +xwiki.authentication.ldap.server=ldap.domain.tld 55 +xwiki.authentication.ldap.port=389 56 +xwiki.authentication.ldap.bind_DN= 57 +xwiki.authentication.ldap.bind_pass= 58 +xwiki.authentication.ldap.validate_password=0 59 +xwiki.authentication.ldap.user_group=cn=xwiki,ou=roles,dc=domain,dc=tld 60 +xwiki.authentication.ldap.base_DN=ou=people,dc=domain,dc=tld 61 +xwiki.authentication.ldap.UID_attr=cn 62 +xwiki.authentication.ldap.password_field=userPassword 63 +xwiki.authentication.ldap.group_classes=groupOfNames 64 +xwiki.authentication.ldap.group_memberfields=memberUid 65 +xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail 66 +xwiki.authentication.ldap.update_user=1 67 +xwiki.authentication.ldap.groupcache_expiration=3600 68 +xwiki.authentication.ldap.mode_group_sync=always 69 +xwiki.authentication.ldap.trylocal=1 70 + 71 + 72 + 73 +{code} 74 + 45 45 1.1 Generic 46 46 47 47 1.1.1 I want to be able to reuse LDAP users membership in XWiki
- XWiki.XWikiComments[0]
-
- Date
-
... ... @@ -1,1 +1,1 @@ 1 -2010-03-16 02:59:11. 3161 +2010-03-16 02:59:11.0