[Samba] Samba 4.1 + User Homes

spamvoll at googlemail.com spamvoll at googlemail.com
Sat Oct 26 12:53:47 MDT 2013


Hi Steve

bspears and testuser are my test users :)
I dont know how Samba 4.1 maps users to the  Filesystem.

My nsswitch,conf:
passwd:         compat
group:          compat
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis


getent does not report anything.

2013/10/26 steve <steve at steve-ss.com>

> On Sat, 2013-10-26 at 18:10 +0200, spamvoll at googlemail.com wrote:
> > Does not change anthing,
> >
> >
> > drwxrws---+  4 3000000 users   36 Okt 26 17:38 bspears
> > drwxrws---+  2 3000000 users   35 Okt 26 17:34 testuser
> >
> >
> > all users have access to both homedirs
>
> Correct. That's 770 and the sticky bit. There's an acl set on the
> directories. Also the users are not correct. I think 30000000 is Domain
> Admins. certainly not bspears anyway. How are the users mapped onto the
> filesystem? winbind perhaps? Does getent passwd bspears return anything?
> What do you have for passwd and group in /etc/nsswitch.conf?
>
> For a temporary fix, you can remove the acl
> setfacl -b bspears
>  and
> chmod 0700 bspears
>
> but unless you have the uid:gid mapping fixed, it's never gonna work
> properly.
> HTH
> Steve
>
>
>
>


More information about the samba mailing list