Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LookupDN (0.06 sec)

  1. internal/config/identity/ldap/ldap.go

    	if len(baseDNList) == 0 {
    		return nil, false, errors.New("no Base DNs given")
    	}
    
    	// Check that DN exists in the LDAP directory.
    	searchRes, err := xldap.LookupDN(conn, dn, attrs)
    	if err != nil {
    		return nil, false, fmt.Errorf("Error looking up DN %s: %w", dn, err)
    	}
    	if searchRes == nil {
    		return nil, false, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top