Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bond (0.14 sec)

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

    	return validatedDN, false, nil
    }
    
    // Bind - binds to ldap, searches LDAP and returns the distinguished name of the
    // user and the list of groups.
    func (l *Config) Bind(username, password string) (string, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return "", nil, err
    	}
    	defer conn.Close()
    
    	var bindDN string
    	// Bind to the lookup user account
    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