mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Tests: Service tracker and tests don't recognize 'ipakrboktoauthasdelegate' attribute
Due to [1] being implemented, retrieve and search tests with --all option specified fail due to extra attribute. [1] https://fedorahosted.org/freeipa/ticket/5764 Ticket: https://fedorahosted.org/freeipa/ticket/6240 Reviewed-By: Ganna Kaihorodova <gkaihoro@redhat.com>
This commit is contained in:
parent
3a555ece79
commit
9021b64966
@ -256,6 +256,7 @@ class test_service(Declarative):
|
||||
has_keytab=False,
|
||||
ipakrbrequirespreauth=True,
|
||||
ipakrbokasdelegate=False,
|
||||
ipakrboktoauthasdelegate=False,
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -319,6 +320,7 @@ class test_service(Declarative):
|
||||
managedby_host=[fqdn1],
|
||||
ipakrbrequirespreauth=True,
|
||||
ipakrbokasdelegate=False,
|
||||
ipakrboktoauthasdelegate=False,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -44,7 +44,7 @@ class ServiceTracker(KerberosAliasMixin, Tracker):
|
||||
u'ipaKrbPrincipalAlias', u'ipaUniqueID', u'krbExtraData',
|
||||
u'krbLastPwdChange', u'krbLoginFailedCount', u'memberof',
|
||||
u'objectClass', u'ipakrbrequirespreauth',
|
||||
u'ipakrbokasdelegate'}
|
||||
u'ipakrbokasdelegate', u'ipakrboktoauthasdelegate'}
|
||||
|
||||
create_keys = (retrieve_keys | {u'objectclass', u'ipauniqueid'}) - {
|
||||
u'usercertificate', u'has_keytab'}
|
||||
@ -94,7 +94,8 @@ class ServiceTracker(KerberosAliasMixin, Tracker):
|
||||
u'ipauniqueid': [fuzzy_uuid],
|
||||
u'managedby_host': [self.host_fqdn],
|
||||
u'krbcanonicalname': [u'{0}'.format(self.name)],
|
||||
u'has_keytab': False
|
||||
u'has_keytab': False,
|
||||
u'ipakrboktoauthasdelegate': False,
|
||||
}
|
||||
|
||||
for key in self.options:
|
||||
|
Loading…
Reference in New Issue
Block a user