[Samba] Clients can't write to group-writable files - plea for help

Rowland Penny rpenny at samba.org
Wed Nov 16 16:21:16 UTC 2016


On Wed, 16 Nov 2016 10:36:58 -0500
Josh Malone via samba <samba at lists.samba.org> wrote:

> On 11/16/16 8:44 AM, Josh Malone via samba wrote:
> 
> I've tracked the problem down to some squirrely magic in username 
> mapping. I don't understand it, but the other server had a username
> map script that just returns the same thing it was called with 99% of
> the time. If I use that script instead of my empty usermap.cfg file,
> things work properly. If i leave out the map entirely (no script, no
> file ) things fail as before.
> 
> What does a normal "everything matches on windows and unix" username
> map file need to look like?
> 
> Thanks again,
> 
> -Josh
> 

If you are connecting to an Unix domain member, you don't use a
username map, you give your windows users a uidNumber attribute and
they become Unix users as well, provided the Unix domain member is
setup correctly.

Don't remember seeing the smb.conf files you are using, this may help
with your problem.

Rowland



More information about the samba mailing list