Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Dooling (0.17 sec)

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

    		return "", false, errors.New("no Base DNs given")
    	}
    
    	// Check that DN exists in the LDAP directory.
    	validatedDN, err := xldap.LookupDN(conn, dn)
    	if err != nil {
    		return "", false, fmt.Errorf("Error looking up DN %s: %w", dn, err)
    	}
    	if validatedDN == "" {
    		return "", false, nil
    	}
    
    	// This will not return an error as the argument is validated to be a DN.
    	pdn, _ := ldap.ParseDN(validatedDN)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top