diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-12-01 17:48:41 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-12-10 13:41:35 -0500 |
commit | 1a20d754216bafb82aa40ea584c7de7c9a5b0b07 (patch) | |
tree | eaf7ebf3bab59caf6ea7cb381605c695b862c47c /ipalib/plugins/config.py | |
parent | bfaea1dd78bbf6de0248ef8e33784d57ead9d24a (diff) | |
download | freeipa-1a20d754216bafb82aa40ea584c7de7c9a5b0b07.tar.gz freeipa-1a20d754216bafb82aa40ea584c7de7c9a5b0b07.tar.xz freeipa-1a20d754216bafb82aa40ea584c7de7c9a5b0b07.zip |
Set labels on all attributes in the config object.
Make the cert subject base read-only. This is here only so replicated servers
know their base.
ticket 466
Diffstat (limited to 'ipalib/plugins/config.py')
-rw-r--r-- | ipalib/plugins/config.py | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/ipalib/plugins/config.py b/ipalib/plugins/config.py index 9ac196a24..44e4eabb0 100644 --- a/ipalib/plugins/config.py +++ b/ipalib/plugins/config.py @@ -49,8 +49,19 @@ how many records may be returned on a given search. Server Configuration. --enable-migration=BOOL Enable migration mode - --subject=STR Base for certificate subjects (OU=Test,O=Example) + --pwdexpnotify=INT Password Expiration Notification (days) +The password notification value is stored here so it will be replicated. +It is not currently used to notify users in advance of an expiring +password. + +Some attributes are read-only, provided for information purposes. These +include: + +Certificate Subject base: the configured certificate subject base, + e.g. O=EXAMPLE.COM. This is configurable only at install time. +Password plugin features: currently defines additional hashes that the + password will generate (there may be other conditions). """ from ipalib import api @@ -130,6 +141,29 @@ class config(LDAPObject): cli_name='subject', label=_('Certificate Subject base'), doc=_('Base for certificate subjects (OU=Test,O=Example)'), + flags=['no_update'], + ), + List('ipagroupobjectclasses?', + cli_name='groupobjectclasses', + label=_('Default group objectclasses'), + doc=_('Default group objectclassses (comma-separated list)'), + ), + List('ipauserobjectclasses?', + cli_name='userobjectclasses', + label=_('Default user objectclasses'), + doc=_('Default user objectclassses (comma-separated list)'), + ), + Int('ipapwdexpadvnotify?', + cli_name='pwdexpnotify', + label=_('Password Expiration Notification'), + doc=_('Password Expiration Notification (days)'), + minvalue=0, + ), + Str('ipaconfigstring?', + cli_name='ipaconfigstring', + label=_('Password plugin features'), + doc=_('Extra hashes to generate in password plugin'), + flags=['no_update'], ), ) |