[Samba] Automaticaly create User-Home directories for NFS

steve steve at steve-ss.com
Wed May 28 06:48:25 MDT 2014

On Wed, 2014-05-28 at 12:23 +0200, Daniel Thielking wrote:
> Hello, I have a problem with my Samba4 AD-Controller and NFS. We want to 
> distribute a NFS-Share for our home directory. The problem is that the 
> client is trying to create it on the fly for the first user login but 
> you get 'Permission denied' because of the root_spuash option of the 
> NFS-Server. My question: Is there any posibillity that the normal home 
> directory is created after adding a new user to the ActiveDirectory?

We just nfs3 mount the home folder on the DC un-kerberised and script to
add the home directory right after we know the uid:gid pair from
samba-tool user add. I don't think you'll be able to do it from rsat.
You only need the mount the few seconds it takes to create or delete

More information about the samba mailing list