Active Directory LDAP move user to different OU - Ruby
I have hit a snag in my integration with Active Directory. I need to be
able to move users from one OU to another. I'm using net-ldap 0.3.1 and
dug around in the source code and found out you could do this
$ldap.rename(
olddn: "cn=bradford ricechip,ou=agents,ou=ihs,ou=test
environment,dc=ctatechs,dc=com",
newrdn: "cn=bradford ricechip",
new_superior: "ou=coach,ou=ihs,ou=test
environment,dc=ctatechs,dc=com"
)
except I'm getting #<OpenStruct code=53, message="Unwilling to perform">.
I've tried everything at this point. Some posts were saying that it's an
authentication problem, but I can create, delete and modify users. This is
the only issue I'm having. If I need to provide anything else just let me
know. Thanks in advance for all of the help!
No comments:
Post a Comment