os.listdir() and authentication?

Iwan van der Kleyn try_iwk at remov_try_vanderkleyn.com
Tue Oct 15 20:50:03 CEST 2002


Hi there,

If I try to access a remote share (win32, smb) through os.listdir() I 
get an exception when I'm not authenticated on the remote host. If 
authentication has succeeded through other means (i.e. Explorer), the 
listing of the remote share is returned without a problem.

Is this a case of RTFM? Is it possible to pass log-on credentials to the 
os module?

Regards,

Iwan




More information about the Python-list mailing list