Package Details: kanidm-clients 1.3.3-1

Git Clone URL: https://aur.archlinux.org/kanidm.git (read-only, click to copy)
Package Base: kanidm
Description: kanidm client to interact with kanidm identity management server.
Upstream URL: https://github.com/kanidm/kanidm
Keywords: authentication iam identity identity-management idm ldap oidc radius rust scim security ssh-authentication webauthn
Licenses: MPL-2.0
Conflicts: kanidm-clients-git
Provides: kanidm-clients
Submitter: soloturn
Maintainer: soloturn (cubi, fossdd)
Last Packager: fossdd
Votes: 3
Popularity: 0.014525
First Submitted: 2021-04-02 14:45 (UTC)
Last Updated: 2024-08-20 10:59 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

soloturn commented on 2021-06-25 01:38 (UTC)

made you co-maintainer, @cubi, thanks for the patch and hints!

cubi commented on 2021-05-29 11:55 (UTC) (edited on 2021-05-29 12:18 (UTC) by cubi)

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 (UTC)

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"