Or you could use (just saw this link on another thread I’m on)

http://msdn.microsoft.com/library/default.asp?url="">

 

I’m not much of an ADSI guy, just passing it along……

 

 

 

Replace the forward slash with "\2f"

 

-gil

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells
Sent: Wednesday, February 16, 2005 1:03 PM
To: Send - AD mailing list
Subject: RE: [ActiveDir] LDAP query question

Initial thought - string substitution, escape it with (ironically) a backslash "\" ??

--
Dean Wells
MSEtechnology
* Email: [EMAIL PROTECTED]
http://msetechnology.com

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Passo, Larry
Sent: Wednesday, February 16, 2005 2: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?)

Reply via email to