[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
auth_userokay() function only always the first login
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: auth_userokay() function only always the first login
- From: Hans pauer <openbsdtechmail_(_at_)_yahoo_(_dot_)_de>
- Date: Sun, 21 Jul 2002 14:48:42 +0200 (CEST)
Hello,
I writing a little program which authenticates a user.
I use auth_userokay() like this:
if((auth_userokay(name,0,"some-kind",passwd) == NULL)
{
printf("failed");
}
else
{
printf("successful");
}
The first login is OK. But all other(the 2,3,4,5,...)
fail! I have no idea why !?!
I checked the buffers and there the password and
username is ok. If I kill the daemon and start it
again. Then again the first is successfull, but the
others are not.
please help me.
thanks in advance
hans pauer
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de
Visit your host, monkey.org