Re: [courier-users] FreeBSD webadmin no auth modules available

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 Tuesday 08 January 2008, Thodoris wrote: > O/H Milan Obuch ??????: > > On Monday 07 January 2008, Thodoris ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-08-2008
Milan Obuch
 
Posts: n/a
Default Re: [courier-users] FreeBSD webadmin no auth modules available

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

--
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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:36 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0