On 18/07/2019 16:06, NY wrote:
> "Fokke Nauta" wrote in message
> news:gpba74FitknU1@mid.individual.net...
>> Hi all,
>>
>> I have a Pi in our Windows network.
>> I created a share on my Pi. I installed samba.
>> In /etc/samba/smb.conf there is:
>>
>> [pishare]
>> comment = Pi Shared Folder
>> path = /home/pi
>> browseable = yes
>> guest ok = yes
>> writeable = yes
>> create mask=0777
>> directory mask=0777
>> public = no
>> only guest = no
>>
>> I created a user and password by sudo smbpasswd -a pi.
>> When I try to access this share from a Windows machine, with using the
>> pi name and password, I don't have access.
>> What can be wrong?
>
> What happens if you try public guest access (ie without needing to
> specify a username and password)
I tried. Still no access.
> [cumulus]
> Comment = Cumulus weather station data and web pages
> Path = /home/pi/CumulusMX
> Browseable = yes
> Writeable = Yes
> only guest = no
> create mask = 0777
> directory mask = 0777
> Public = yes
> Guest ok = yes
> mangled names = no
>
> The only significant different between your entry and mine is
> public=yes/no.
>
> I notice that you have guest ok=yes. I'd have thought if you wanted to
> make Windows users have to specify a username/password to connect, you'd
> want to turn off guest access - but I may be wrong.
It was "no", but I turned it into "yes" while I hoped it would improve
the situation.
Fokke
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|