Like described here,
Samba-servers on Linux provide the users
/home-directory as a shared-folder automatically. How can I prevent this behavior?
In the following, the directory containing the
homefolders are shared using the users share name. Each user's home directory is created as a subdirectory on the
\\server\users\share, such as,
\\server\users\user_name. This is the same format used in a Microsoft Windows environment and requires no additional work to set up.
I only want to share an explicit declared shared-folder, but not the whole
/home/username-directory of my username. How can I adjust this?