summaryrefslogtreecommitdiff
path: root/server/config
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-11-09 18:38:09 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-11-18 17:35:10 -0500
commit15dc6329c159e3f03e25cc18a49681e0f4be9c51 (patch)
tree713d3ea741aecb386413ad151b07de7f801b412a /server/config
parent8f1d08367255e5be9db8718da5d4ee9444911b57 (diff)
downloadsssd-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.py1
-rw-r--r--server/config/etc/sssd.api.conf1
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