Use ldf script to change an entity from one OU to another
Posted on 2014-01-14
I manipulate entries in an LDAP (happens to be AD, but I am using standard ldf commands) programmatically.
I need to move a user from one OU to another. What is the syntax to do that? For example, I may have a user with the following DN:
CN=Moore\, William J, OU=Students, DC=jacks, DC=local
I need to change him to:
CN=Moore\, William J, OU=Stu_Applicants, DC=jacks, DC=local