Hello,
I have a PowerBuilder function which returns an array of members of an ActiveDirectory group. This works fine on my dev PC. However, when deployed it runs fine on some PCs but does not work on some others. I am unable to get to rootDSE when it does not work.
Here is my code...
ole_rootDSE = Create oleObject
li_rc = ole_rootDSE.ConnectToObject('ldap://rootdse')
If li_rc <> 0 Then
MessageBox('Error', 'rootdse error ' + String(li_rc))
Return
End If
// Go on to query…
When it does not work, I get a return code of -6. Any ideas what is wrong and how to fix it?
Your help is very much appreciated.
Thank You.
AV