Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
Back to top