WORKGROUP = workgroup
security = user #map to guest = bad user
server role = standalone server
server string = probook %v
netbios name = probook
log file = /var/log/samba/log%U.log
max log size = 100
log level = 5
server min protocol = SMB2_10
server max protocol = SMB3
client min protocol = SMB2
client max protocol = SMB3
security = user
ntlm auth = yes
sec ntlmv2
hosts allow = xx.x.x.x/xx
hosts deny = 0.0.0.0/0
[my share]
comment = share for all users
path = /usr/myshare/
available = yes
valid users = @sambashare
browsable = yes
writable = yes
read only = no
[Test share]
comment = share for all users
path = /home/omar/share/
available = yes
valid users = @sambashare
browsable = yes
writable = yes
read only = no
SMB aka Samba aka Windows share on Linux is most likely to be a P.I.A.
There is no way you can predict how this works. It is all depending on the computer setup - and the user setup - and as the ‘raisin in the hotdog end’ - including how any user is allowed to connect
yes that is true thank you for all your help i will still be investigating it and changing ownership did not work but as long as i have the one folder i am happy.did discover that there seem to be an issue with special permissions that seem to be throwing windows off but i will post my final results if i discover anything new.
thank you all very much for your time and effort in helping me out
I would like to thank every one for there support and encouragement. I
was finally able to fix the permissions issue by adding the following lines to smb.conf
WORKGROUP = workgroup
security = user
server role = standalone server
server string = xxxxxx %v
netbios name = xxxxx
log file = /var/log/samba/log%U.log
max log size = 100
log level = 5
(you can change this to level 2 or 3 )
server min protocol = SMB2_10
server max protocol = SMB3
client min protocol = SMB2
client max protocol = SMB3
security = user
[share]
comment = share for all users
path = /srv/myshare/
available = yes
valid users = @sambashare
create mask = 770
directory mask = 770
browsable = yes
writable = yes
read only = no
create mask = 770
(this was my choice 770 which allows user and groups permission others have no access)
directory mask = 770
(this was my choice 770 which allows user and groups permission others have no access)