tpop3d-devel
[Top][All Lists]
Advanced

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

Re: [tpop3d-discuss] Auth problem with tpop3d version 1.4.1pre2


From: Ben Schumacher
Subject: Re: [tpop3d-discuss] Auth problem with tpop3d version 1.4.1pre2
Date: Mon, 4 Feb 2002 11:47:00 -0700 (MST)

Wash-

I have not tested it myself, but I believe the patch I have attached
should fix your problem. It appears that auth_mysql.c was shifting by 4
bytes to skip past {md5} than the needed 5 bytes.

Cheers,

Ben

On Mon, 4 Feb 2002, Odhiambo Washington wrote:
> Hello Gentlemen,
> 
> I have today installed tpop3d-1.4.1pre2 on a test box that has been
> running 1.3.4.
> 
> However I do have an authentication problem with it. I haven't changed
> anything on tpop3d.conf and the MySQL database either. I suspect that
> there is something I've missed in the man page??
> 
> TIA
> 
> The entry in mysql db looks like this:
> 
> +---------------+------------+---------------------------------------+-----------+
> | domain_name   | local_part | password_hash                         | 
> mbox_name |
> +---------------+------------+---------------------------------------+-----------+
> | freebsd.co.ke | wash       | {md5}32c1081da90fb2ed2b400c22cafa7f8c | wash   
>    |
> +---------------+------------+---------------------------------------+-----------+
> 
> _and_ here is what I get from the logfile:
> 
> alligator# less /var/log/tpop3d.log
> Feb  4 13:01:29 alligator tpop3d[4757]: experimental BSD mailbox metadata 
> cache enabled
> Feb  4 13:01:29 alligator tpop3d[4757]: listener_new: gethostbyaddr(0.0.0.0): 
> cannot resolve name
> Feb  4 13:01:29 alligator tpop3d[4757]: listener_new: 0.0.0.0: no domain 
> suffix can be appended for this address
> Feb  4 13:01:29 alligator tpop3d[4757]: listener_new: 0.0.0.0: using fallback 
> domain suffix `alligator.wananchi.com'
> Feb  4 13:01:29 alligator tpop3d[4757]: listening on address 0.0.0.0, port 
> 110, domain alligator.wananchi.com
> Feb  4 13:01:29 alligator tpop3d[4757]: 2 authentication drivers successfully 
> loaded
> Feb  4 13:01:29 alligator tpop3d[4757]: net_loop: tpop3d version 1.4.1pre2 
> successfully started
> Feb  4 13:01:33 alligator tpop3d[4757]: listeners_post_select: client 
> [6]62.8.64.108/alligator.wananchi.com: connected
> Feb  4 13:01:41 alligator tpop3d[4757]: authcontext_new_user_pass: began 
> session for `wash' with pam; uid 1000, gid 6
> Feb  4 13:01:41 alligator tpop3d[4757]: fork_child: [6]wash(62.8.64.108): 
> successfully authenticated with pam
> Feb  4 13:01:41 alligator tpop3d[4757]: fork_child: new child is PID 4759
> Feb  4 13:01:46 alligator tpop3d[4759]: UIDL
> Feb  4 13:01:48 alligator tpop3d[4759]: connections_post_select: client 
> [6]wash(62.8.64.108): disconnected
> Feb  4 13:01:48 alligator tpop3d[4759]: authcontext_delete: finished session 
> for `wash' with pam
> Feb  4 13:01:49 alligator tpop3d[4757]: listeners_post_select: client 
> [6]62.8.64.108/alligator.wananchi.com: connected
> Feb  4 13:02:00 alligator tpop3d[4757]: auth_mysql_new_user_pass: 
> address@hidden has password type md5, but hash is of
> incorrect length
> Feb  4 13:02:00 alligator tpop3d[4757]: auth_mysql_new_user_pass: 
> address@hidden failed login with wrong password
> Feb  4 13:02:00 alligator tpop3d[4757]: connection_do: client 
> `[6]62.8.64.108/alligator.wananchi.com': username
> address@hidden' : 1 authentication failures
> Feb  4 13:02:03 alligator tpop3d[4757]: connections_post_select: client 
> [6]62.8.64.108/alligator.wananchi.com: disconnected
> 
> 
> 
> 
> 
> 
> -Wash
> 
> S y s t e m s   A d m i n.
> 
> -- 
> Odhiambo Washington  <address@hidden>    "The box said 'Requires
> Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
> Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."   
> GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)
> 
> ++
> Stult's Report:
>       Our problems are mostly behind us.  What we have to do now is
> fight the solutions.
> 
> _______________________________________________
> tpop3d-discuss mailing list
> address@hidden
> http://lists.beasts.org/mailman/listinfo/tpop3d-discuss
> 

Attachment: auth_mysql.patch
Description: Text document


reply via email to

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