I have written a script to modify a single LDAP attribute for all users across the domain. The attribute in question is msExchOmaAdminWirelessEnable.
If i run the script as my domain admin account, it works fine and updates the attribute value as expected.
This script will be running as a scheduled task, so i have created a domain user for this script to run as, and have given 'write' permissions to the attribute in question using ADSIEdit.
But it doesn't work and i can't write the value to the attribute.
If i get out LDP, bind as the user in question, and try and perform a modify operation on the above value, i get [INSUFF_ACCESS_RIGHTS} problem 4003, server error 00002098.
So it seem pretty clear that simply giving write permission to this user account has not had the desired effect...
Can anybody point me in the right direction?
I have assigned this permission by opening ADSI edit as a schema admin, connecting to the Schema partition, finding the entry "CN=ms-Exch-Oma-Admin-Wireless-Enable", Properties, security tab and Add.
User account in question is brand new (yesterday), and a member of the Domain Users group only.
One other thing to note is our AD is parent-child domain - parent domain is basically empty, everything lives in child domain so i am operating on the child domain directory.