[Tutor] Question regarding win32com getting ldap object

Jervis Whitley jervisau at gmail.com
Mon Jan 5 20:58:45 CET 2009


On Mon, Jan 5, 2009 at 8:04 PM, vishwajeet singh <dextrous85 at gmail.com>wrote:

> 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
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
> Hi,
try the following from the archive:

http://mail.python.org/pipermail/python-list/1999-December/018594.html

Cheers,

Jervis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090106/39c2e42d/attachment.htm>


More information about the Tutor mailing list