[PATCH 0/3 v2] PolicyKit - Add Shadow authorisation framework

Carlos Corbacho carlos at strangeworlds.co.uk
Fri Dec 7 15:09:06 PST 2007


David, Piter,

The following three patches will integrate Piter's Shadow work into PolicyKit.

Patch 1: PAM header cleanups - no change from last time

Patch 2:  Split out authentication framework from authorisation database

David, based on your suggestion, this splits the authentication framework from 
the authorisation database, and handles the necessary magic for setting the 
right framework for a given database (if no framework is specified), or 
rejecting it and failing if you try to specify an invalid framework for a 
given database.

Because I'm lazy, I've shortend --with-authentication-framework 
to --with-authfw (less typing), but it's trivial for me to go to the longhand 
if you prefer?

This also wraps any PAM specific bits in the code with POLKIT_AUTHFW_PAM.

Patch 3: Add Piter's Shadow authentication work (rebased against new patch #2)

This depends on the previous two patches.

For now, even if PAM is not installed, Shadow must still be explicitly 
specified as the authentication framework. A trivial update to configure.in 
at a later point (if the Shadow code is accepted) would be to have Shadow as 
a fall back if PAM cannot be located.

-Carlos
-- 
E-Mail: carlos at strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D


More information about the hal mailing list