Ldap – Active Directory 4003 (INSUFF_ACCESS_RIGHTS) – LDAP: error code 50 – 00002098: SecErr: DSID-03150A45

active-directoryldap

I tried to set an attribute to another user while I was logged with my account, which is member of Domain Admins group of the Active Directory.

Error while executing LDIF- [LDAP: error code 50 - 00002098: SecErr: DSID-03150A45, problem 4003 (INSUFF_ACCESS_RIGHTS), data java.lang.Exception: [LDAP: error code 50 - 00002098: SecErr: DSID-03150A45, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

What I need to do in order to be able to edit data using LDAP?

Best Answer

Right-click on the application and select Run as Administrator.

When you are a member of one of the special restricted groups such as Domain Admins, Enterprise Admins, or Administrators, those group memberships are blocked from your normal process token. To use these group memberships, you need to elevate by using Run as Administrator.

You can verify that the groups are blocked by running SysInternals' Process Explorer, right-click on the application, select Properties, and on the Security tab, the groups will have a Deny in the Flags column.