Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba security

Status
Not open for further replies.

generaal

Programmer
Jan 11, 2007
58
0
0
ZA
Hi

I want our Samba server setup to allow any PC to access the share. At the moment we have a list of IPs that are allowed to access the share but since we are on DHCP the IPs change quite often. This is the setup:

# IBM_PROLOG_END_TAG
[global]
workgroup = vwza.emea.vwg
security = user
map to guest = Bad User
server string = Fileshare on (%h)
encrypt passwords = yes
wins support = no
log level = 3
log file = /usr/local/logs/samba/%m.log
max log size = 3000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
#hosts deny = ALL
hosts allow = //This area contains the list of IPs
read only = no
share modes = yes

[GRC]
comment = Shared data
path = /GRC
public = yes
guest ok = yes
guest only = yes
guest account = nobody
browsable = yes
read only = no
browsable = yes


I have been trying without success and have tried everything, but my knowledge of Samba is limited to say the least
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top