ADSI error when connecting to AD using SSL

  • Thread starter Thread starter jaydeepva
  • Start date Start date
J

jaydeepva

Hello,

I have setup certificate server on win 2000 DC machine. I have a client
application which uses ADSI to connect to AD. I wish to have SSL
communication.

I can use 'ldp' to connect to 636 port of AD. But through my client app
when I make a call such as

hr = ADsOpenObject(strDomainAdsPath, DomainUserName, DomainPwd,
ADS_SECURE_AUTHENTICATION + ADS_USE_SSL, IID_IADs, (void**) &pObject)

it gives error '0x8007052e' which means 'Supplied credential is
invalid'.

If I just use ADS_SECURE_AUTHENTICATION flag, I am able to connect to
AD successfully.

Any help is appreciated.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Check AD SSL Certificate? 2
LDAP over SSL 3
Adsi problem (0x800704C3) 0
Binding to AD using LDAP over SSL 4
AD and SSL 3
Enabling LDAP over SSL 1
Ldap over SSL 1
how to tell if an AD server supports LDAP over SSL? 2

Back
Top