Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListLDAPUsers (0.07 sec)

  1. cmd/admin-handlers-idp-ldap.go

    		selfDN := cred.AccessKey
    		if cred.ParentUser != "" {
    			selfDN = cred.ParentUser
    		}
    		dnList = append(dnList, selfDN)
    	}
    
    	var ldapUserList []string
    	if isAll {
    		ldapUsers, err := globalIAMSys.ListLDAPUsers(ctx)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		for user := range ldapUsers {
    			ldapUserList = append(ldapUserList, user)
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. cmd/iam.go

    	}
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetUsers(), nil
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListLDAPUsers - list LDAP users which has
    func (sys *IAMSys) ListLDAPUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	if sys.usersSysType != LDAPUsersSysType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    		return
    	}
    
    	// Add ldap users which have mapped policies if in LDAP mode
    	// FIXME(vadmeste): move this to policy info in the future
    	ldapUsers, err := globalIAMSys.ListLDAPUsers(ctx)
    	if err != nil && err != errIAMActionNotAllowed {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	for k, v := range ldapUsers {
    		allCredentials[k] = v
    	}
    
    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