[Samba] Unable to write to a share that I should have access to

Rob Campbell robcampbell08105 at gmail.com
Tue Mar 8 14:15:06 UTC 2022


I fixed /etc/nsswitch.conf from the typo winbindd to winbind.  Now I'm able
to write to the share.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In all things, Be Intentional.


On Mon, Mar 7, 2022 at 2:51 PM Rob Campbell <robcampbell08105 at gmail.com>
wrote:

>
> 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
>>
>


More information about the samba mailing list