I have to guess at the purpose/environment of your LAN so I guess a workgroup of independent workstations (not with a Primary Domain Controller like in a business with 40 machines) is that right?
In addition to PV’s suggestions, these:
1: You are sharing ema’s /home directories twice. Once with the share [home-ema] and once with the share [homes]. Did you mean to do that?
2: This could mean a couple of things: “From Windows is possible to see the folder but not the files”. Does that mean that you can see folders but can’t drill down to them? I guess “yes”? If “yes” = true then the next comments follow:
3(a): In the share [home-ema] try removing this line: msdfs proxy = no, because it can cause to return the message “file or folder does not exist”.
3(b): Another thought re [home-ema]: you have guest access. So changes in /home/etc/… by guests will be attributed to a user called “nobody”. Better to have the structur below so all the changes be attributed to owner “ema”.
path = /home/ema/
read only = No
guest ok = Yes
force user = ema
“Force user” will make all files and directories remain as owned by ema, regardless of guest changes, so a bunch of different owners will not be created for files there. And I wonder do you really want “guest ok = yes” together with “valid users = ema”, seems inconsistent to me. What do you mean to have in that regard, a limiting to ema with valid users, or open to the world with guests?
If you really want case sensitive and strict locking, leave them there, but maybe you don’t?
4: To penetrate the shares [homes], [profiles] ,[users] you need as PV suggested to put user/s into the samba user database, but since you’ve set “valid users = ema” it should only be ema in the database I suppose.
5: IIRC [groups] doesn’t exist until you create the directory groups, but you have already so many shares you might as well turn it off or delete it.
6: If this is a SOHO LAN, you might try this extension of PV’s suggestion for [global]:
workgroup = CASA
netbios name = SUSE-SAMBA
name resolve order = bcast host lmhosts wins
map to guest = Bad User
local master = yes
preferred master = yes
os level = 33
server string =""
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
use client driver = yes
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False
valid users = ema
hosts allow = 192.168.1.
If you really really mean it you could include also “admin users = root” (check it in smb.conf on this link)