help for samba.conf (2)
I have a Linux server (Debian - slink) which must share files with a
bunch of Windows boxes. I've installed Samba on Linux and have made all the
modifications (I think) on Windows clients. Now they can see the Linux
server but they are not permited to access it. Not even to see the directories
shared by Linux server.
On Windows side I've made 192.168.1.1 (Linux IP) WINS and DNS server
and everything seems OK (par example they can use Netscape to access
Internet through the Linux gateway.)
This is my smb.conf file:
===File ~/smb.conf==========================================
;
; /etc/smb.conf
;
[global]
printing = bsd
printcap name = /etc/printcap
load printers = yes
guest account = nobody
invalid users = root
interfaces = 192.168.1.0/24
debug level = 3
; hosts allow = 192.168.1.0/255.255.255.0
; security = user
security = share
workgroup = CUB
server string = %h server (Samba %v)
; This socket options really speed up Samba under Linux, according to my
; own tests.
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
encrypt passwords = yes
wins support = yes
; os level = 0
domain master = yes
local master = yes
preferred master = yes
; What naming service and in what order should we use to resolve host names
; to IP addresses
name resolve order = lmhosts host wins bcast
; This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = yes
; Name mangling options
preserve case = yes
short preserve case = yes
; This boolean parameter controlls whether Samba attempts to sync. the Unix
; password with the SMB password when the encrypted SMB password in the
; /etc/smbpasswd file is changed.
unix password sync = false
; For Unix password sync. to work on a Debian GNU/Linux system, the following
; parameters must be set (thanks to Culus for pointing this out):
passwd program = /usr/bin/passwd %u
passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n *Password\schanged.* .
max log size = 1000
[tmp]
comment = Temporary file space
path = /tmp
read only = yes
public = yes
[arhive]
comment = Arhive
path = /home/public/arhive
read only = yes
public = yes
[kituri]
comment = Public Stuff
path = /home/public/kituri
public = yes
writable = no
printable = no
write list = @staff
[cdrom]
comment = Samba server's CD-ROM
writable = no
locking = no
path = /cdrom
public = yes
root preexec = /bin/mount /cdrom
root postexec = /bin/umount /cdrom
============================================================
--
--------------------------------------------------------------------
| Dan N. Pomohaci | e-mail: dan@usab.ro |
| Lecturer - Faculty of Biotechnology | |
| University of Agricultural Sciences | |
| 59 Marasti Ave, code 71331, | tel: 40-1-2223700/324 |
| Bucharest, Romania | fax: 40-1-22232693 |
--------------------------------------------------------------------
Reply to: