I'm modifying an old piece of code I don't want to upgrade ( no time), but it uses classic ASP.
I'm trying to add an LDAP query, but when I do this:
sBase = "<LDAP://" & "sDNSDomain" & " >"
I end up with a blank string. If I remove the ">" then it's fine. I've been unable to find out how to escape it.... and the LDAP query won't work without it.
What am I missing here? The LDAP query examples I run across all give this format for building a query, but it simply won't work for me.