No subject

Wiley Thomas WThomas at gsmc.org
Fri Jun 15 11:48:01 EDT 2007


I'm trying to write a script to open a file on our (windows) network.
The file is located on a machine that is not part of the domain and
requires a separate user id and password to access.  I tried using
urllib2 and the password_manager to authenticate but as some point
urllib2 sees I'm trying to access a local file and passes it off to os.
The error message I get is:

"WindowsError: [Error 1326] Logon failure: unknown user name or bad
password: <file path.

 

Does anyone know of a better approach.

 

Thanks,

Wiley

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070615/03d161dc/attachment.html>


More information about the Python-list mailing list