Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for GetValidatedDNWithGroups (0.1 seconds)

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

    	return searchRes, false, nil
    }
    
    // GetValidatedDNWithGroups - Gets validated DN from given DN or short username
    // and returns the DN and the groups the user is a member of.
    //
    // If username is required in group search but a DN is passed, no groups are
    // returned.
    func (l *Config) GetValidatedDNWithGroups(username string) (*xldap.DNSearchResult, []string, error) {
    	conn, err := l.LDAP.Connect()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
Back to Top