[Tutor] Question regarding win32com getting ldap object

vishwajeet singh dextrous85 at gmail.com
Tue Jan 6 06:01:34 CET 2009


Thanks for the help.
It worked for me.

On Tue, Jan 6, 2009 at 1:28 AM, Jervis Whitley <jervisau at gmail.com> wrote:

>
>
> 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
>



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


More information about the Tutor mailing list