Hey i need a script to change the password of a user... i found some code:
strUser = InputBox("Enter username of user")
strOU = InputBox("Enter domain where user's account resides")
Set objUser = GetObject("LDAP://CN=" & strUser & ",OU=blah,DC=blah")
objUser.SetPassword "password"
MsgBox "Done!"
but m not sure how to apply this for out domain. basically we have a domain: blah.bla.bl.ba
and we have an ou:ouname and we reside in a "sub ou" of that ou so ou;oumane1
so the canonical name of the object is blah.bla.bl.ba/oname/ouname1
how would i implement this in getobject?