Skip to content

Commit

Permalink
Fix typo in Kolab passwd driver
Browse files Browse the repository at this point in the history
Patch by Mike Gabriel, originally reported at https://bugs.debian.org/780670

Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
  • Loading branch information
sathieu authored and mrubinsk committed Aug 10, 2015
1 parent a53a471 commit 5ab25c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passwd/lib/Driver/Kolab.php
Expand Up @@ -73,7 +73,7 @@ protected function _changePassword($user, $oldpass, $newpass)
$userdn = ldap_get_dn($ds, $entry);

// Connect as the user.
$result = @ldap_bind($ds, $userdn, $old_password);
$result = @ldap_bind($ds, $userdn, $oldpass);
if (!$result) {
throw new Passwd_Exception(_("Incorrect old password."));
}
Expand Down

0 comments on commit 5ab25c7

Please sign in to comment.