сразу предупрежу - директория самого Roundcube у меня rcmail
Активируем plugin PASSWORD,Правим файл
Код: Выделить всё
/var/www/rcmail/config/main.inc.php Код: Выделить всё
 $rcmail_config['plugins'] = array(password);Код: Выделить всё
http://download.pear.php.net/package/Net_LDAP2-2.0.11.tgzКод: Выделить всё
/var/www/rcmail/Далее настраиваем сам плагин PASSWORD:
правим файл :
Код: Выделить всё
/var/www/rcmail/plugins/password/config.inc.phpа именно :
Код: Выделить всё
$rcmail_config['password_driver'] = 'ldap';Код: Выделить всё
$rcmail_config['password_minimum_length'] = 6;Код: Выделить всё
$rcmail_config['password_ldap_basedn'] = 'dc=drivesource,dc=ru';Код: Выделить всё
$rcmail_config['password_ldap_host'] = 'ldap.drivesource.ru';Код: Выделить всё
$rcmail_config['password_ldap_basedn'] = 'dc=drivesource,dc=ru';Код: Выделить всё
$rcmail_config['password_ldap_userDN_mask'] = 'uid=%login,ou=Users,dc=drivesource,dc=ru';Код: Выделить всё
$rcmail_config['password_ldap_searchDN'] = 'cn=admin,ou=Users,dc=drivesource,dc=ru';Код: Выделить всё
$rcmail_config['password_ldap_searchPW'] = 'ПАРОЛЬ АДМИНА'; Код: Выделить всё
$rcmail_config['password_ldap_search_base'] = 'ou=Users,dc=drivesource,dc=ru';Код: Выделить всё
$rcmail_config['password_ldap_encodage'] = 'clear';
