[Samba] automatically create users home directories samba 4.0.9

steve steve at steve-ss.com
Mon Sep 16 06:59:39 MDT 2013

On Mon, 2013-09-16 at 13:55 +0200, Shaun Megaw wrote:
> I have tried to create a physical directory and then invoke :
> chmod 770 /home/Users/xlinuxd -R
> but this does not work either

Try this first:
samba-tool user delete xlinuxd
The recreate it but with:

When that doesn't work, try this too:
I think you'll need to set the permissions.
wbinfo -i xlinuxd
chown uidNumber:gidNumber /home/Users/xlinuxd
chmod 755 /home/Users/xlinuxd

In windows, it'll then appear as H:\

More information about the samba mailing list