[Samba] nfs based shared home dir question
Ritter, Marcel (RRZE)
marcel.ritter at fau.de
Mon Sep 7 07:14:34 UTC 2015
Hi Louis,
What NFS version/options are you using?
-> cat /proc/mounts
If you're using NFS v4 there are no more Posix ACLs,
so getfacl won't get you anywhere.
NFS v4 comes with different ACL style - and different
tools (nfs4-acl-tools):
nfs4_getfacl / nfs4_setfacl
Bye,
Marcel
-----Ursprüngliche Nachricht-----
Von: samba [mailto:samba-bounces at lists.samba.org] Im Auftrag von L.P.H. van Belle
Gesendet: Freitag, 4. September 2015 15:53
An: samba at lists.samba.org
Betreff: [Samba] nfs based shared home dir question
Hai..
I need to have my home dirs shared over some of my servers.
I did setup a nfs4 kerberos base
Debian jessie, samba 4.1.17 and sernet samba 4.1.3 on these servers.
This works, i can mount without problems.
But because verything is created with the windows user tools, the owner/Group is root.
Like this
Server:
ls -al
drwxrwx---+ 2 root root 4096 Sep 4 13:17 someuser
getfacl someuser
# file: someuser
# owner: root
# group: root
user::rwx
user:root:rwx
user:someuser:rwx
group::r-x
group:root:r-x
group:BUILTIN\134administrators:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:user:someuser:rwx
default:group::r-x
default:group:root:r-x
default:group:BUILTIN\134administrators:rwx
default:mask::rwx
default:other::---
Client :
ls -al
drwxrwx--- 2 root root 4096 Sep 4 13:17 someuser
getfacl someuser
# file: someuser
# owner: root
# group: root
user::rwx
group::rwx
other::---
and because of this i cant use the users homedirs on other servers.
Is this because i create user the “wrong way” or am i missing something else.
I cant figure out where i did what ..(wrong)
And if this just dont work because of the nfs, how did you guys overcome this.
Id someuser, getent passwd someuser, wbinfo –u /-g etc, all give back my user with uid/gid and homedir.
Should i use cifs Mount?
Did i set something wrong on the “user” share so the users home dir is created with wrong rights?
Any one any suggestions?
Greetz,
Louis
--
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