In the unixgroup script itself, it says: "This is a group authenticator
for use with mod_auth_external using the 'environment' argument passing
method.  If you are using mod_authnz_external, then a much better choice
is to use mod_authz_unixgroup for group checking."

After installing libapache2-mod-authz-unixgroup and enabling the module,
I was able to get group authentication to work by adding these configs:

AuthExternal pwauth
AuthBasicProvider external
AuthzUnixgroup on
AuthName "Site Name"
AuthType "basic"
require group mygroup

based on these docs: http://code.google.com/p/mod-auth-
external/wiki/ModAuthzUnixGroup

Note, you still need to point to pwauth in the <VirtualHost> config
outside of any <Directory> context:

DefineExternalAuth pwauth pipe /usr/sbin/pwauth

See: http://code.google.com/p/mod-auth-external/wiki/ConfigApache22

I'm not making any judgment on whether unixgroup should be included or
not, but for other folks like me that stumble upon this bug, you may
want to try libapache2-mod-authz-unixgroup before manually adding
unixgroup.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/537723

Title:
  missing unixgroup script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pwauth/+bug/537723/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to