You's situation can happen if the server does not support the control or if the control is not appropriate for the operation type.
- Verify Supported Controls: Ensure that the domain controller supports the control being requested. You can check the supported controls in the rootDSE.
- Check Parameters: Make sure that the parameters being passed with the control are correct and appropriate for the operation.
- Review Event Logs: Look at the event logs on the domain controller for any additional error messages or warnings that might provide more context.
Increasing MaxResultSetSize:
To increase theMaxResultSetSize
on a Domain Controller, you can use thentdsutil
tool. Here are the steps:- Open Command Prompt: Run as Administrator.
- Start ntdsutil: Type
ntdsutil
and press Enter. - Enter LDAP Policies: Type
ldap policies
and press Enter. - Connect to Server: Type
connections
and press Enter, thenconnect to server <YourServerName>
and press Enter. - Set MaxResultSetSize: Type
q
to return to the LDAP policies menu, thenset MaxResultSetSize to <NewSize>
and press Enter.