Change comment:
i believe the mail=mail value to be in error for a microsoft active directory. it did not work for me until i changed it to email=mail. only then did it start pulling the email value correctly. (using xwiki v2.0.3) thanks!
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. jek1 +XWiki.hexC0DE - Content
-
... ... @@ -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,mail=mail,ldap_dn=dn 103 + - *ldap_fields_mapping*: name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=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,mail=mail,ldap_dn=dn 115 +xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=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,6 +136,7 @@ 136 136 log4j.logger.com.xpn.xwiki.user.impl.LDAP=debug 137 137 {code} 138 138 139 + 139 139 1.1 eXo Authentication 140 140 141 141 The eXo authentication is used automatically by adding/editing the ~~xwiki.exo=1~~ property in ~~WEB-INF/xwiki.cfg~~.