mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	server: removed dbg
This commit is contained in:
		
							parent
							
								
									81036943c2
								
							
						
					
					
						commit
						d9bc6df0c6
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -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()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user