Directory/Store backend unification + LDAP auth bind

This commit is contained in:
mdecimus
2023-12-07 16:27:19 +01:00
parent a7acc67cf1
commit e4d5bde1ce
116 changed files with 4086 additions and 3634 deletions

View File

@@ -350,6 +350,18 @@ impl ParseValue for u32 {
}
}
impl ParseValue for i32 {
fn parse_value(key: impl AsKey, value: &str) -> super::Result<Self> {
value.parse().map_err(|_| {
format!(
"Invalid integer value {:?} for property {:?}.",
value,
key.as_key()
)
})
}
}
impl ParseValue for IpAddr {
fn parse_value(key: impl AsKey, value: &str) -> super::Result<Self> {
value.parse().map_err(|_| {