fix: Return backend search result DN
This commit is contained in:
parent
7ab0898413
commit
b0294bdc40
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ pub async fn search_by_email_attribute(
|
||||||
for (entry, ctrl) in &mut entries {
|
for (entry, ctrl) in &mut entries {
|
||||||
trace!("Search result from backend: {entry:?}");
|
trace!("Search result from backend: {entry:?}");
|
||||||
// TODO: maybe don't fail the whole search request here???
|
// TODO: maybe don't fail the whole search request here???
|
||||||
let mut dn = match Dn::from_dn_str(&lbr.dn) {
|
let mut dn = match Dn::from_dn_str(&entry.dn) {
|
||||||
Ok(dn) => dn,
|
Ok(dn) => dn,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
SearchError::from(e)
|
SearchError::from(e)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue