adsi - error using getobject (ldap:...)

adsi - error using getobject (ldap:...)

Post by debal.. » Fri, 30 Jun 2000 04:00:00



Hello,
I've installed the sample app from Tom Rizzo's
book - Programming Outlook & Exchange. I want to
use the currently logged-on user credentials
instead of the log in page.I need to replace the
"OpenDSObject" line with (to connect to the
recipients container):
Set objCont = GetObject
("LDAP://EX01TS299A/cn=Recipients,ou=HOTEST,o=ICBC
TEST")

But I get error 80005000 with this, while this
line works: (connecting to user mailbox)
Set objCont = GetObject
("LDAP://EX01TS299A/cn=JAMER,cn=Recipients,ou=HOTE
ST,o=ICBCTEST")

I've tried different formats for this line. Is
there any other way to connect to the recipients
container in Exchange?

Thanks!
Deb

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. Adsi - error using getobject(LDAP: etc.)

Hello, I've installed the sample adsi app from Tom Rizzo's book -
Programming Outlook and Exchange. I'm wanting to use the logged-on user
credentials instead of the login page so I want to replace the
"OpenDSObject" line (which was working) with a "GetObject" line for
connecting to the recipients container. I get an 80005000 error, bad
pathname? with the following line:
Set objCont = GetObject
("LDAP://EX01TS299A/cn=Recipients,ou=HOTEST,o=ICBCTEST")

but this line works to connect to a recipients mailbox:
Set objCont = GetObject
("LDAP://EX01TS299A/cn=JAMER,cn=Recipients,ou=HOTEST,o=ICBCTEST")

I've tried different formatting etc. but no luck. I have 'permission
admin' rights. Any ideas appreciated.

Deb

Sent via Deja.com http://www.deja.com/
Before you buy.

2. PIOS ONE motherboard

3. Error accessing ADSI using LDAP

4. looking for Czech font

5. ADSI/ASP using LDAP gives type mismatch error

6. What PC 155/622 Mb ATM Card to buy ???

7. LDAP Search using ADSI and VBScript -> ADODB Error

8. POP support in movemail broken?

9. Error connecting to AD using ADSI and LDAP on NT4

10. HELP: Creating new properties using ADSI on LDAP: Errors ...

11. GetObject, VB, LDAP and automation error...

12. Error '8007001f' for code GetObject"LDAP://rootDSE")

13. Can't get attribute values using LDAP (using VB) to non-MS LDAP server