Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetValidatedGroupDN (0.16 sec)

  1. 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)
  2. 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)
Back to top