[python-win32] win32net.NetUseAdd buglet (or doc buglet)

Scott Prive scottprive at earthlink.net
Wed Apr 23 12:12:33 EDT 2003


> What probably happened is my initial code (both 'password' and 'passwd')
> sent non-unicode strings. Whatever this translated into (probably
nonsense),
> the function returned 'bad username or password' but only when I used the
> ['password'] key.

...and of course I meant to say, when I used ['passwd'] this unknown key was
dropped... so it used my current credentials, which "worked" because I still
had "Everyone" enabled on the share. Tightening the share revealed this.

-Scott




More information about the Python-win32 mailing list