Alex,
the output of that code is :
Ads creation error 0 The operation completed successfully.
Computer name error 0 The operation completed successfully.
computer CN=WCWS321,CN=Computers,DC=mvdw,DC=nl

I saw in my network sniffer that it got the info from the server.

Could it be that there is a DNS setting that is preventing ldap service to remote computers ?? or if the above runs fine, all ldap queries should run fine ?
in other words, does this adsysteminfo use ldap ? it looks to me as if it uses some other mechanism ..

_________________________
rgrds, Maarten