Changeset 4375 in subversion for trunk/plugins/password/drivers/ldap.php
- Timestamp:
- Dec 28, 2010 7:48:56 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/plugins/password/drivers/ldap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/password/drivers/ldap.php
r4333 r4375 93 93 return PASSWORD_CONNECT_ERROR; 94 94 } 95 95 96 // Update Samba password fields, ignore errors if attributes are not found 97 if ($rcmail->config->get('password_ldap_samba')) { 98 $sambaNTPassword = hash('md4', rcube_charset_convert($passwd, RCMAIL_CHARSET, 'UTF-16LE')); 99 $userEntry->replace(array('sambaNTPassword' => $sambaNTPassword), $force); 100 $userEntry->replace(array('sambaPwdLastSet' => time()), $force); 101 $userEntry->update(); 102 } 103 96 104 // All done, no error 97 105 return PASSWORD_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.
