richie6700 Posted June 20, 2011 Posted June 20, 2011 Hy!!! (sorry for my bad English) Why I have error ???? $objConnection = ObjCreate("ADODB.Connection") $objConnection.Open ("Provider=ADsDSOObject") $objCommand = ObjCreate("ADODB.Command") $objCommand.ActiveConnection = $objConnection $objCommand.CommandText = "<ldap://ldap.domain.fr:389/ou=people,o=domain.fr>;(objectclass=person);cn;subtree" $rs = $objCommand.execute I have this error : The requested action with this object has failed.: $rs = $objCommand.execute $rs = $objCommand.execute^ ERROR Thx
Joon Posted June 20, 2011 Posted June 20, 2011 (edited) I know this works.$objConnection.Provider = "ADsDSOObject" $objConnection.Open ("Active Directory Provider") Edited June 20, 2011 by Joon
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now