How did you manage to create a group with a / in the samaccountname? When I create a group (in W2K3) in tells me that's an illegal character and it will be replaced with an underscore. Then again, when I think of it the samaccountname does not contain the / character but the CN does. In the latter case apply a \ in front of it.
CN=GROUP\/NAME,OU=BLABLA,DC=DOMAIN,DC=LOCAL Try that. When I look at the DN of this object with Ldp I don't see the \ . However when I have a , in the name I see a \ in front of the , (\,) Cheers Jorge -----Original Message----- From: [EMAIL PROTECTED] To: [email protected] Sent: 2/16/2005 8:05 PM 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?) This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
