Active Directory user import
-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Active Directory user import
When I go to import users from AD, I get a partial list of AD users. It appears it only picks up 500 (I'm guessing) users. There is no way to get the next page nor have I found a way to increase the number.
Re: Active Directory user import
This is likely a limit on the AD side, please login to your domain controller and run these commands to validate:
The part that we are interested in is the MaxPageSize settings:
Example output:
Mine was set to 1000 so to change it, I ran:
Example output:
Code: Select all
ntdsutil.exe [enter]
ldap policies [enter]
connections [enter]
connect to server dc1.contoso.local [enter]
q [enter]
show values [enter]Example output:
Code: Select all
Policy Current(New)
MaxPoolThreads 4
MaxDatagramRecv 4096
MaxReceiveBuffer 10485760
InitRecvTimeout 120
MaxConnections 5000
MaxConnIdleTime 900
MaxPageSize 1000
MaxQueryDuration 120
MaxTempTableSize 10000
MaxResultSetSize 262144
MinResultSets 0
MaxResultSetsPerConn 0
MaxNotificationPerConn 5
MaxValRange 1500Code: Select all
set maxpagesize to 5000 [enter]
show values [enter]
commit changes [enter]
q [enter]Code: Select all
Policy Current(New)
MaxPoolThreads 4
MaxDatagramRecv 4096
MaxReceiveBuffer 10485760
InitRecvTimeout 120
MaxConnections 5000
MaxConnIdleTime 900
MaxPageSize 5000
MaxQueryDuration 120
MaxTempTableSize 10000
MaxResultSetSize 262144
MinResultSets 0
MaxResultSetsPerConn 0
MaxNotificationPerConn 5
MaxValRange 1500