[Samba] Fw: Home directory is not created
- Date: Wed, 30 May 2018 14:56:53 +0000
- From: Suman Koirala via samba <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] Fw: Home directory is not created
I have following homes section on my smb.conf file.
comment = Home Directories
browseable = no
read only = no
valid users = %S
guest ok = no
path = /home/remote/%U
root preexec = /usr/local/sbin/mkhomdironfly.sh %U
script to make home directory i.e mkhomdironfly.sh
if [ ! -e /home/remote/$1 ]; then
cp /etc/skel/* /home/remote/$1
chown -R $1 /home/remote/$1
chgrp -R "domain users" /home/remote/$1
chmod -R 700 /home/remote/$1
I was able to login but the home directory is not created. And it does not show any sort of errors in the log file.
i have also created /home/remote with drwsr-x--- permission and "domain users" as group.
drwsr-x--- 3 root domain users 4096 May 30 09:41 remote
But still home directory is not created.
To unsubscribe from this list go to the following URL and read the