[Samba] nfs based shared home dir question

L.P.H. van Belle belle at bazuin.nl
Fri Sep 4 13:53:16 UTC 2015


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

 

 

 

 



More information about the samba mailing list