missing unixgroup script

Bug #537723 reported by chrizz
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
pwauth (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: pwauth

package pwauth
Ubuntu 9.10

in combination with libapache2-mod-authnz-external pwauth is missing the unixgroup perl script.

is this wanted? maybe because the availability of libapache2-mod-authz-unixgroup but who knows.

i still think the script should be included in the packet because group auth wont work without it in the mod_authnz_external.

thx

Revision history for this message
Jan Kopp (h-kopp) wrote :

You can grab it from pwauth project site (http://code.google.com/p/pwauth/).

copy unixgroup to /usr/sbin and make it executable.

Changed in pwauth (Ubuntu):
status: New → Confirmed
Revision history for this message
ArbitraryConstant (anthony-spamtrap) wrote :

really annoying that this the package isn't functional without me going and grabbing the missing pieces from some random google code page

Revision history for this message
Landon Thomas (lthomas) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.