Hi all,
I am starting a different thread on this same issue to see if I explain it better than my first, and maybe I can get your expert help.
I have a folder on an EXT4 partition on a RAID6 mount. The folder is called "share".
From an smb.conf side, I have just reloaded Ubuntu 12.04 (after much frustration) and have the default SAMBA config, except:
I set up the workgroup to my internal name (LHOME)
and enabled (removed the comments character from) the line Security = User.
What I am trying to achieve is:
1. User "tm" to have admin rights to the share from Windows 8 client
2. User "lf" to have read only access to the share from Windows 8 client
3. No guest visibility to the shares
I would be OK with:
1. User "tm" to have admin rights to the share from Windows 8 client
2. Guests (any incorrect user other than"tm") to have read only access to the share from Windows 8 client
I have reloaded the Server (after much frustration) and on a default SAMBA config, I set up the workgroup to my internal name and enabled Security = User.
I have created the user "tm" during installation and it is the default / admin user on the Server. I have created the user "lf" via:
If I add the following share:root@LSERVER:~# useradd lf
root@LSERVER:~# passwd lf
root@LSERVER:~# smbpasswd -a lf
[share]
comment = Ubuntu File Server Share
path = /storage/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
Then I run:
root@LSERVER:~# chown nobody.nogroup /storage/share
root@LSERVER:~# restart smbd
root@LSERVER:~# restart nmbd
I can then copy, read, delete from the share from Windows 8, without having to log in to do this.
Can you suggest a share layout for smb.conf and then the steps on the folder rights so that this is achieved please?
I will put you on my Christmas card list, I promise! I am really stuck after hours of noob trial and errors... your help is hugely appreciated!
M
Bookmarks