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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,6 +4,19 @@ 4 4 5 5 #toc("" "" "") 6 6 7 +1.1 I want to be able to reuse LDAP users membership in XWiki 8 + 9 +e.g. if you want that all the LDAP users of group <tt>cn=HMS Lydia,ou=crews,ou=groups,o=sevenSeas</tt> to be automatically added in XWiki group <tt>XWiki.XWikiAdminGroup</tt> when they logs in, set: 10 +{code} 11 +xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=HMS Lydia,ou=crews,ou=groups,o=sevenSeas 12 +{code} 13 + 14 +if you want to add more mapping add them separated by <tt>|</tt>: 15 +{code} 16 +xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=HMS Lydia,ou=crews,ou=groups,o=sevenSeas|\ 17 + XWiki.OtherXWikiGroup=HMS Victory,ou=crews,ou=groups,o=sevenSeas 18 +{code} 19 + 7 7 1.1 My users are not located in the same organization unit 8 8 9 9 So you can't use the <tt>xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP</tt> pattern.