Package Details: kanidm-unixd-clients 1.1.0_alpha.4-1

Git Clone URL: https://aur.archlinux.org/kanidm.git (read-only, click to copy)
Package Base: kanidm
Description: kanidm localhost resolver to resolve posix identities to a kanidm instance.
Upstream URL: https://github.com/kanidm/kanidm
Licenses: MPL-2.0
Conflicts: kanidm-unixd-clients
Provides: kanidm-unixd-clients
Submitter: soloturn
Maintainer: soloturn
Last Packager: soloturn
Votes: 0
Popularity: 0.000000
First Submitted: 2021-04-02 14:45
Last Updated: 2021-04-02 14:48

Latest Comments

cubi commented on 2021-05-29 11:55

three more issues:

  • pam lib name should be

    install -Dm755 target/release/libpam_kanidm.so "${pkgdir}/usr/lib/security/pam_kanidm.so"

  • unixd-tasks.service file should be

    install -Dm644 $srcdir/../kanidm-unixd-tasks.service "$pkgdir/usr/lib/systemd/system/kanidm-unixd-tasks.service"

  • add kanidm_unixd_tasks binary

    install -Dm755 target/release/kanidm_unixd_tasks "${pkgdir}/usr/bin/kanidm_unixd_tasks"

patches are sent to @soloturn

cubi commented on 2021-05-26 19:44

Hi @soloturn,

thanks for creating these packages!

I found an issue using the unixd with nsswitch. Using getent passwd demo_user did not show any result from kanidm.

I could fix this by renaming the libnss_kanidm.so to libnss_kanidm.so.2.

Here is the patch for the PKGFILE. This solved it for me.

diff --git a/PKGBUILD b/PKGBUILD
index 7692b2b..ddf070d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -80,7 +80,7 @@ package_kanidm-git-unixd-clients () {

   cd "$pkgbase"

-  install -Dm755 target/release/libnss_kanidm.so "${pkgdir}/usr/lib/libnss_kanidm.so"
+  install -Dm755 target/release/libnss_kanidm.so "${pkgdir}/usr/lib/libnss_kanidm.so.2"
   install -Dm755 target/release/libpam_kanidm.so "${pkgdir}/usr/lib/security/libpam_kanidm.so"

   install -Dm755 target/release/kanidm_cache_clear "${pkgdir}/usr/bin/kanidm_cache_clear"