Consider the following scenario:
- You have an Active Directory Domain Services (AD DS) domain or Active Directory LDAP Directory Service (AD LDS) instance that has custom or third-party schema extensions.
- Your domain controllers (DCs) or LDS servers have Windows Server 2012 R2 or a later version installed.
In this scenario, when you run Active Directory LDAP queries in tools or applications, you receive an error message that resembles the following:
Error 0x2120 The requested search operation is only supported for base searches.
Result <1>: 00002120: SvcErr: DSID-03120451, problem 5012 (DIR_ERROR), data -1634973829
You may notice that the errors occur after you add Windows Server 2012 R2 or newer-based domain controllers or LDS servers, or after you install an application or update that modifies the Active Directory schema.