diff options
author | Sumit Bose <sbose@redhat.com> | 2010-03-10 17:03:23 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-12 09:00:28 -0500 |
commit | 5096bb4c2242b426aa6f5ea2cb82223e0b81a345 (patch) | |
tree | 7db071f1395488b0e419f93c4328330cd9b899fa /src/config | |
parent | 70a54fe1c527efabf0c3258a2daa669f5e2bb788 (diff) | |
download | sssd-5096bb4c2242b426aa6f5ea2cb82223e0b81a345.tar.gz sssd-5096bb4c2242b426aa6f5ea2cb82223e0b81a345.tar.xz sssd-5096bb4c2242b426aa6f5ea2cb82223e0b81a345.zip |
Add krb5_kpasswd option
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/SSSDConfig.py | 1 | ||||
-rwxr-xr-x | src/config/SSSDConfigTest.py | 3 | ||||
-rw-r--r-- | src/config/etc/sssd.api.d/sssd-krb5.conf | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/config/SSSDConfig.py b/src/config/SSSDConfig.py index c9e08caf0..7dd90e787 100644 --- a/src/config/SSSDConfig.py +++ b/src/config/SSSDConfig.py @@ -100,6 +100,7 @@ option_strings = { # [provider/krb5/chpass] 'krb5_changepw_principal' : _('The principal of the change password service'), + 'krb5_kpasswd' : _('Server where the change password service is running if not on the KDC'), # [provider/ldap] 'ldap_uri' : _('ldap_uri, The URI of the LDAP server'), diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index 4e9d09144..7e882e74d 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -677,7 +677,8 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): #Test looking up all provider values options = domain.list_provider_options('krb5') - control_list.extend(['krb5_changepw_principal']) + control_list.extend(['krb5_changepw_principal', + 'krb5_kpasswd']) self.assertTrue(type(options) == dict, "Options should be a dictionary") diff --git a/src/config/etc/sssd.api.d/sssd-krb5.conf b/src/config/etc/sssd.api.d/sssd-krb5.conf index 7ba0ab323..7b12e08f0 100644 --- a/src/config/etc/sssd.api.d/sssd-krb5.conf +++ b/src/config/etc/sssd.api.d/sssd-krb5.conf @@ -11,3 +11,4 @@ krb5_validate = bool, None, false [provider/krb5/chpass] krb5_changepw_principal = str, None, false +krb5_kpasswd = str, None, false |