- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetValidatedGroupDN (0.14 sec)
-
internal/config/identity/ldap/ldap.go
l.LDAP.GetUserDNSearchBaseDistNames(), l.LDAP.GetUserDNAttributesList()) } // GetValidatedGroupDN validates the given group DN. If conn is nil, creates a // connection. The returned boolean is true iff the group DN is found under one // of the configured LDAP base DNs. func (l *Config) GetValidatedGroupDN(conn *ldap.Conn, groupDN string) (*xldap.DNSearchResult, bool, error) { if conn == nil { var err error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 01:04:53 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/iam.go
if _, ok := cleanQ.Users[user]; !ok { cleanQ.Users[user] = nil } } // Validate and normalize groups. for _, group := range q.Groups { lookupRes, underDN, _ := sys.LDAPConfig.GetValidatedGroupDN(nil, group) if lookupRes != nil && underDN { cleanQ.Groups.Add(lookupRes.NormDN) } } } else { for _, user := range q.Users { info, err := sys.store.GetUserInfo(user)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/admin-handlers-users.go
var err error if isGroup { var foundGroupDN *xldap.DNSearchResult var underBaseDN bool if foundGroupDN, underBaseDN, err = globalIAMSys.LDAPConfig.GetValidatedGroupDN(nil, entityName); err != nil { iamLogIf(ctx, err) } else if foundGroupDN == nil || !underBaseDN { err = errNoSuchGroup } entityName = foundGroupDN.NormDN } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
cmd/site-replication.go
var err error if isGroup { var foundGroupDN *xldap.DNSearchResult var underBaseDN bool if foundGroupDN, underBaseDN, err = globalIAMSys.LDAPConfig.GetValidatedGroupDN(nil, entityName); err != nil { iamLogIf(ctx, err) } else if foundGroupDN == nil || !underBaseDN { err = errNoSuchGroup } entityName = foundGroupDN.NormDN } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0)