+16
-2
nixos/modules/security/krb5/default.nix
+16
-2
nixos/modules/security/krb5/default.nix
···
+65
-8
nixos/modules/security/krb5/krb5-conf-format.nix
+65
-8
nixos/modules/security/krb5/krb5-conf-format.nix
·········
·········
+33
-49
nixos/modules/services/system/kerberos/default.nix
+33
-49
nixos/modules/services/system/kerberos/default.nix
···
···+format = import ../../../security/krb5/krb5-conf-format.nix { inherit pkgs lib; } { enableKdcACLEntries = true; };+(lib.mkRenamedOptionModule [ "services" "kerberos_server" "realms" ] [ "services" "kerberos_server" "settings" "realms" ])
+62
-43
nixos/modules/services/system/kerberos/heimdal.nix
+62
-43
nixos/modules/services/system/kerberos/heimdal.nix
···
···+format = import ../../../security/krb5/krb5-conf-format.nix { inherit pkgs lib; } { enableKdcACLEntries = true; };
+55
nixos/modules/services/system/kerberos/kerberos-server.md
+55
nixos/modules/services/system/kerberos/kerberos-server.md
···
···+Kerberos is a computer-network authentication protocol that works on the basis of tickets to allow nodes communicating over a non-secure network to prove their identity to one another in a secure manner.+- The Heimdal documentation will sometimes assume that state is stored in `/var/heimdal`, but this module uses `/var/lib/heimdal` instead.+- Due to the heimdal implementation being chosen through `security.krb5.package`, it is not possible to have a system with one implementation of the client and another of the server.+- While `services.kerberos_server.settings` has a common freeform type between the two implementations, the actual settings that can be set can vary between the two implementations. To figure out what settings are available, you should consult the upstream documentation for the implementation you are using.+- Heimdal kerberos doc manpages (Debian unstable): https://manpages.debian.org/unstable/heimdal-docs/index.html+- Heimdal Kerberos kdc manpages (Debian unstable): https://manpages.debian.org/unstable/heimdal-kdc/index.html
+43
-35
nixos/modules/services/system/kerberos/mit.nix
+43
-35
nixos/modules/services/system/kerberos/mit.nix
······
···+format = import ../../../security/krb5/krb5-conf-format.nix { inherit pkgs lib; } { enableKdcACLEntries = true; };+realms = mapAttrs (n: v: (removeAttrs v [ "acl" ]) // aclConfigs.${n}) (cfg.settings.realms or { });···
+1
-1
nixos/tests/kerberos/heimdal.nix
+1
-1
nixos/tests/kerberos/heimdal.nix
+1
-1
nixos/tests/kerberos/mit.nix
+1
-1
nixos/tests/kerberos/mit.nix
+2
pkgs/development/libraries/kerberos/heimdal.nix
+2
pkgs/development/libraries/kerberos/heimdal.nix