https://bugzilla.redhat.com/show_bug.cgi?id=740838
Description of problem: Version-Release number of selected component (if applicable): ipa-server-2.1.1-4.el6.x86_64 How reproducible: Always Steps to Reproduce: 1.[root@kungfupanda ~]# ipa hbacrule-add-host sghai1 [member host]: test [member host group]: Rule name: sghai1 Enabled: TRUE Failed hosts/hostgroups: member host: test: no such entry ------------------------- Number of members added 0 ------------------------- 2. However, while adding a non-existing service to the hbacrule we just get "Number of members added 0". Actual results: [root@kungfupanda ~]# ipa hbacrule-add-service Rule name: sghai [member HBAC service]: httpd [member HBAC service group]: Rule name: sghai Enabled: TRUE Users: sghai Hosts: kungfupanda.lab.eng.pnq.redhat.com, decepticons.lab.eng.pnq.redhat.com Source hosts: decepticons.lab.eng.pnq.redhat.com, kungfupanda.lab.eng.pnq.redhat.com Services: sshd, ftp, sudo ------------------------- Number of members added 0 ------------------------- [root@kungfupanda ~]# Expected results: [root@kungfupanda ~]# ipa hbacrule-add-service Rule name: sghai [member HBAC service]: httpd [member HBAC service group]: Rule name: sghai Enabled: TRUE Users: sghai Hosts: kungfupanda.lab.eng.pnq.redhat.com, decepticons.lab.eng.pnq.redhat.com Source hosts: decepticons.lab.eng.pnq.redhat.com, kungfupanda.lab.eng.pnq.redhat.com Services: sshd, ftp, sudo Failed services: httpd: no such entry <<<<<<<<<<< ------------------------- Number of members added 0 ------------------------- [root@kungfupanda ~]# Additional info:
attachment freeipa-rcrit-883-hbacservice.patch
This also fixes #1863
master: 6aa5bfe[[BR]] ipa-2-1: 2be04c6
Metadata Update from @rcritten: - Issue assigned to rcritten - Issue set to the milestone: FreeIPA 2.1.2 (bug fixing)
Login to comment on this ticket.