I am trying to implement IP based share. but it is not working. check my config file below


#1

i am trying to implement IP based share. but it is not working. check my config file below.

Samba config file created using SWAT

from UNKNOWN (10.0.18.11)

Date: 2016/09/26 12:05:27

[global]
server string = Samba Server Version %v
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
client signing = required
idmap config * : range =
idmap config * : backend = tdb
hosts allow = 10.0.18.11/255.255.255.0, 10.0.18.76/255.255.255.0
hosts deny = 10.0.18.3/255.255.255.0
cups options = raw

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print ok = Yes
browseable = No

[Ravishankarshare]
comment = my share
path = /home/hdfs/Desktop/Ravishankarshare
username = hdfs
valid users = hdfs
write list = hdfs
force user = hdfs
read only = No
administrative share = Yes


#2

Hi

Run testparm to check the samba conf file, and share the output of testparm

#testparm

Have you created samba user for accessing samba share

Have you configured selinux

And also once look at the below link

http://www.tecmint.com/setup-samba-file-sharing-for-linux-windows-clients/