Package Details: kanidm-server 1.10.3-1

Git Clone URL: https://aur.archlinux.org/kanidm.git (read-only, click to copy)
Package Base: kanidm
Description: kanidm server for idendity management, supports RADIUS, ssh key management.
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-server-git
Provides: kanidm-server
Submitter: soloturn
Maintainer: soloturn (cubi, fossdd, Doridian)
Last Packager: Doridian
Votes: 10
Popularity: 1.05
First Submitted: 2021-04-02 14:45 (UTC)
Last Updated: 2026-05-22 02:24 (UTC)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4

soloturn commented on 2021-07-10 10:49 (UTC) (edited on 2021-07-10 10:51 (UTC) by soloturn)

thanks cubi for the commit. did you try to create a meta package for kanidm (https://wiki.archlinux.org/title/Meta_package_and_package_group) and if yes, what is the thought process behind?

second, beeing able to install kanidm and kanidm-git in parallel would be quite helpful, therefor i deliberately did not conflict them. they still have overlapping directories though if i am not wrong.

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"