[Samba] Error : You dont have permission to save at this location.

Rowland penny rpenny at samba.org
Fri Jun 4 20:01:49 UTC 2021


On 04/06/2021 20:53, Krish Kay wrote:
>
> >>Just two questions, what is in your 'username map' and what is in 
> the 'include' file ?
> map.txt has:
> stpadmin = STP-ADMIN
>

It should be:

!root = <WORKGROUP NAME>\Administrator

> include has blocks like below:
> [<share-name>]
>           comment = <comment>
>           create mask = 0775
>           force directory mode = 0775
>           force group = <unix group name>
>           path = <unix path to share>
>           public = no
>           valid users = <username1> <username2>
>           writeable = yes


See my comment on setting the permissions from Windows.

>
> >>What do mean by 'we use NIS' ?
> NIS is naming service, Network Information Service.
> https://en.wikipedia.org/wiki/Network_Information_Service 
> <https://en.wikipedia.org/wiki/Network_Information_Service>


Yes, I know this, perhaps I should have worded it differently, so, why 
and how are you using the dead NIS ?

>
> So, in our /etc/resolv.conf we currently have below. Do we add 
> winbind, before or after nis.
> passwd:     files nis
> group:      files nis


Neither, you normally would replace the 'nis' with 'winbind'

Rowland







More information about the samba mailing list