"Highlander" <> wrote in message
news:043c069b-cc9c-45df-b7bd-...
> (watch for word wrap below)
>
> Hello all.
>
> I'm using the script found here:
> http://www.microsoft.com/technet/scr...5/hey0419.mspx
>
> When I run it, as it cycles through all the members of the Group, if
> the "strUser" variable is something like this:
> CN=Smith\, John,CN=Users,DC=Name1,DC=ad,DC=Name2,DC=com
>
> ...there's no problem.
>
> But when the "strUser" variable is this:
> CN=Doe\, Jane (LIFE U/W),CN=Users,DC=Name1,DC=ad,DC=Name2,DC=com
>
> Then the script blows up, on this line:
> Set objMember = GetObject("LDAP://" & strUser)
>
> With this error message:
> (null): 0x80005000
>
> The obvious difference is that the strUser variable in question
> contains parentheses. Anyone know a fix for this?
>
> Any help would be greatly appreciated. Thanks!
>
> - Dave