[Samba] Samba4 creating share and setting permissions without windows tools
Ryan Ashley
ryana at reachtechfp.com
Thu Jul 31 11:58:56 MDT 2014
That is your problem. You need to modify /etc/nsswitch.conf for files
and group to use winbind, and you MUST start winbind since that resolves
your groups.
On 07/31/2014 01:55 PM, Diego Llovet wrote:
> No, into the wiki there is nothing about that
> https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
> winbindd is stopped
>
>
> 2014-07-31 13:08 GMT-03:00 Ryan Ashley <ryana at reachtechfp.com
> <mailto:ryana at reachtechfp.com>>:
>
> Did you modify /etc/nsswitch.conf to use winbind to search for
> groups and passwords? Is winbind running?
>
>
> On 07/31/2014 09:48 AM, Diego Llovet wrote:
>
> Hello,
>
> I need a way to set permissions to share folder without to use
> RSAT, I've
> not found anything about that.
>
> The samba wiki said that
>
> ---------------------
> Change permissions on folders of a share
>
>
> Changes of permissions are done using the classic *nix tools
> 'chmod',
> 'chown' and 'chgrp'.
>
> Example:
>
> Code:
>
> # mkdir /srv/samba/Demo/Example/
> # chown foobar:DemoGroup /srv/samba/Demo/Example/
> # chmod 2770 /srv/samba/Demo/Example/
>
> -------------------
>
> I created a group DemoGroup with "samba-tool group add DemoGroup"
> Then, when I did
> Code:
>
> chown foobar:DemoGroup /srv/samba/Demo/Example/
>
> I got this error
> Code:
>
> chown: invalid group: "DemoGroup"
>
> What must I do to allow groups created by samba-tool works
> with chown??
>
> How can I do to assign permissions to a shared folder from
> command line
> using the power of samba4?
>
> Thank you in advance
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list