... |
... |
@@ -100,7 +100,7 @@ |
100 |
100 |
- *ldap_bind_DN*: domain\{0\} ~~(e.g. ad\{0\} where \{0\} will be replaced by username during validation)~~ |
101 |
101 |
- *ldap_bind_pass*: \{1\} ~~(where \{1\} will be replaced by password during validation)~~ |
102 |
102 |
- *ldap_UID_attr*: sAMAccountName |
103 |
|
- - *ldap_fields_mapping*: name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn |
|
103 |
+ - *ldap_fields_mapping*: name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn |
104 |
104 |
|
105 |
105 |
Example: |
106 |
106 |
{code} |
... |
... |
@@ -112,7 +112,7 @@ |
112 |
112 |
xwiki.authentication.ldap.bind_DN=subdomain\\{0} |
113 |
113 |
xwiki.authentication.ldap.bind_pass={1} |
114 |
114 |
xwiki.authentication.ldap.UID_attr=sAMAccountName |
115 |
|
-xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn |
|
115 |
+xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn |
116 |
116 |
{code} |
117 |
117 |
|
118 |
118 |
The bind_DN and bind_pass fields contain the username and password for binding to the LDAP server in order to search, which will not necessarily be the same credentials as the user logging in. |
... |
... |
@@ -136,7 +136,6 @@ |
136 |
136 |
log4j.logger.com.xpn.xwiki.user.impl.LDAP=debug |
137 |
137 |
{code} |
138 |
138 |
|
139 |
|
- |
140 |
140 |
1.1 eXo Authentication |
141 |
141 |
|
142 |
142 |
The eXo authentication is used automatically by adding/editing the ~~xwiki.exo=1~~ property in ~~WEB-INF/xwiki.cfg~~. |