|
ADSI is so lame.
Try escaping the slash in the DN with "\2f", e.g.
"cn=foo\2fbar,cn=user,dc=domain,dc=com". If this is C or some variant, don't
forget to escape the backslash itself.
-gil From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Passo, Larry Sent: Wednesday, February 16, 2005 12:05 PM To: [email protected] Subject: [ActiveDir] LDAP query question I have developed a
number of applications that do various queries on AD. However, I have run into a
problem with doing an LDAP query in groups that have been named with the “/”
character in their name. Since the group was named with a “/”, the distinguished
name for the object also has the “/” character. When my app tries to connect to
the object using the following, an error results: Create Object("LDAP://"
& distinguishedname) The LDAP query is
assuming that I’m trying to do a query of the form
LDAP://server/distinguishedname. The WINNT provider has the same
issue. Any suggestions?
(Besides renaming the
groups?) |
- RE: [ActiveDir] LDAP query question Gil Kirkpatrick
- RE: [ActiveDir] LDAP query question joe
- RE: [ActiveDir] LDAP query question joe
- RE: [ActiveDir] LDAP query question Gil Kirkpatrick
- RE: [ActiveDir] LDAP query question Jorge de Almeida Pinto
- RE: [ActiveDir] LDAP query question Passo, Larry
- RE: [ActiveDir] LDAP query question Sakari Kouti
- RE: [ActiveDir] LDAP query question Eric Fleischman
- RE: [ActiveDir] LDAP query question Hunter, Laura E.
