[pkg-horde] Bug#780670: Horde's passwd tool (Kolab backend) fails to verify $oldpass

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Tue Mar 17 16:01:33 UTC 2015


Package: php-horde-passwd
Version: 5.0.2-3
Severity: important
Tags: patch

Dear maintainer,

the Horde passwd add-on fails to change passwords for the Kolab backend.

The patch is simple... (change $old_password -> $oldpass).

--- a/passwd/lib/Driver/Kolab.php	2015-03-17 15:54:42.000000000 +0000
+++ b/passwd/lib/Driver/Kolab.php	2015-03-17 15:54:59.000000000 +0000
@@ -73,7 +73,7 @@
          $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."));
          }

Greets,
Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.alioth.debian.org/pipermail/pkg-horde-hackers/attachments/20150317/595d6579/attachment.sig>


More information about the pkg-horde-hackers mailing list