Hi Aman,

This you should do after install (un-tar) the change_ldappass into the
plugins directory of squirrel. Edit /etc/php.ini to change the memory
limit (default 8M):

        # vi /etc/php.ini
        memory_limit = 64M

Then edit /var/www/html/webmail/plugins/change_ldappass/config.php:

        # vi config.php
        $ldap_server = 'ldap://ip.address.of.ldap_server';
        $ldap_protocol_version = 3;
        $ldap_password_field = 'userpassword';
        $ldap_user_field = 'uid';
        $ldap_base_dn = 'dc=domain,dc=com';   # change this to suit your ldap 
structure
        $ldap_bind_as_manager = false;
        $ldap_manager_dn="cn=Manager,$ldap_base_dn";    # you can skip this
        $change_smb=false;
        $smb_passwd='/usr/bin/smbpasswd';
        $smb_host='ldapserver';           # add this host into your /etc/hosts 
file
        $change_ldapsmb=true;
        $mkntpwd='/usr/bin/mkntpwd';
        $ldapsmb_lmpassword='sambalmpassword';
        $ldapsmb_ntpassword='sambantpassword';
        $debug = false;


Then run conf.pl in squirrel's config directory:
        
        # cd ../../config
        # ./conf.pl
        
Choose 8 and move the installed plugin (change_ldappass) from
"Available Plugins" part into the "Installed Plugins" part (pick a
proper number).  Save and quit. Restart httpd/apache, then you can
start changing your password via webmail.

Note. In this configuration I use mkntpwd (I have installed it either)
so I can change the email and domain password (ntlm password) all at
once.

Hope it can help.

Regards,

sato

Reply via email to