#1471: Add PAM authentification to Deluged
--------------------------+-------------------------------------------------
Reporter: v-for-vandal | Owner:
Type: patch | Status: new
Priority: minor | Milestone: Future
Component: core | Version: 1.3.0_dev
Keywords: auth |
--------------------------+-------------------------------------------------
This patch is similar to the [http://dev.deluge-torrent.org/ticket/659
659]. It adds authentication via PAM as option.
Idea is:
On the beginig, AuthManager determine the available to the daemon auth
methods( i.e. check that there is PAM Python module ) and create a list of
the available methods.
Then it read the list of the desired methods from the config variable
"auth_methods" ( defaulted to 'file' ) and remove from this list
unavailable methods. When auth request is recived, AuthManager call
necessary functions in specified order. If any of them success, then
authentication is successfull, otherwise a BadLoginError is raised.
Flaws: Now there is no way to specify what exactly was wrong in
authentication for each function.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1471>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.