- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for GetValidatedDNWithGroups (0.09 seconds)
-
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) -
cmd/iam.go
// Validate and normalize users, then fetch and normalize their groups // Also include unvalidated users for backward compatibility. for _, user := range q.Users { lookupRes, actualGroups, _ := sys.LDAPConfig.GetValidatedDNWithGroups(user) if lookupRes != nil { groupSet := set.CreateStringSet(actualGroups...) // duplicates can be overwritten, fetched groups should be identical. cleanQ.Users[lookupRes.NormDN] = groupSetCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0)