From 15dc6329c159e3f03e25cc18a49681e0f4be9c51 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 9 Nov 2009 18:38:09 +0100 Subject: 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 --- server/config/SSSDConfig.py | 1 + server/config/etc/sssd.api.conf | 1 + 2 files changed, 2 insertions(+) (limited to 'server/config') 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 -- cgit