I'm trying to create a list of all groups and membership from my domain, using the script found here:
I make it to line 62:
Set objGroup = GetObject("LDAP://" & strDN)
...at which point I get an 80005000 error (bad directory), source: (null). strDN at that point is:
CN=/SHG - Metro PA Mgm,CN=PDP Collaboration Services Objects,OU=PDP_GALSYNC_Obj
My extremely loose understanding of LDAP leaves me a little dry at this point. I know the mess of DC= at the end is the defaultNamingContext of my RootDSE, and I know it's correct, but that's about all I know. Any input would be appreciated.