server: removed dbg

This commit is contained in:
Valentin Tolmer 2023-02-13 15:46:48 +01:00 committed by nitnelave
parent 81036943c2
commit 1ce239103c
2 changed files with 0 additions and 4 deletions

View File

@ -107,8 +107,6 @@ fn make_ldap_search_user_result_entry(
) -> LdapSearchResultEntry {
let expanded_attributes = expand_user_attribute_wildcards(attributes);
let dn = format!("uid={},ou=people,{}", user.user_id.as_str(), base_dn_str);
dbg!(&attributes, &expanded_attributes, &user);
LdapSearchResultEntry {
dn,
attributes: expanded_attributes

View File

@ -581,7 +581,6 @@ impl<Backend: BackendHandler + LoginHandler + OpaqueHandler> LdapHandler<Backend
}
pub async fn do_compare(&mut self, request: LdapCompareRequest) -> LdapResult<Vec<LdapOp>> {
dbg!(&request);
let req = make_search_request::<String>(
&self.ldap_info.base_dn_str,
LdapFilter::Equality("dn".to_string(), request.dn.to_string()),
@ -598,7 +597,6 @@ impl<Backend: BackendHandler + LoginHandler + OpaqueHandler> LdapHandler<Backend
match entries.first() {
Some(LdapOp::SearchResultEntry(entry)) => {
dbg!(&entry.attributes);
let available = entry
.attributes
.iter()