phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Patch #1375] changepassword returns empty value


From: nobody
Subject: [Phpgroupware-tracker] [Patch #1375] changepassword returns empty value. should be true
Date: Sun, 04 May 2003 02:35:05 -0400

Patch #1375 has been updated. 

Project: 
Category: API -  phpGWapi
Status: Open
Summary: changepassword returns empty value. should be true

Follow-Ups:

Date: Fri 04/11/2003 at 02:12
By: izzyb

Comment:
Last patch wrong.  Use this one instead

--- phpgwapi/inc/class.auth_ldap.inc.php        2002-11-23 18:45:03.000000000 
-0700
+++ ../class.auth_ldap.inc.php  2003-04-10 17:35:04.000000000 -0600
@@ -90,8 +90,8 @@
                        $sri = ldap_search($ds, 
$GLOBALS['phpgw_info']['server']['ldap_context'], "uidnumber=$_account_id");
                        $allValues = ldap_get_entries($ds, $sri);

-
-                       $entry['userpassword'] = 
$GLOBALS['phpgw']->common->encrypt_password($new_passwd);
+                       $encrypted_passwd = 
$GLOBALS['phpgw']->common->encrypt_password($new_passwd);
+                       $entry['userpassword'] = $encrypted_passwd;
                        $dn = $allValues[0]['dn'];

                        if (address@hidden($ds, $dn, $entry))

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1375&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]