configured /etc/samba/smb.conf
=== Share Definitions ===
[home]
comment = Home Directories
browseable = yes
writeable = yes
valid user = %S
Windows connection to the server by \\server_ip
if no pass entered, network will see one folder "homes", entered pass it will see two identical folders: "homes" & "user_name"

how to make it only one folder visible?

If I commented out [homes], no folder is visible.

thanks,