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;