Results 1 to 1 of 1
Hi all! I have the following setup on my Fedora Core 1 Box: -MTA - Sendmail -IMAP - wu-imap -Webmail Client - Squirrelmail Well, everything's normal, i can log on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-27-2004 #1
- Join Date
- Mar 2004
Can't change NIS passwords in SquirrelMail - Help -- Urgent
I have the following setup on my Fedora Core 1 Box:
-MTA - Sendmail
-IMAP - wu-imap
-Webmail Client - Squirrelmail
Well, everything's normal, i can log on to squirrelmail using NIS username & password.
But there's a problem when i want to change passwords.
I have the change_password plugin installed for PAM which uses poppassd. I also have my poppassd running.
When i log in (authentication is ok from NIS server) and try to change passwords:
There's an error:
--> RPC: Can't encode arguments500 Server error, password not changed
my /var/log/messages say :
Mar 23 10:25:02 sshserver passwd(pam_unix): password not changed for user1 on test-sfu
I think it is poppassd error 'cause when i manually try:
$telnet hostname 106
the session looks like this:
Connected to sshserver.inet.kec (172.16.0.31).
Escape character is '^]'.
200 poppassd v1.8.1 hello, who are you?
200 Your password please.
200 Your new password please.
RPC: Can't encode arguments500 Server error, password not changed
Connection closed by foreign host.
Password change suceeds when i use passwd program from command prompt.
Changing password for user user1.
Changing password for user1
(current) UNIX password:123
Retype new password:123456
passwd: all authentication tokens updated successfully.
Mar 23 15:09:09 sshserver passwd(pam_unix): password changed for user1 on test-sfu
But when i use poppassd (used by squirrelmail) it fails:
Mar 23 15:14:03 sshserver passwd(pam_unix): password not changed for user1 on test-sfu
As far as I know, poppassd also uses passwd to eventually change the passwords(see log messages above)
What is happening ? Am I missing something ? Do i have to put poppassd entry under PAM ?
I tried this but it does not work. Is this NIS problem ? If it is, why does it succceed in changing password from command prompt? Is it some permissions problem ?
Someone please enlighten me on this ? Pretty urgent.
Thanks and regards