Skip to content
Snippets Groups Projects
Commit 6a395231 authored by Olav Morken's avatar Olav Morken
Browse files

Add SASL to LDAPMulti.

Patch by Emmanuel Dreyfus <manu@netbsd.org>.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2188 44740490-163a-0410-bde0-09ae8108e29a
parent 0f84c8f1
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ class sspmod_ldap_Auth_Source_LDAPMulti extends sspmod_core_Auth_UserPassOrgBase
* @param string $org The organization the user chose.
* @return array Associative array with the users attributes.
*/
protected function login($username, $password, $org) {
protected function login($username, $password, $org, array $sasl_args = NULL) {
assert('is_string($username)');
assert('is_string($password)');
assert('is_string($org)');
......@@ -106,7 +106,7 @@ class sspmod_ldap_Auth_Source_LDAPMulti extends sspmod_core_Auth_UserPassOrgBase
$username = $username . '@' . $org;
}
return $this->ldapOrgs[$org]->login($username, $password);
return $this->ldapOrgs[$org]->login($username, $password, $sasl_args);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment