Re: [courier-users] Re: How to troubleshoot Sqwebmail auth of virtualusers?
--Juha Saarinen wrote on 15.05.2002 17:26 +1200: On Wed, 15 May 2002, Juha Saarinen wrote: I assume this has something to do with SqWebmail not using authuserdb...? If so, how could I persuade SqWebmail to do so? Hmmm... seems to be there: No, SQWebmail reads them from etc/authmodules, and the authdaemon reads them from etc/authdaemon [juha@vim2 authlib]$ ./authinfo AUTHENTICATION_MODULES=authdaemon AUTHDAEMONMODULELIST=authcustom authcram authmysql authpgsql authldap authuserdb authpam SASL_AUTHENTICATION_MODULES=CRAM-SHA1 CRAM-MD5 PLAIN LOGIN More modules - more troubles. List only the modules you really need, in this order: authcram authuserdb authmysql Permissions seem right too, 700: $ ls -la /etc/userdb* -rwx--1 root root 481 May 15 17:00 /etc/userdb -rwx--1 root root12705 May 15 17:00 /etc/userdb.dat -rwx--1 root root0 May 15 17:00 /etc/userdb.lock -rwx--1 root root12632 May 15 17:00 /etc/userdbshadow.dat userdb.dat usually has world-readable permissions, but this should work with authdaemon. So, what am I missing here? Maybe your authdaemon looks somewhere else for the files, grep the locations out of the binary. And if you still get nowhere reconsider using strace :) Roland ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: How to troubleshoot Sqwebmail auth of virtualusers?
On Wed, 15 May 2002, Roland Schneider wrote: No, SQWebmail reads them from etc/authmodules, and the authdaemon reads them from etc/authdaemon That's odd, I don't have an 'authmodules' file anywhere, on the two systems with SqWebmail installed. There is, however, an 'authmodulelist' file in /usr/local/share/sqwebmail, with this content: authdaemon Nor do I have an /etc/authdaemon file. Am I supposed to create these? It doesn't seem to be mentioned in the documentation. The 'authdaemon' files I have are all executable binary files. More modules - more troubles. List only the modules you really need, in this order: authcram authuserdb authmysql All right, where would I list them? Maybe your authdaemon looks somewhere else for the files, grep the locations out of the binary. Nothing much interesting And if you still get nowhere reconsider using strace :) Strace it is then. -- Juha Saarinen ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users