This is a discussion on Re: [courier-users] FreeBSD webadmin no auth modules available within the Courier-Imap forums, part of the Mail Servers and Related category; On Monday 07 January 2008, Thodoris wrote: [snip] > > My installed packages are: > > courier-0.54.0 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Monday 07 January 2008, Thodoris wrote:
[snip] > > My installed packages are: > > courier-0.54.0 Courier SMTP IMAP POP3 HTTP mail server suite > courier-authlib-base-0.59.3 Courier authentication library base > courier-authlib-mysql-0.59.3 MySQL support for the Courier > authentication library > That's OK. You should have everything necessary in there... > and by copying the webadmin binary in to the cgi-bin directory of my web > server I was supposed to see a fully functional web interface (I've seen > that in linux before) but when using the link "Password Authentication > Modules" no modules appear and I am already using the authmysql module > to authenticate users for some time now. > Just for being sure verify permissions on webadmin binary in cgi-bin directory, mine is -r-s--x--x 1 root wheel 3704 Mar 9 2006 webadmin > While looking into the code I found that in the script > admin-10password.pl in line 10 the function > ReadEnvVarConfigFile("authdaemonrc") is called and if I got that right > (I think ReadEnvVarConfigFile is defined in webadmin.pl line 283) this > fumction searches the file authdaemonrc in the directory > "/usr/local/etc/courier/webadmin/added/" that doesn't seem to exist for > me. Instead "authdaemonrc" is located in the courier-authlib conf > directory "/usr/local/etc/authlib" in my system. That's correct. But you need to read a bit more of the code. Directory first mentioned is just for not yet commited changes. Actual data for running system are in "/usr/local/etc/authlib". In authdaemonrc file, there are two lines: authmodulelist="authuserdb" authmodulelistorig="authuserdb authvchkpw authpam authldap authmysql authpgsql" First one is for active modules, most probably should contain just authmysql in your case probably, the second one is list of available modules, should be left alone as is. So in my case only authuserdb is listed as active, and there are six of them in 'Add authentication module:" select box. In my case, authdaemonrc file has following permissions: -rw------- 1 courier courier 4298 Jan 7 17:44 authdaemonrc Is there something different in your case? Did you tweak something there? Regards, Milan -- This address is used only for mailing list response. Do not send any personal messages to it, use milan in address instead. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216...et/marketplace _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |