Changes for page User Authentication

Last modified by Simon Urli on 2023/12/11

From version 30.1
edited by hexC0DE
on 2009/12/01
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!
To version 29.1
edited by jek
on 2009/06/28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.hexC0DE
1 +XWiki.jek
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,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~~.

Get Connected