cannot make mod_auth_bsd work

Previous thread: Disk Load by Tang Tse on Thursday, March 22, 2007 - 5:31 am. (3 messages)

Next thread: Microsoft gets the Most Secure Operating Systems award by Siju George on Thursday, March 22, 2007 - 6:28 am. (28 messages)
From: Thierry Lacoste
Date: Thursday, March 22, 2007 - 6:09 am

After a default 4.0 install I installed www/mod_auth_bsd
but all users are rejected.
I have the following line in my /var/www/logs/error_log:
httpd: invalid script: /usr/libexec/auth/login_passwd

Same results wether apache is chrooted or not.

Any help would be appreciated.

Regards,
Thierry.

From: Vijay Sankar
Date: Thursday, March 22, 2007 - 2:20 pm

I tried to recreate your error message and when I removed "AuthBSDGroup
auth" in httpd.conf, I got the exact error you mention. So it is
possible that this is the cause for your error message.

The README file in /usr/local/share/doc/mod_auth_bsd explicitly mentions
this point and states that you should have something like:

AuthBSDGroup auth

<Directory /var/www/vhosts/foo/login>
     SSLRequireSSL           # required by default
     AuthType Basic          # only HTTP Basic supported
     AuthName "Foo Login"
     AuthBSD On
     Require valid-user      # restrict to system accounts
</Directory>

Hope this helps,

Vijay

--
Vijay Sankar
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: +1 (204) 885-9535, E-Mail: vsankar@foretell.ca

Previous thread: Disk Load by Tang Tse on Thursday, March 22, 2007 - 5:31 am. (3 messages)

Next thread: Microsoft gets the Most Secure Operating Systems award by Siju George on Thursday, March 22, 2007 - 6:28 am. (28 messages)