LDAP Access on Macintosh

M

Marcel Grieder

Hi,

I developed a little piece of code, that reads addresses from the ldap
directory and inserts them into a word document.
Now, I would like to portate this code, to be used on office:mac (2004).

But the object cannot be created any more, because it uses an ActiveX-Object.

'Create connection and command objects
Set objConnection = CreateObject("ADODB.Connection")
Set objCommand = CreateObject("ADODB.Command")

'Open the connection
objConnection.Provider = "ADsDSOObject" ' Open ADSI OLE-DB provider name

objConnection.Properties("User ID") = mstrLDAPaccount
objConnection.Properties("Password") = mstrLDAPpassword
objConnection.Properties("Encrypt Password") = mblnLDAPpwdEncrypt

Is there a possibility to access ldap-directories on the mac without using
special software components?

Thanks for your help.

Regards,
Marcel
 

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

Top