When ipa-managed-entries is run by a normal user, it prints: IPA is not configured on this system. although that's not true, it's only unable to check it.
ipa-managed-entries
IPA is not configured on this system.
Solution: Add "is user root" check.
Metadata Update from @stlaz: - Issue assigned to stlaz
Metadata Update from @tkrizek: - Issue priority set to: major - Issue set to the milestone: FreeIPA 4.6
master:
Metadata Update from @tkrizek: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Can you make that os.getuid() != 0 instead of not os.getuid() == 0, please?
os.getuid() != 0
not os.getuid() == 0
Log in to comment on this ticket.