Author Topic: setlocale warning prevents password change  (Read 2230 times)

Offline sipo

  • Newbie
  • *
  • Posts: 1
setlocale warning prevents password change
« on: November 30, 2014, 12:16:45 PM »
Hi,

When a user tries to change password  using the password pluging (poppassd protocol), the following error message is displayed: Could not set new password.

After debuging the password plugin, I found out that there is a warning message on the following line of ./plugins/password/drivers which prevents the password to be changed:
$result = $poppassd->readLine();

The message is:
sh: warning: setlocale: LC_ALL: cannot change locale (en_US): No such file or directory

However, the locale "en_US" is installed on the machine.

Your assistance will be very much appreciated.
« Last Edit: November 30, 2014, 12:34:26 PM by sipo »