ADSI in wine

Roach, Mark R. mrroach at cimplify.net
Thu Feb 21 16:51:41 CST 2002


I am trying to use python 2.2 with the win32all extension under wine to
access the ADSI components.

I seem to be unable to bind properly to either the ldap or winnt name spaces
Here is some an example from ldap

Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32com.client
>>> adsNameSpaces = win32com.client.Dispatch("ADsNameSpaces")
err:win32:do_relocations Forced to relocate system DLL (base > 2GB). This is
not good.
err:win32:do_relocations Forced to relocate system DLL (base > 2GB). This is
not good.
>>> ldapNameSpace = adsNameSpaces.getobject("", "LDAP:")
>>> ldapCont =
ldapNameSpace.OpenDSObject("LDAP://uhgexchange00/cn=MRRoach,cn=Corporate
Office,ou=UHG,o=Urology Healthcare Group", "cn=myusername,dc=uhg",
"mypassword", 0)
>>> ldapCont.Getinfo()
wine: Unhandled exception, starting debugger...




More information about the wine-users mailing list