How to force Samba to create directory

You can use the preexec or root preexec options for this. They specify a script that is run upon connection to a share. In case of preexec the share is run as the connecting user, and as root with root preexec.

In your share:

root preexec = /etc/samba/ %u

where /etc/samba/ looks somewhat like this:

if [ ! -d "$DIRECTORY" ]; then
   mkdir $DIRECTORY

Depending on your requirements, add chown and/or chmod statements to the script.