Interesting, since you were using VB and ADSI and I saw DC= in the DN I
inappropriately assumed you were using Active Directory. In AD the RDNs at
each level are equal to the CN's which are singlevalue attributes which
means no multivalue RDN's.
> >-----Original Message-----
> >It looks like you are trying to bind to a search string,
> you can't do that.
> >You need to find the object with a search, and then do
> the bind once you
> >have the DN for the object.
> well, I did in that way, I just simplified my example code
> >RDN's are not multivalued.
> there is a documentation about valid LDAP ADsPaths. It
> refers to "distinguished name notation" in
> there you can find:
> >> Here is an example of a multi-valued Relative
> Distinguished Name,
> where the namespace is flat within an organisation, and
> department is
> used to disambiguate certain names:
> OU=Sales + CN=J. Smith, O=Widget Inc., C=US
> so mulitvalued RelativeDistinguishedNames should be
> supported, I think
> regards, Carsten
> >Joe Richards
> >> Hello,
> >> I am using VB6 and IADS and try to bind to a LDAP
> >> directory.
> >> the bind DN contains a multivalued rdn like:
> >> ^
> >> Does anyone know how I can bind with such a rdn?
> >> I get the error: "An invalid directory pathname was
> >> ----- snip --------
> >> Dim iadso As IADs
> >> Set iadso = myCustomerLDAP.iADsOpenDSObject.OpenDSObject
> ( _
> >> "LDAP://<server.<domain>.<topLevelDomain>:389/cn=User1+m
> >> ,_
> >> <adminN>,_
> >> <pwd>,_
> >> 0)
> >> ---- snap ----