Re: os.path.exists() and Samba shares

2009-08-06 Thread BDZ
On Jul 31, 10:56 pm, "Gabriel Genellina" wrote: > En Fri, 31 Jul 2009 13:33:45 -0300, BDZ escribió: > > > > > On Jul 30, 4:41 pm, Loïc Domaigné > > wrote: > >> > Hello. I have written a Python 3.1 script running on Windows that uses > >> > os.path.exists() to connect to network shares. If the va

Re: os.path.exists() and Samba shares

2009-08-01 Thread Michel Claveau - MVP
Hi! > SAMBA is a Linux implementation of the SMB protocol, natively supported on > Windows. Right. But, with Vista or Seven, only recents releases of Samba are supported. And, Samba know only NTLM release 2 (in register: HKLM\SYSTEM\CurrentControlSet\Control\Lsa value LMCompatibilityLevel

Re: os.path.exists() and Samba shares

2009-07-31 Thread Gabriel Genellina
En Fri, 31 Jul 2009 13:33:45 -0300, BDZ escribió: On Jul 30, 4:41 pm, Loïc Domaigné wrote: > Hello. I have written a Python 3.1 script running on Windows that uses > os.path.exists() to connect to network shares. If the various network > shares require different user account and password com

Re: os.path.exists() and Samba shares

2009-07-31 Thread Ben Finney
BDZ writes: > Unfortunately, although it has the calls I'd want, pysamba appears to > be *nix only. That's because Samba is *nix-only. If you want to use something knowing that it's Samba, you are by definition working on *nix. > I need something that will work under Windows. In that case, for

Re: os.path.exists() and Samba shares

2009-07-31 Thread BDZ
On Jul 30, 4:41 pm, Loïc Domaigné wrote: > Hi, > > > Hello. I have written a Python 3.1 script running on Windows that uses > > os.path.exists() to connect to network shares. If the various network > > shares require different user account and password combos than the > > account the script is run

Re: os.path.exists() and Samba shares

2009-07-30 Thread Loïc Domaigné
Hi, > Hello. I have written a Python 3.1 script running on Windows that uses > os.path.exists() to connect to network shares. If the various network > shares require different user account and password combos than the > account the script is running under the routine returns false. I need > someth