7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] FreeBSD webadmin ...
FromSent OnAttachments
ThodorisJan 7, 2008 5:01 am 
Milan ObuchJan 7, 2008 5:24 am 
ThodorisJan 7, 2008 5:55 am 
Milan ObuchJan 7, 2008 8:54 am 
ThodorisJan 8, 2008 12:18 am 
Milan ObuchJan 8, 2008 2:07 pm 
ThodorisJan 9, 2008 2:59 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] FreeBSD webadmin no auth modules availableActions...
From:Milan Obuch (cour@dino.sk)
Date:Jan 8, 2008 2:07:55 pm
List:net.sourceforge.lists.courier-users

On Tuesday 08 January 2008, Thodoris wrote:

O/H Milan Obuch ??????:

On Monday 07 January 2008, Thodoris wrote:

[snip]

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

I have changed this to: -r-sr-sr-x 1 root wheel 3704 May 24 2007 webadmin

but I think that this is not a problem because turning it back to normal did not change the situation.

As long as there is setuid bit set and owner root, you should be fine.

[snip]

authmodulelist="authuserdb" authmodulelistorig="authuserdb authvchkpw authpam authldap authmysql authpgsql"

I have commented out the authmodulelistorig by mistake and authmodulelist included everything supported now my configuration is:

authmodulelist="authmysql" authmodulelistorig="authuserdb authpam authmysql authcustom authpipe"

but I still cannot see the modules in the web interface.

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?

I had: -rw-r----- 1 root wheel 3690 Jan 8 08:14 authdaemonrc

but I tried to change it back to 0700 with no luck still doesn't work.

That's a bit strange. Most probably your trouble is owner of this file. I am using only ports for installing and mine (see above) is owned by courier. I did a small check and verified my webadmin runs as user courier. Most probably yours too, and as authdaemonrc is nor readable for user courier, no setting could be read, and you have not the expected output. Try changing authdaemonrc file owner to courier, group courier. According to what I see on my server you should achieve expected results. This does not explains why did you got into this situation, but that's another story.

I have to say though that I am using the web server without ssl (I don't think this makes any difference) because I have firewalled access to a single machine. In every change that I have tried I am restarting the services both authlib and courier itself just in case.

I verified everything mentioned above without SSL, too, so most probably just simple chown could be a solution for you.

Regards, Milan