diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-08 08:14:35 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-09 08:29:34 -0400 |
commit | 855abda5ed5a0dcae499632ed5ead1d4cd293b48 (patch) | |
tree | 1643486ecb8645e903488148b5e7be697673172b /src/config | |
parent | 7bfc287b693d3696bd5b3c60bdb7e543eb230f9b (diff) | |
download | sssd-855abda5ed5a0dcae499632ed5ead1d4cd293b48.tar.gz sssd-855abda5ed5a0dcae499632ed5ead1d4cd293b48.tar.bz2 sssd-855abda5ed5a0dcae499632ed5ead1d4cd293b48.zip |
Change default min_id to 1
Also update manpage for min_id/max_id to be more clear about how
it relates to primary GID.
Diffstat (limited to 'src/config')
-rwxr-xr-x | src/config/SSSDConfigTest.py | 7 | ||||
-rw-r--r-- | src/config/etc/sssd.api.conf | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index 04d438e0..ea897d71 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -595,7 +595,6 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): options = domain.list_mandatory_options() control_list = [ 'cache_credentials', - 'min_id', 'id_provider', 'auth_provider'] @@ -989,9 +988,9 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): domain = SSSDConfig.SSSDDomain('sssd', self.schema) # Positive test - Remove existing option - self.assertTrue('min_id' in domain.get_all_options().keys()) - domain.remove_option('min_id') - self.assertFalse('min_id' in domain.get_all_options().keys()) + self.assertTrue('cache_credentials' in domain.get_all_options().keys()) + domain.remove_option('cache_credentials') + self.assertFalse('cache_credentials' in domain.get_all_options().keys()) # Positive test - Remove unset but valid option self.assertFalse('max_id' in domain.get_all_options().keys()) diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index 7d0e20c7..f0ef4114 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -46,7 +46,7 @@ chpass_provider = str, None, false debug_level = int, None, false, 0 debug_timestamps = bool, None, false command = str, None, false -min_id = int, None, true, 1000 +min_id = int, None, false max_id = int, None, false timeout = int, None, false enumerate = bool, None, false |