I created a script that can be run before the join that adds the needed commands and manages pam and nss entries https://github.com/robinrosenberger/realmd-arch-helper still has some cosmetic issues but should work good enough feel free to integrate it into the package if that is possible
Search Criteria
Package Details: realmd 0.17.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/realmd.git (read-only, click to copy) |
---|---|
Package Base: | realmd |
Description: | DBus service for joining hosts to Active Directory and FreeIPA realms |
Upstream URL: | https://freedesktop.org/software/realmd/ |
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) |
Dependencies (13)
- adcli (adcli-git)
- dbus (dbus-elogind, dbus-git, dbus-nosystemd-minimal-git, dbus-nosystemd, dbus-selinux, dbus-x11, dbus-xdg-docs)
- krb5 (krb5-git, krb5-minimal-git)
- openldap
- packagekit
- polkit (polkit-no-script-git, polkit-consolekit, polkit-git)
- docbook-xsl (make)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- intltool (make)
- python (python38, python37, python3.7, nogil-python, python39, python36, python311, python32) (make)
- xmlto (xmlto-git) (make)
- samba (optional) – traditional Active Directory client
- sssd (sssd-git, sssd-nosmb) (optional) – Active Directory, FreeIPA, LDAP client
Required by (0)
Sources (1)
Latest Comments
robinrosenberger commented on 2021-02-26 12:02 (UTC)
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: - https://gitlab.freedesktop.org/realmd/realmd/-/blob/master/service/realmd-debian.conf - https://gitlab.freedesktop.org/realmd/realmd/-/blob/master/service/realmd-redhat.conf - https://gitlab.freedesktop.org/realmd/realmd/-/blob/master/service/realmd-suse.conf - https://gitlab.freedesktop.org/realmd/realmd/-/merge_requests/16/diffs
Not sure how to adapt one to Arch.
Edition:
To finish the realm join
operation, follow the SSD online/offline guide: https://wiki.archlinux.org/index.php/LDAP_authentication#Online_and_Offline_Authentication_with_SSSD
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: ./autogen.sh: 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 https://gitlab.freedesktop.org/realmd/realmd" 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).
Pinned Comments