Sam Varshavchik,hello:
 
   Thank you for you answer,but i don't know how to do.
   Please tell me detail:)

I have got these result with your advice.
username:abcd
passwd:123456

[root@mail authlib]# ./authinfo
AUTHENTICATION_MODULES="authvchkpw"
SASL_AUTHENTICATION_MODULES="LOGIN"
[root@mail authlib]# ./authtest
Usage: authtest [-s service] [ -m module ] userid password
[root@mail authlib]# ./authinfo
AUTHENTICATION_MODULES="authvchkpw"
SASL_AUTHENTICATION_MODULES="LOGIN"
[root@mail authlib]# ./authtest -m authvchkpw abcd 123456
Authenticated: module authvchkpw
Home directory: /mail/vpopmail/domains/o-yo.com/abcd
UID/GID: 501/503
AUTHADDR=abcd
AUTHFULLNAME=abcd
 
[root@mail authlib]# ./authtest -m authvchkpw abcd 12345 
Authentication FAILED!


Best Regards!

                                 [EMAIL PROTECTED]

at 2000-10-2 1:26:00 you write:
>On Mon, 2 Oct 2000, oneflower wrote:
>
>> hello,anybody:
>> 
>>    First I use sqwebmail-0.37a + vpopmail4.84 + mysql + redhat6.2.
>> That is all right.When I change sqwebmail-0.37a to sqwebmail-1.0,
>> there is something wrong.
>>    When I login,it tellsme 'invalid username or password'.
>> 
>> My step of sqwebmail's compile:
>> 1../configure --enable-authvchkpw --without-authpam --without-authuserdb 
>--enable-webpass=no --without-authpwd --without-authshadow --without-authmysql
>> 
>> 2.edit authlib/Makefile
>> 
>> Replace 
>> CRYPTLIBS = -lcrypt
>> With
>> CRYPTLIBS = -lcrypt -L/usr/lib/mysql -lmysqlclient
>> 
>> 3.edit sqwebmail/Makefile
>> replace
>> LIBS = -lcrypt
>> with
>> LIBS = -lcrypt -L/usr/lib/mysql -lmysqlclient
>> 
>> 4.make
>> 5.make install-strip
>
>Run authlib/authinfo to determine what your authentication modules
>are.  Then run authtest to troubleshoot authentication.
>
>-- 
>Sam
 

Reply via email to