Note: You are viewing an old version of this page. View the current version.

smb.conf:

[homes]
  ...
  root preexec = /root/bin/createhome.sh '%S'

createhome.sh: