But, when my client enters the following values for sPath, they got an error
"error type: (0x80072032)", even though this organization (o=uniba,ou=medel)
exists, and they are needed by some users to be able to work with IBM
Portal.
Set openDS = GetObject("LDAP://ldap.univirtual.com:389/O=UNIBA/jsmith")
Set openDS =
GetObject("LDAP://ldap.univirtual.com:389/OU=MEDEL,O=UNIBA/jsmith")
Set openDS = GetObject("LDAP://ldap.univirtual.com:389/O=UNIBA")
Set openDS = GetObject("LDAP://ldap.univirtual.com:389/OU=MEDEL,O=UNIBA")

These are the codes for the GetObject:
On Error Resume Next

Set openDS = GetObject(sPath)

if err.number = 0 then

Response.Write "authentication success"

Response.Write "Object Name: " & x.Name

Response.Write "Object Path: " & x.ADsPath

else

response.write err.number & ":" & err.description

end if

When I use the OpenDSObject method, with flags (4th parameter in
OpenDSObject set to 0), no matter what values my client enter for strADsPath
and strUserName, they got an error

"Failed to bound to object LDAP://Portal

Error number is -2147016646" -->> this error is "the server is not
operational"

The following is my client's configuration:
· Windows 2000 Server (SP4).
· Lotus Domino v6.5.1 (using the LDAP Service of this product, this
is compatible with version 3.0).
· Port 389.
· Our LDAP manages unique Users and Groups.
· In this moments the LDAP is used by three servers of IBM
Websphere. Each one have configured one conection to the LDAP through the
settings of this products (is native in the Websphere program).
· In the Lotus Domino server has two Domino Directory databases, one
is the directory of the company and the other is the directory of producers.
Each one has a different OU and O.

For example:
For the company directory the OU and O is: OU=MEDEL,O=UNIBA /
OU=URA,O=UNIBA / OU=SANTA,O=UNIBA
For the producers directory, has not OU. The O is: O=PORTAL

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!