r107131 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107130‎ | r107131 | r107132 >
Date:02:55, 23 December 2011
Author:laner
Status:deferred
Tags:ldap 
Comment:
When binding against ldap, save the bound user so that we can check before we rebind.
Modified paths:
  • /trunk/extensions/LdapAuthentication/LdapAuthentication.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php
@@ -1805,6 +1805,7 @@
18061806 $this->printDebug( "with password: $password", HIGHLYSENSITIVE );
18071807 return false;
18081808 }
 1809+ $this->boundAs = $userdn;
18091810 return true;
18101811 }
18111812

Sign-offs

UserFlagDate
Nikerabbitinspected13:45, 23 December 2011

Status & tagging log