Hi,
I was wondering if someone could shed some light on how to use PAM with
ngircd?
I've set PAM = yes, and PAMIsOptional = no, but I'm kind of fuzzy on how
this is supposed to work.
The client connects with a nick and username, (in this case my username for
both, douglasl).
The server rejects the connection, and logs:
[18632:6 5] Accepted connection 7 from 127.0.0.1:59814 on socket 6.
[18906:3 5] PAM: Error on "douglasl" (douglasl!~douglasl@localhost):
Authentication failure
[18632:3 5] User "douglasl!~douglasl@localhost" rejected (connection 7):
Bad password!
[18632:6 5] Shutting down connection 7 (Bad password) with
localhost:59814 ...
[18632:5 5] Client "douglasl" unregistered (connection 7): Bad password
[18632:6 5] Connection 7 with localhost:59814 closed (in: 0.1k, out:
0.0k).
Riiight. I'm pretty sure I've got pam working, because I can use pamtester
well enough:
~/ngircd/pamtester-0.1.2/src# ./pamtester login douglasl authenticate
Password:
pamtester: successfully authenticated
So, the question is, how the irc client supposed to be supplying the
password for the user?
The raw commands to the server after connect are PASS / NICK / USER, which
sound like they should be all I need.
:/
Any ideas?
~
Doug.