diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-11-09 18:38:09 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-18 17:35:10 -0500 |
commit | 15dc6329c159e3f03e25cc18a49681e0f4be9c51 (patch) | |
tree | 713d3ea741aecb386413ad151b07de7f801b412a /server/config | |
parent | 8f1d08367255e5be9db8718da5d4ee9444911b57 (diff) | |
download | sssd-15dc6329c159e3f03e25cc18a49681e0f4be9c51.tar.gz sssd-15dc6329c159e3f03e25cc18a49681e0f4be9c51.tar.bz2 sssd-15dc6329c159e3f03e25cc18a49681e0f4be9c51.zip |
Make the password field configurable in NSS
Per the discussion on sssd-devel list, nss_sss should not return a
hardcoded value but this should rather be configurable to allow whatever
the OS or distribution thinks is the best for the particular case.
Fixes: #266
Diffstat (limited to 'server/config')
-rw-r--r-- | server/config/SSSDConfig.py | 1 | ||||
-rw-r--r-- | server/config/etc/sssd.api.conf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/server/config/SSSDConfig.py b/server/config/SSSDConfig.py index 1fa6d4c5..162354b1 100644 --- a/server/config/SSSDConfig.py +++ b/server/config/SSSDConfig.py @@ -56,6 +56,7 @@ option_strings = { 'filter_users' : _('Users that SSSD should explicitly ignore'), 'filter_groups' : _('Groups that SSSD should explicitly ignore'), 'filter_users_in_groups' : _('Should filtered users appear in groups'), + 'pwfield' : _('The value of the password field the NSS provider should return'), # [pam] 'offline_credentials_expiration' : _('How long to allow cached logins between online logins (days)'), diff --git a/server/config/etc/sssd.api.conf b/server/config/etc/sssd.api.conf index e8b266bd..91b38b63 100644 --- a/server/config/etc/sssd.api.conf +++ b/server/config/etc/sssd.api.conf @@ -26,6 +26,7 @@ entry_negative_timeout = int, None filter_users = list, str, root filter_groups = list, str, root filter_users_in_groups = bool, None, true +pwfield = str, None, * [pam] # Authentication service |