I am trying to connect to a Cisco LDAP directory which is off our Domain so I need to provide a username and password.
I have tried various connection scripts but have not been successful at making the connection and/or making a query.
Here is my connection string, anyone know where I may be making an error:
Set oConfig = GetObject("LDAP://10.80.211.10:8404")
Set oCon = CreateObject("ADODB.Connection")
SQLStmt = "<LDAP://10.80.211.10:8404/ou=users,o=cisco.com>;(ObjectClass=*)"
sUser = "cn=Directory Manager,o=cisco.com"
sPassword = "DM User Password"
oCon.Provider = "ADsDSOObject"
oCon.Open "ADProvider", sUser, sPassword
Set rs = oCon.Execute(SQLStmt)
I get the error at the last line which gives me the error "One or more errors occured during the processing of command"
error #80040E14
Thanks for any help.
I have tried various connection scripts but have not been successful at making the connection and/or making a query.
Here is my connection string, anyone know where I may be making an error:
Set oConfig = GetObject("LDAP://10.80.211.10:8404")
Set oCon = CreateObject("ADODB.Connection")
SQLStmt = "<LDAP://10.80.211.10:8404/ou=users,o=cisco.com>;(ObjectClass=*)"
sUser = "cn=Directory Manager,o=cisco.com"
sPassword = "DM User Password"
oCon.Provider = "ADsDSOObject"
oCon.Open "ADProvider", sUser, sPassword
Set rs = oCon.Execute(SQLStmt)
I get the error at the last line which gives me the error "One or more errors occured during the processing of command"
error #80040E14
Thanks for any help.