- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SearchForUserGroups (0.19 sec)
-
internal/config/identity/ldap/ldap.go
// Lookup user DN lookupRes, err := l.LDAP.LookupUsername(conn, username) if err != nil { errRet := fmt.Errorf("Unable to find user DN: %w", err) return nil, nil, errRet } groups, err := l.LDAP.SearchForUserGroups(conn, username, lookupRes.ActualDN) if err != nil { return nil, nil, err } return lookupRes, groups, nil } // GetValidatedDNForUsername checks if the given username exists in the LDAP directory.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 25 13:43:06 UTC 2024 - 10.3K bytes - Viewed (1)