I use a custom-template for samba - 55adminhomes
This allows you to allow specified users to have access to all users home directories.
Steps:
Create a custom-template fragment:
vi /etc/e-smith/templates-custom/etc/smb.conf/55adminhomes
With the following content:
[admin_shares]
comment = home_directories
path = /home/e-smith/files/users/
valid users = admin root
admin users = admin root
write list = admin root
public = no
browsable = yes
writable = yes
you can put whatever username in the valid users / admin users.
Then expand the template:
expand-template /etc/samba/smb.conf
And then restart the samba service
service smb restart
this gives you a new samba share that has all the users directories, which is accessible the same way as all samba shares.
be aware that if you write files in here as admin or root the user permissions might not be correct. i use this is a school environment where it is important for some teachers to be able to check on contents of childrens home directories, but be aware that this gives the authorised users access to EVERYONE's home directory, which contain mail etc.