Author Topic: Problem alter password LDAP  (Read 5741 times)

Offline algodas

  • Newbie
  • *
  • Posts: 4
Problem alter password LDAP
« on: December 14, 2008, 02:24:01 PM »
Hello friends,

I am Brazilian and sorry for my bad English.
  I did the patch as shown for a change of password-based LDAP by roundcube based on this link http://www.roundcubeforum.net/plug-ins/1890-ldap-patch-login-identities-change-password.html.

The problem is that when I add the parameter settings' pwd_fields' in main.inc.php the roundcube does not display the page in question. omit the setting  it´s returns to normal, this only happens with this parameter, other parameters are passed without problems, some bug?
can help me ?

$rcmail_config['ldap_user'] = array(
  'hosts'     => array(''),
  'port'     => 389,             // optional ... default: 389
  'protocol'   => 3,              // optional ... (i have patched a bugfix? in rcube_ldap.inc row 88)
  'base_dn'    => '',
  'bind_dn'    => '',        // optional
  'bind_pass'   => '',       // optional
  'userid_field' => '',  // must!
  'email_field'  => '', // must!
  'pwd_fields'  => array(
    '' => ''); // must ... one entry or a array with more as one password fields (my user-entry have a encypted and a clear password field)
  'scope'     => 'sub',            // search mode: sub|base|list
  'filter'    => '',    // the var '%u' changed to the username
  'fuzzy_search' => true);          // for the original ldap class from roundcube :)


[]'s