I attempted to install realmd on a Fedora Cloud instance with 'dnf install realmd sssd'. After that, I tried to 'realm discover mydomain.ad' (as root), but was met with: realm: Couldn't discover realms: Not authorized to perform this action The journal shows: May 27 18:50:31 localhost realmd[28952]: client using service: :1.39 May 27 18:50:31 localhost realmd[28952]: holding daemon: :1.39 May 27 18:50:31 localhost realmd[28952]: Using 'r4162.29007' operation for method 'Discover' invocation on 'org.freedesktop.realmd.Provider' interface May 27 18:50:31 localhost realmd[28952]: Registered cancellable for operation 'r4162.29007' May 27 18:50:31 localhost realmd[28952]: couldn't check polkit authorization: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The nam e org.freedesktop.PolicyKit1 was not provided by any .service files May 27 18:50:31 localhost realmd[28952]: rejecting access to method 'Discover' on interface 'org.freedesktop.realmd.Provider' at /org/freede sktop/realmd May 27 18:50:31 localhost org.freedesktop.realmd[303]: ** (realmd:28952): WARNING **: couldn't check polkit authorization: GDBus.Error:org.f reedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files If I install polkit, realmd works properly.
Stephen, did you manage to make a patch for this?
No, I have not patched this. I'm going to be dabbling with some realmd tweaks this week, I think. I'll see what I can do.
It has been almost a year, and realmd is still unusable without polkit installed, which pretty much means anything with out a GUI. When will this be fixed??
For those of you that are encountering this problem, it is only a matter of adding the appropriate support in your distribution. The package name is "polkit" in Arch linux, "policykit-1" in Ubuntu. I'm not sure about other distributions. This isn't a bug in realmd code explicitly. It is merely missing an installation prerequisite somewhere.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/realmd/realmd/issues/1.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.