mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-13 06:25:00 -05:00
hbactest fails while you have svcgroup in hbacrule
https://fedorahosted.org/freeipa/ticket/1988
This commit is contained in:
committed by
Rob Crittenden
parent
bb6e720393
commit
c9ef39918a
@@ -283,8 +283,9 @@ class hbactest(Command):
|
||||
if options['service'] != u'all':
|
||||
try:
|
||||
request.service.name = options['service']
|
||||
request.service.groups = \
|
||||
self.api.Command.hbacsvcgroup_show(request.service.name)['result']['member_hbacsvc']
|
||||
service_result = self.api.Command.hbacsvc_show(request.service.name)['result']
|
||||
if 'memberof_hbacsvcgroup' in service_result:
|
||||
request.service.groups = service_result['memberof_hbacsvcgroup']
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user