- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetValidatedDNWithGroups (0.18 sec)
-
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) -
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] = groupSet
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 74.6K bytes - Viewed (0)