Hi,

* Tim Golden <[EMAIL PROTECTED]> [2008-09-01 17:13:20 +0100]:
 
>> * Tim Golden <[EMAIL PROTECTED]> [2008-08-27 14:35:37 +0100]:
>>  
>>> You might be able to get there with WMI. The following
>>> works on my own machine, but I'm not sure what machine
>>> you'd need to access to list the DFS shares. I'll see
>>> if I can persuade a friendly admin here to let me try
>>> things out:

It seems I need to access net32api.NetShareGetInfo or maybe
IADsFileShare, but I have to figure this out after my holiday.
Until now I used the trick to simply call os.listdir() on
the servers where I knew the homes are lying.
os.listdir is cool enough to work with UNC paths. :)

Best wishes
Michael 
-- 
Free Software Foundation Europe (FSFE) []         (http://fsfeurope.org)
Treten Sie der Fellowship bei!       [][][]       (http://fsfe.org/join)
Ihre Spende ermöglicht unsere Arbeit!  ||  (http://fsfeurope.org/donate)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to