diff --git a/server/src/cli.rs b/server/src/cli.rs index 2a36f88..5ce0c6b 100644 --- a/server/src/cli.rs +++ b/server/src/cli.rs @@ -135,7 +135,7 @@ pub struct RunOpts { #[clap(long, env = "LLDAP_SERVER_KEY_SEED")] pub server_key_seed: Option, - /// Change ldap host. Default: "0.0.0.0" + /// Change ldap host. Default: "::" #[clap(long, env = "LLDAP_LDAP_HOST")] pub ldap_host: Option, @@ -143,7 +143,7 @@ pub struct RunOpts { #[clap(long, env = "LLDAP_LDAP_PORT")] pub ldap_port: Option, - /// Change HTTP API host. Default: "0.0.0.0" + /// Change HTTP API host. Default: "::" #[clap(long, env = "LLDAP_HTTP_HOST")] pub http_host: Option, diff --git a/server/src/configuration.rs b/server/src/configuration.rs index d26e7ef..33ddc44 100644 --- a/server/src/configuration.rs +++ b/server/src/configuration.rs @@ -105,11 +105,11 @@ pub struct HttpUrl(pub Url); #[derive(Clone, Deserialize, Serialize, derive_builder::Builder, derive_more::Debug)] #[builder(pattern = "owned", build_fn(name = "private_build"))] pub struct Configuration { - #[builder(default = r#"String::from("0.0.0.0")"#)] + #[builder(default = r#"String::from("::")"#)] pub ldap_host: String, #[builder(default = "3890")] pub ldap_port: u16, - #[builder(default = r#"String::from("0.0.0.0")"#)] + #[builder(default = r#"String::from("::")"#)] pub http_host: String, #[builder(default = "17170")] pub http_port: u16,