diff --git a/proto/src/constants.rs b/proto/src/constants.rs index 54f333755..49f275974 100644 --- a/proto/src/constants.rs +++ b/proto/src/constants.rs @@ -66,7 +66,7 @@ pub const ATTR_DN: &str = "dn"; pub const ATTR_DOMAIN_DISPLAY_NAME: &str = "domain_display_name"; pub const ATTR_DOMAIN_LDAP_BASEDN: &str = "domain_ldap_basedn"; pub const ATTR_DOMAIN_NAME: &str = "domain_name"; -pub const ATTR_DOMAIN_LDAP_ALLOW_UNIX_PW_BIND : &str = "domain_ldap_allow_unix_pw_bind"; +pub const ATTR_DOMAIN_LDAP_ALLOW_UNIX_PW_BIND: &str = "domain_ldap_allow_unix_pw_bind"; pub const ATTR_DOMAIN_SSID: &str = "domain_ssid"; pub const ATTR_DOMAIN_TOKEN_KEY: &str = "domain_token_key"; pub const ATTR_DOMAIN_UUID: &str = "domain_uuid"; diff --git a/server/lib/src/idm/ldap.rs b/server/lib/src/idm/ldap.rs index f66a3488d..c4d9c2089 100644 --- a/server/lib/src/idm/ldap.rs +++ b/server/lib/src/idm/ldap.rs @@ -644,7 +644,7 @@ mod tests { assert!(idms_prox_write.set_unix_account_password(&pce).is_ok()); assert!(idms_prox_write.commit().is_ok()); // Committing all configs - + // default UNIX_PW bind (default is set to true) // Hence allows all unix binds let admin_t = ldaps