tpop3d-devel
[Top][All Lists]
Advanced

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

[tpop3d-discuss] unexpected PAM auth. failure, may be a bug? (tpop3d-1.3


From: Vasarhelyi asd Daniel
Subject: [tpop3d-discuss] unexpected PAM auth. failure, may be a bug? (tpop3d-1.3.5)
Date: Thu, 7 Mar 2002 20:29:22 +0100
User-agent: Mutt/1.3.27i

Hi!

I'm new to tpop3d, but I'd like to use it for our virtual mailserver,
but have some unexpected errors, and I have no clue, what's wrong - it
may be a bug...

First of all, I'd like to use pam_mysql.so, but because of continuos
failure of authorization, I fall back to this -very simple-
configuration:

krisz:/home/asd/tpop3d-1.3.5# cat /etc/pam.d/tpop3d 
#%PAM-1.0
auth            optional                pam_warn.so
auth            required                pam_permit.so
#auth           required                pam_mysql.so user=root passwd=XXX 
db=admin usercolumn=User passwdcolumn=password

krisz:/home/asd/tpop3d-1.3.5# cat /etc/tpop3d.conf 
listen-address: 0.0.0.0
mailbox: bsd:/var/mail/$(user)
auth-pam-enable: yes
auth-pam-mail-group: mail

/var/mail/asd exists

I'm running tpop3d this way:
krisz:/home/asd/tpop3d-1.3.5# ./tpop3d -d
listener_new: gethostbyaddr(0.0.0.0): cannot resolve name
listener_new: 0.0.0.0: no domain suffix can be appended for this address
listener_new: 0.0.0.0: using fallback domain suffix `krisz'
listening on address 0.0.0.0, port 110, domain krisz
1 authentication drivers successfully loaded
net_loop: tpop3d version 1.3.5 successfully started
listeners_post_select: client [5]127.0.0.1/krisz: connected
auth_pam_new_user_pass: pam_acct_mgmt(asd): User account has expired
connection_do: client `[5]127.0.0.1/krisz': 1 authentication failures
connections_post_select: client [5]127.0.0.1/krisz: disconnected

In syslog:
Mar  7 20:04:43 krisz tpop3d[5097]: listener_new: gethostbyaddr(0.0.0.0): 
cannot resolve name
Mar  7 20:04:43 krisz tpop3d[5097]: listener_new: 0.0.0.0: no domain suffix can 
be appended for this address
Mar  7 20:04:43 krisz tpop3d[5097]: listener_new: 0.0.0.0: using fallback 
domain suffix `krisz'
Mar  7 20:04:43 krisz tpop3d[5097]: listening on address 0.0.0.0, port 110, 
domain krisz
Mar  7 20:04:43 krisz tpop3d[5097]: 1 authentication drivers successfully loaded
Mar  7 20:04:43 krisz tpop3d[5097]: net_loop: tpop3d version 1.3.5 successfully 
started
Mar  7 20:04:44 krisz tpop3d[5097]: net_loop: terminating on signal 2 Mar  7 
20:04:45 krisz tpop3d[5098]: listener_new:
gethostbyaddr(0.0.0.0): cannot resolve name
Mar  7 20:04:45 krisz tpop3d[5098]: listener_new: 0.0.0.0: no domain suffix can 
be appended for this address
Mar  7 20:04:45 krisz tpop3d[5098]: listener_new: 0.0.0.0: using fallback 
domain suffix `krisz'
Mar  7 20:04:45 krisz tpop3d[5098]: listening on address 0.0.0.0, port 110, 
domain krisz
Mar  7 20:04:45 krisz tpop3d[5098]: 1 authentication drivers successfully loaded
Mar  7 20:04:45 krisz tpop3d[5098]: net_loop: tpop3d version 1.3.5 successfully 
started
Mar  7 20:04:58 krisz tpop3d[5098]: listeners_post_select: client 
[5]127.0.0.1/krisz: connected

address@hidden:/dev/pts/3:1:~]$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <address@hidden>
user asd
+OK Tell me your password.
pass whatever
-ERR Lies! Try again!
quit
+OK Fine. Be that way.
Connection closed by foreign host.


As I see, there is not anything in the logs about PAM. 

I have not got any routine sending bug-reports, I'll make up leeway, if
anyone asks for more infos.

Thank you for advance: Daniel, from Hungary




-- 
Daniel "asd" Vasarhelyi
PGP key avaible at http://asd.musichello.com/gpg-pub.key and public keyservers
Key fingerprint = EA00 AF4D A83C 1122 0967  DDF5 27BC 390F 181F 9954
Mailbox protected by spamassasin and razor SPAM filters.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]