From a5a38566263ca49371ad9fc417d3ee5ba0f722ab Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 15 Feb 2011 12:05:27 +0000 Subject: - Fix unintentional removal of some code from last commit git-svn-id: https://svn.roundcube.net/trunk@4545 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/password/config.inc.php.dist | 11 +++++++++-- plugins/password/package.xml | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist index d3812bcf2..1140a91da 100644 --- a/plugins/password/config.inc.php.dist +++ b/plugins/password/config.inc.php.dist @@ -198,8 +198,15 @@ $rcmail_config['password_ldap_force_replace'] = true; // Whenever the password is changed, the attribute will be updated if set (e.g. shadowLastChange) $rcmail_config['password_ldap_lchattr'] = ''; -// Also try to update Samba password attributes: sambaNTPassword and sambaPwdLastSet -$rcmail_config['password_ldap_samba'] = false; +// LDAP Samba password attribute, e.g. sambaNTPassword +// Name of the LDAP's Samba attribute used for storing user password +$rcmail_config['password_ldap_samba_pwattr'] = ''; + +// LDAP Samba Password Last Change Date attribute, e.g. sambaPwdLastSet +// Some places use an attribute to store the date of the last password change +// The date is meassured in "seconds since epoch" (an integer value) +// Whenever the password is changed, the attribute will be updated if set +$rcmail_config['password_ldap_samba_lchattr'] = ''; // DirectAdmin Driver options diff --git a/plugins/password/package.xml b/plugins/password/package.xml index 823f3957e..d1472ff80 100644 --- a/plugins/password/package.xml +++ b/plugins/password/package.xml @@ -37,6 +37,8 @@ - Fix extended error messages handling (#1487676) - Fix double request when clicking on Password tab in Firefox - Fix deprecated split() usage in xmail and directadmin drivers (#1487769) +- ldap/ldap_simple drivers: use password_ldap_samba_pwattr/password_ldap_samba_lchattr + instead of password_ldap_samba option - Added option (password_log) for logging password changes -- cgit v1.2.3