From 80ef83fdc77fdf6f6b08fadcae219e941e80974b Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 5 Jun 2024 10:07:18 -0700 Subject: [PATCH] Point at the right IP... --- paris-container.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paris-container.nix b/paris-container.nix index f6b366b..64c4b39 100644 --- a/paris-container.nix +++ b/paris-container.nix @@ -280,7 +280,9 @@ in { auth_provider = "ldap"; access_provider = "ldap"; - ldap_uri = "ldap://172.16.31.1:${toString cfg.ldap.port}"; + ldap_uri = "ldap://${head cfg.ldap.listen-ips}:${ + toString cfg.ldap.port + }"; ldap_schema = "rfc2307bis"; ldap_search_base = cfg.ldap.base;