Rowland Penny
2022-Mar-07 19:29 UTC
[Samba] Unable to write to a share that I should have access to
On Mon, 2022-03-07 at 14:21 -0500, Rob Campbell via samba wrote:> Following > https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs#Setting_Standard_UNIX_ACLs > > # chmod 2770 /srv/samba/Demo/ > # chown root:"Domain Users" /srv/samba/Demo/ > > When I try this, I get an error message > $ chown testuser:"Media Users" TV_Shows/ > chown: invalid user: ?testuser:Media Users? > > samba-tool user show testuser > dn: CN=Test User,CN=Users,DC=home,DC=test-server,DC=lanYes, but does <getent passwd testuser> and <getent group 'Media Users'> produce output ? Rowland
Rob Campbell
2022-Mar-07 19:51 UTC
[Samba] Unable to write to a share that I should have access to
On Mon, Mar 7, 2022 at 2:29 PM Rowland Penny via samba < samba at lists.samba.org> wrote:> On Mon, 2022-03-07 at 14:21 -0500, Rob Campbell via samba wrote: > > Following > > > https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs#Setting_Standard_UNIX_ACLs > > > > # chmod 2770 /srv/samba/Demo/ > > # chown root:"Domain Users" /srv/samba/Demo/ > > > > When I try this, I get an error message > > $ chown testuser:"Media Users" TV_Shows/ > > chown: invalid user: ?testuser:Media Users? > > > > samba-tool user show testuser > > dn: CN=Test User,CN=Users,DC=home,DC=test-server,DC=lan > > Yes, but does <getent passwd testuser> and <getent group 'Media Users'> > produce output ? > > It does not. So I guess I should figure out why. getent hosts hostname > worked but obviously that has nothing to do with users and groups. > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >