From: Reini U. <ru...@us...> - 2007-05-30 21:56:21
|
Update of /cvsroot/phpwiki/phpwiki/lib/WikiUser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3874 Modified Files: LDAP.php Log Message: Back to default uid for LDAP Index: LDAP.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiUser/LDAP.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -2 -b -p -d -r1.6 -r1.7 --- LDAP.php 29 May 2007 16:56:15 -0000 1.6 +++ LDAP.php 30 May 2007 21:56:17 -0000 1.7 @@ -72,5 +72,5 @@ extends _PassUser $st_search = LDAP_SEARCH_FIELD ? LDAP_SEARCH_FIELD."=$userid" - : "cn=$userid"; + : "uid=$userid"; if (!$this->_sr = ldap_search($ldap, LDAP_BASE_DN, $st_search)) { $this->_free(); @@ -133,5 +133,5 @@ extends _PassUser $st_search = LDAP_SEARCH_FIELD ? LDAP_SEARCH_FIELD."=$userid" - : "cn=$userid"; + : "uid=$userid"; if (!$this->_sr = ldap_search($ldap, LDAP_BASE_DN, $st_search)) { $this->_free(); @@ -156,4 +156,7 @@ extends _PassUser // $Log$ +// Revision 1.7 2007/05/30 21:56:17 rurban +// Back to default uid for LDAP +// // Revision 1.6 2007/05/29 16:56:15 rurban // Allow more password und userid chars. uid => cn: default for certain testusers |