Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support PyPAM in pam backend, update to latest API
Fix bug 938801. This bug pointed out that some distros don't have the same pam Python module packaged that this backend was expecting. In my case, on Fedora, it's PAM and the API is not compatible with the pam module that was used. This patch makes the backend support PyPAM, as well as the original pam module that was used. In order to test this, I updated the pam backend to the latest backend API. Even though the base class will raise NotImplementedError, I included all functions here to make it more clear all of the things this backend does not do. Change-Id: I74144f4e63b6830c8224bc87e1662eb5df8728a0
- Loading branch information
Showing
1 changed file
with
125 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters