Patrick DUBAU a écrit : > Hi, > >> SM : 1.5.2 >> PHP : 5.2 >> Apache : 2.2.3 >> OS : debian etch >> >> i use the change_password plugin built in SM 1.5.2 with ldap backend. >> When i click on the change password button i get the following message : >> "*Fatal error*: Call to undefined function sqimap_get_user_server() in >> */var/www/webmail-5/plugins/change_password/backend/ldap.php* on line >> *145" >> >> *hers's the config.php file : >> >> $cpw_backend = 'ldap'; >> $cpw_pass_min_length = 4; >> $cpw_pass_max_length = 25; >> $cpw_require_ssl = FALSE; >> $cpw_ldap['server']='ldap-iufm.alsace.iufm.fr'; >> $cpw_ldap['basedn']='ou=People,o=IUFM-Alsace,c=FR'; >> $cpw_ldap['connect_opts']['PROTOCOL_VERSION']=3; >> $cpw_ldap['binddn']=''; >> $cpw_ldap['admindn']='cn=admin,o=IUFM-Alsace,c=FR'; >> $cpw_ldap['adminpw']='xxxx'; >> $cpw_ldap['default_crypto']='plaintext'; >> >> Thank you for any help >> >> >> > i solved this part of problem : in ldap.php i changed > include_once(SM_PATH . '../functions/imap_general.php'); > in > include_once(SM_PATH . 'functions/imap_general.php'); > but now i get : > Unable to find user's DN. > ldap_get_dn error. > > > > > > access to our ldap as anonymous isn't allowed. Setting $cpw_ldap['binddn'] and $cpw_ldap['bindpw'] in config.php solved the problem Sorry for the noise ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users