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 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)[27172]: 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: Trying 172.16.0.31... Connected to sshserver.inet.kec (172.16.0.31). Escape character is '^]'. 200 poppassd v1.8.1 hello, who are you? user user1 200 Your password please. pass 123 200 Your new password please. newpass 123456 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 for NIS user. $ passwd Changing password for user user1. Changing password for user1 (current) UNIX password:123 New password:123456 Retype new password:123456 passwd: all authentication tokens updated successfully. /var/log/messages: Mar 23 15:09:09 sshserver passwd(pam_unix)[28877]: password changed for user1 on test-sfu But when i use poppassd (used by squirrelmail) it fails: /var/log/messages: Mar 23 15:14:03 sshserver passwd(pam_unix)[28947]: 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 ? /etc/pam.d/passwd: #%PAM-1.0 auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth password required pam_stack.so service=system-auth /etc/pam.d/poppassd: #%PAM-1.0 auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth password required pam_stack.so service=system-auth /etc/pam.d/system-auth: #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth required /lib/security/$ISA/pam_env.so auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok auth required /lib/security/$ISA/pam_deny.so account required /lib/security/$ISA/pam_unix.so password required /lib/security/$ISA/pam_cracklib.so retry=3 type= password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow nis password required /lib/security/$ISA/pam_deny.so session required /lib/security/$ISA/pam_limits.so session required /lib/security/$ISA/pam_unix.so while changing password for local user all the dialogs look okay but the system just suspends(fails) after the message: Trying 172.16.0.31... Connected to sshserver.inet.kec (172.16.0.31). Escape character is '^]'. 200 sshserver poppassd v1.6a hello, who are you? user zapp 200 your password please. pass 1234 200 your new password please. newpass 123456 Changing password for user zapp. passwd: all authentication tokens updated successfully. ...suspends ^C ...password is not changed. I have to kill the telnet process manually to for this session to stop. Someone please enlighten me on this ? Pretty urgent. Please help. Thanks and regards -zapperabhi __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
