mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
User lifecycle: ignore SID when moving from preserved to staged
When a preserved user entry is moved to staged state, the SID attribute must not be provided to user-stage command (the option does not exist and the SID will be re-generated anyway). Related: https://pagure.io/freeipa/issue/8995 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
fdfde9ce52
commit
fd53ed14b0
@ -1002,6 +1002,7 @@ class user_stage(LDAPMultiQuery):
|
||||
u'ipauniqueid', u'krbcanonicalname',
|
||||
u'sshpubkeyfp', u'krbextradata',
|
||||
u'ipacertmapdata',
|
||||
'ipantsecurityidentifier',
|
||||
u'nsaccountlock']
|
||||
|
||||
def execute(self, *keys, **options):
|
||||
|
Loading…
Reference in New Issue
Block a user