Ask a Question related to ASP Database, Design and Development.
-
yajames2002 #1
Querying exchange 5.1 - LDAP
The code listed below allows me to search for people in Exchange 5.1
when the application is run locally from a browser on the web server.
It runs well no matter who the authenticated, logged in user is.
However, when it is run from another machine (same URL), I get this
error message
Error Type:
Active Directory (0x80040E37)
An invalid directory pathname was passed
All of the machines are in the same domain.
ASP 3 web application configured for Windows Authentication.
Exchange server 5.1
Web server is win2k, IIS 5
Does anyone have any clues about why this is so ?
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Provider = "ADSDSOObject"
objConn.Properties ("User ID")="cn=exchangeadmin"
objConn.Properties ("Password")="eapassword"
objConn.Properties ("Encrypt Password")=True
objConn.Open "ADs Provider"
Set rsExchange = objConn.Execute("" & _
"SELECT employeeNumber, rfc822Mailbox, givenName, sn, uid " & _
"FROM 'LDAP://ex1/o=MyOrganisation/ou=MyDomain/cn=recipients' " &
_
"WHERE sn='" & vstrSurname & "'")
yajames2002 Guest
-
Querying available streams
Hi, I was wondering if it is possible to programmatically query the streams that are available in a "streams/myInstance" folder. For example you... -
Querying two datasources, but how?
Datasource HelpDesk - Tables: HelpDeskList A, Volunteers B, Datasource Employee - Tables: Employee C. A.Emailto, A.Entry_ID, A.Name B.Name,... -
Size Limit Exceeded error when querying ldap
I am receiving the following error when trying to use ldap to return a list of email addresses from outlook. If I put in a filter the error goes... -
Problem querying LDAP and/or Active Directory
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am... -
error 80005000 when querying LDAP
I'm using ASP and CDO to lookup free busy time on an e2k server. The E2K is locally installed on the IIS server and I'm having no problems...



Reply With Quote

