Package Details: realmd 0.17.0-1

Git Clone URL: (read-only, click to copy)
Package Base: realmd
Description: DBus service for joining hosts to Active Directory and FreeIPA realms
Upstream URL:
Keywords: active-directory ipa kerberos ldap pam
Licenses: GPL3
Submitter: grawity
Maintainer: backerman
Last Packager: backerman
Votes: 17
Popularity: 0.000146
First Submitted: 2012-11-12 21:09 (UTC)
Last Updated: 2021-03-20 02:59 (UTC)

Pinned Comments

Latest Comments

robinrosenberger commented on 2021-02-26 12:02 (UTC)

I created a script that can be run before the join that adds the needed commands and manages pam and nss entries still has some cosmetic issues but should work good enough feel free to integrate it into the package if that is possible

robinrosenberger commented on 2021-02-25 21:35 (UTC)

With aji-prod's method it works, tried with the -git version but should apply here as well. It shouldn't be too hard to write suitable scripts and integrate them as the missing commands in realmd-distro.conf given the provided examples. If nobody is on it yet, I would give it a shot. +1 for sssd beeing a dependency, not optional ;)

YuutaW commented on 2020-10-30 00:42 (UTC) (edited on 2021-02-03 02:54 (UTC) by YuutaW)

What is the purpose of all these patches?

aji-prod commented on 2020-10-07 10:04 (UTC) (edited on 2020-10-07 11:40 (UTC) by aji-prod)

Joining an AD domain still fails with Enabling SSD in nsswitch.conf and PAM failed..

From the log:

Configured command not found: sssd-enable-service Configured command not found: sssd-restart-service Configured command not found: sssd-enable-longins

This is because the realmd-defaults.conf nor the realmd-distro.conf in /usr/lib/realmd contains those values.

Some distros have a pre-built config with some specific values for those entries: - - - -

Not sure how to adapt one to Arch.


To finish the realm join operation, follow the SSD online/offline guide:

This is the last step missing not covered by the realmd package due to the default configuration provided by the upstream.

enihcam commented on 2020-10-02 00:59 (UTC)

this package is a must-have for enterprise computing. it should be in official repository.

y6ep3 commented on 2020-06-22 08:28 (UTC) (edited on 2020-06-22 08:29 (UTC) by y6ep3)

I have got following error while installing

PKGBUILD: line 23: ./ No such file or directory

Looks like package problem

ShyanJMC commented on 2019-10-25 19:57 (UTC)

Even with SSSD installed there is this issue; "Realm could not be joined: Enabling SSSD in nssswitch.conf and PAM failed."

tasso commented on 2019-04-10 21:43 (UTC) (edited on 2019-04-13 11:05 (UTC) by tasso)

@lykwydchykyn .. the test fails, because the order of the items in the test-reply changed .. uno <--> one.

The test in release 0.16.3 is broken. The release was three years ago. The issue was fixed in the actual git-master of realmd at 2019-02-22.

I'm not that firm with the syntax of PKGBUILD and quite new to archlinux - maybe, someone could change it to get the sources from "git clone" instead of the old tarball.

(Big thanks @grawity)

lykwydchykyn commented on 2019-03-11 13:53 (UTC) (edited on 2019-03-11 13:54 (UTC) by lykwydchykyn)

Fails to build on my machine:

ERROR:tests/test-sssd-config.c:193:test_update_domain: assertion failed (check == output): ("[domain/one]\nval=1\nuno = 1\neins = one\n[sssd]\ndomains=one" == "[domain/one]\nval=1\neins = one\nuno = 1\n[sssd]\ndomains=one")

No idea what that test indicates, but it fails and building won't continue.

La_Montagne commented on 2018-03-01 20:48 (UTC)

Package is still broken.

Attempting to join a domain results in the error: "Realm could not be joined: Enabling SSSD in nssswitch.conf and PAM failed."

Furthermore, SSSD is a required dependency (not optional).

irreleph4nt commented on 2017-11-30 00:09 (UTC) (edited on 2017-11-30 00:19 (UTC) by irreleph4nt)

Does not work on a fresh install. First of all, some cyprus-sasl dependencies of adcli (which realmd relies on) are missing, resulting in an "No worthy mechs found" error. SSSD also needs to be installed manually. Secondly, after having installed the above packages, the domain join still fails with "Realm could not be joined: Enabling SSSD in nsswitch.conf and PAM failed."

tbw commented on 2017-09-20 21:19 (UTC)

Thanks a lot for the update. I tried a reinstall of the package on a mostly-bare Arch install and it now works flawlessly.

grawity commented on 2017-09-16 19:41 (UTC)

Hmm, the only use of python3 that I can think of would be the new glib-mkenums...

tbw commented on 2017-09-16 12:22 (UTC)

Agreed, my comment was not clear enough. It's required to install the package but not to run it once installed. I don't know Arch's packaging policy very well, so I'll let you see whether it should be listed as a dependency or not.

grawity commented on 2017-09-16 10:59 (UTC)

Is it? As far as I can see, python is only used in the testsuite (which was previously not even invoked), not in the final program...

tbw commented on 2017-09-16 10:52 (UTC)

Looks like "python" is a required dependency

demize commented on 2015-05-04 11:15 (UTC)

(I accidentally deleted the comment, but the following was written by suoko) > I was not able to succesfully run "gpg --recv-keys 7BFB1108D92765AF" but solved editing /etc/yaourtrc. > Just uncomment and edit line: > MAKEPKG="makepkg --skippgpcheck" Please don't recommend disabling signature checking on system critical services, or anything at all really. Instead investigate why you could not import the key.

jdawg commented on 2015-02-08 19:46 (UTC)

I was having problems because the SHA1 hash verification failed yesterday. I tried it again today and it worked! I also ran in to an error with GPG. I determined that I did not have public key in my keyring. I ran "gpg --recv-keys 7BFB1108D92765AF" and that seemed to fix it. Sorry for any confusion. Package works as expected. Thanks for your work in maintaining the package!

jdawg commented on 2015-02-08 06:44 (UTC)

It appears that this package was last released on 06-Oct-2014. The version number did not appear to change, however.

je-vv commented on 2014-08-26 17:58 (UTC)

"adcli" is missing in depends: % sudo realm join --verbose --user=<user> <domain> ... Password for <user>: * LANG=C /usr/sbin/adcli join --verbose --domain <domain> --domain-realm <domain> --domain-controller <IP> --login-type user --login-user <user> --stdin-password ! Failed to enroll machine in realm: Failed to execute child process "/usr/sbin/adcli" (No such file or directory) realm: Couldn't join realm: Failed to enroll machine in realm. See diagnostics.

justin8 commented on 2014-06-17 23:37 (UTC)

Some dependencies are missing from this. In a clean chroot I needed the following extra deps for it to build: python2 docbook-xsl It also has some files being built in to non-standard locations, such as the empty folders it makes in /usr/var?

grawity commented on 2013-08-19 16:22 (UTC)

That's what the "Flag out-of-date" button is for...

kiven commented on 2013-08-19 15:29 (UTC)

New version 0.14.5, here is the diff : --- PKGBUILD 2013-08-11 22:47:46.000000000 +0200 +++ PKGBUILD.N 2013-08-19 17:29:06.175668738 +0200 @@ -1,6 +1,6 @@ # Maintainer: Mantas M. <> pkgname=realmd -pkgver=0.14.4 +pkgver=0.14.5 pkgrel=1 pkgdesc="DBus service for configuring kerberos and other online identities." arch=(i686 x86_64) @@ -10,8 +10,8 @@ makedepends=(intltool packagekit xmlto) source=("$pkgname/releases/$pkgname-$pkgver.tar.gz" "$pkgname/releases/$pkgname-$pkgver.tar.gz.sig") -sha1sums=('d6ad8e424c491d802d50fff7eba94f0c77f25c2b' - 'SKIP') +sha1sums=('f99d33ea68497a88a1e68293b9518cd234e0ddce' + '3f1a051f6d0e4933925af64935694133692e5118') build() { cd "$pkgname-$pkgver"

evilhamsterman commented on 2013-07-31 23:19 (UTC)

I had to install the following dependencies to build intltool packagekit xmlto