Andy Bradford writes:

> Ok, I download the latest sqwebmail (1.2.4) and have compiled it with 
> these options: 
> 
> ./configure --enable-https --enable-webpass=yes --enable-maxpurge=90 --with-authpam 
>--with-authshadow 
> 
> I have created a webmail PAM file (basically the default) which should 
> work.  Here is what is happening.  The default install seems to create 
> an authmodulelist file with authdaemon as the only authentication 
> method.  In the authdaemonrc file I have  
> 
>       authmodulelist="authpam" 
> 
> and after starting the authdaemond I am able to login, however, when I 
> change the authmodulelist file to  
> 
>       authpam 
> 
> and disable authdaemond I am no longer able to login.  I am unsure why 
> authpam works when used with authdaemond but not when it is used 
> ``standalone'' in authmodulelist.  Should this even work in this way?

Yes.  When authpam is selected, all other authentication modules are 
compiled into authdaemond, with the only "real" authentication module being 
authpam.  What you did was compile authpam that includes the authshadow 
module. 

If you want to use other modules directly, you have to disable authpam, 
which will cause the other modules to be directly accessed by the 
authentication code. 

 


-- 
Sam 

Reply via email to