[Tutor] Question regarding win32com getting ldap object

vishwajeet singh dextrous85 at gmail.com
Mon Jan 5 10:04:34 CET 2009


Hi List,

I am running following code to get ldap com object but the result I am
getting is unknown
I am using Python 25 and win32 bindings available at
http://downloads.sourceforge.net/pywin32/pywin32-212.win32-py2.2.exe?modtime=1217535908&big_mirror=0

*adsi = win32com.client.Dispatch('ADsNameSpaces')
print adsi
ldap = adsi.getobject('', 'LDAP:')
print ldap*

OutPut:
<COMObject ADsNameSpaces>
<COMObject <unknown>>

Any ideas what I am doing wrong ?

-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090105/91a12680/attachment.htm>


More information about the Tutor mailing list