pam_unix not used, but being called

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all.
I'm authenticating proxy user via pam_pgsql.so, here is my 
/etc/pam.d/squid file :

<squid>

#use /etc/passwd
#auth    required  pam_unix.so

#use postgreSQL
auth    required  pam_pgsql.so table=pam_proxy

#log in /var/log/auth.log
auth    required  pam_warn.so

</squid>

an here is what I get on auth.log

<auth.log>
PAM_pgsql[8241]: setting option: table=>pam_proxy 
PAM_pgsql[8241]: attempting to authenticate: usashley
PAM_pgsql[8241]: usashley
PAM_pgsql[8241]: query: SELECT senha_md5 FROM pam_proxy WHERE
usuario='usashley'
PAM_pgsql[8241]: (squid) user usashley authenticated.
PAM-warn[8241]: service: squid [on terminal: <unknown>]
PAM-warn[8241]: user: (uid=13) -> usashley [remote: ?nobody@?nowhere]
PAM_unix[8241]: could not identify user (from getpwnam(usashley))

</auth.log>

I think my user is not authenticated because of the last log message, do
you know why pam_unix.so is being called ?


-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb



_______________________________________________

Pam-list@redhat.com
https://listman.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux