mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Server Upgrade: Fix comments
https://fedorahosted.org/freeipa/ticket/4904 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
b9657975b7
commit
b5e941d49b
@ -38,10 +38,10 @@ class updateclient(backend.Executioner):
|
|||||||
returns. Otherwise the update is cached until all
|
returns. Otherwise the update is cached until all
|
||||||
plugins of that update type are complete, then they
|
plugins of that update type are complete, then they
|
||||||
are applied together.
|
are applied together.
|
||||||
3. updates: A dictionary of updates to be applied.
|
3. updates: A list of updates to be applied.
|
||||||
|
|
||||||
updates is a dictionary keyed on dn. The value of an update is a
|
The value of an update is a dictionary with the following possible
|
||||||
dictionary with the following possible values:
|
values:
|
||||||
- dn: DN, equal to the dn attribute
|
- dn: DN, equal to the dn attribute
|
||||||
- updates: list of updates against the dn
|
- updates: list of updates against the dn
|
||||||
- default: list of the default entry to be added if it doesn't
|
- default: list of the default entry to be added if it doesn't
|
||||||
@ -54,15 +54,15 @@ class updateclient(backend.Executioner):
|
|||||||
replace:krbPwdLockoutDuration:10::600
|
replace:krbPwdLockoutDuration:10::600
|
||||||
replace: krbPwdMaxFailure:3::6
|
replace: krbPwdMaxFailure:3::6
|
||||||
|
|
||||||
Generates this update dictionary:
|
Generates this list which contain the update dictionary:
|
||||||
|
|
||||||
dict('cn=global_policy,cn=EXAMPLE.COM,cn=kerberos,dc=example,dc=com':
|
[
|
||||||
dict(
|
dict(
|
||||||
'dn': 'cn=global_policy,cn=EXAMPLE.COM,cn=kerberos,dc=example,dc=com',
|
'dn': 'cn=global_policy,cn=EXAMPLE.COM,cn=kerberos,dc=example,dc=com',
|
||||||
'updates': ['replace:krbPwdLockoutDuration:10::600',
|
'updates': ['replace:krbPwdLockoutDuration:10::600',
|
||||||
'replace:krbPwdMaxFailure:3::6']
|
'replace:krbPwdMaxFailure:3::6']
|
||||||
)
|
)
|
||||||
)
|
]
|
||||||
|
|
||||||
Here is another example showing how a default entry is configured:
|
Here is another example showing how a default entry is configured:
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ class updateclient(backend.Executioner):
|
|||||||
|
|
||||||
This generates:
|
This generates:
|
||||||
|
|
||||||
dict('cn=Managed Entries,cn=etc,dc=example,dc=com',
|
[
|
||||||
dict(
|
dict(
|
||||||
'dn': 'cn=Managed Entries,cn=etc,dc=example,dc=com',
|
'dn': 'cn=Managed Entries,cn=etc,dc=example,dc=com',
|
||||||
'default': ['objectClass:nsContainer',
|
'default': ['objectClass:nsContainer',
|
||||||
@ -81,7 +81,7 @@ class updateclient(backend.Executioner):
|
|||||||
'cn:Managed Entries'
|
'cn:Managed Entries'
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
)
|
]
|
||||||
|
|
||||||
Note that the variable substitution in both examples has been completed.
|
Note that the variable substitution in both examples has been completed.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user