We have a VB script that was written years ago that creates some reports based on group membership. This has worked fine until this quarter. When I run the report it only pulls info from Universal groups and not the Global groups. The difference is that since the last time we ran the script, we have migrated from W2K3 DC's to W2K8 DC's - and my guess is that the GC changed. Here is the offending line of code:
objCommand.CommandText = "<GC://dc=xyz,dc=com>;(&(objectCategory=group)(managedBy=" & strManagerDN & "));name,info,distinguishedName,description,member;subtree"
Set objRecordSet = objCommand.Execute
My guess is that if I pull this data using an LDAP query instead of a GC query it will work properly. I am not a scripting expert, nor do I pretend to be. I need help. Any ideas?