Sam Varshavchik wrote:
>
> On Mon, 11 Sep 2000, Daniel Augusto Fernandes wrote:
>
> > Sam Varshavchik wrote:
> > >
> > > On Fri, 8 Sep 2000, Daniel Augusto Fernandes wrote:
> > > > What to do when my 'authlib/authtest' work all right but my sqwebmail
> > > > doesn't authenticate. It shows the "Invalid user id & password" message.
> > > > And there is no syslog/error_log message.
> > > >
> > > > How can I debug this?
> > >
> > > There can only be two explanations:
> > >
> >
> > Hello, Thanks for your help,
> >
> > > * sqwebmail is not installed setuid root
> > >
> >
> > Here are my sqwebmail:
> >
> > -rwsr-xr-x 1 root root 228348 Sep 8 17:22
> > /usr/local/etc/httpd/cgi-bin/sqwebmail
> > -rwsr-xr-x 1 root root 212348 Sep 8 17:22
> > /usr/local/etc/httpd/cgi-bin/sqwebmail2
> >
> > The first one is an authvchkpw and is working on the same system! The
> > second one is my authmysql which is not working.
> >
> >
> > > * $HOME/Maildir does not have the correct ownership or permissions
> >
> > In this case I have the authtest working very well. Does authtest check
> > Maildir and uid differently? Cause authtest actually setuid/gid and
> > chdir to the $home/Maildir. Does it not?
>
> No, authtest just chdirs to the specified home directory of the
> account. It doesn't check $HOME/Maildir.
>
> >
> > > ./authtest [EMAIL PROTECTED] #####
> > > Authenticated: module authmysql
> > > Home directory: /home/vpopmail/domains/epostal.com.br/G/daftm
>
> And what about /home/vpopmail/domains/epostal.com.br/G/daftm/Maildir?
>
Here it is:
> pwd ; ls -la
> /home/vpopmail/domains/epostal.com.br/G/daftm
> total 10
> drwx------ 3 vpopmail vchkpw 1024 Sep 8 15:50 .
> drwx------ 102 vpopmail vchkpw 2048 Aug 10 18:09 ..
> -rw------- 1 vpopmail vchkpw 1184 Sep 11 13:51 .mailfilter
> drwx------ 17 vpopmail vchkpw 1024 Sep 11 17:48 Maildir
Did sqwebmail-0.99.20000909 change something in authmysql that could
help in it? Could it be 'make install-strip'?
--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED]
GCSNet http://www.gcsnet.com.br/
--------------------------------------------------------------------
Se voc� n�o encontra
o sentido das coisas
� porque este n�o
se encontra, se cria.
Antoine Saint-Exup�ry