server: return groups in memberof by cn instead of uid

Fixes #468.
This commit is contained in:
Valentin Tolmer authored and nitnelave committed 2023-03-20 22:10:38 +01:00
1 parent 91ada70c7d
commit 46b8f2a8a5
2 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -949,7 +949,7 @@ mod tests {
dn: "uid=bob,ou=people,dc=example,dc=com".to_string(),
attributes: vec![LdapPartialAttribute {
atype: "memberOf".to_string(),
vals: vec![b"uid=rockstars,ou=groups,dc=example,dc=com".to_vec()]
vals: vec![b"cn=rockstars,ou=groups,dc=example,dc=com".to_vec()]
}],
}),
make_search_success(),