As mentioned earlier, this sets up automatic creation of homes shares by samba. Luckily, it's quite simple.
[homes] # The comment will show up when a user connects to the server # and is viewing available shares comment = Home Directories # This tells samba that this share should not be displayed # when a client is browsing. browseable = no # Users should be able to write to their home directory read only = no # Sets the default permission mode for newly created files create mode = 0755 # We don't want to let guests connect to home directories guest ok = no