# WINS Server – Tells the NMBD components of Samba to be a WINS Client

# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both

; wins server = w.x.y.z

# WINS Proxy – Tells Samba to answer name resolution queries on

# behalf of a non WINS capable client, for this to work there must be

# at least one WINS Server on the network. The default is NO.

; wins proxy = yes

# DNS Proxy – tells Samba whether or not to try to resolve NetBIOS names

# via DNS nslookups. The built-in default for versions 1.9.17 is yes,

# this has been changed in version 1.9.18 to no.

dns proxy = no

# Case Preservation can be handy – system default is _no_

# NOTE: These can be set on a per share basis

; preserve case = no

; short preserve case = no

# Default case is normally upper case for all DOS files

default case = lower

# Be very careful with case sensitivity – it can break things!

case sensitive = no

client code page = 866

character set = koi8-r

printer driver file=/home/samba/hplj1200/printers.def

#========================== Share Definitions ==============

[homes]

comment = Home Directories

browseable = no

writable = yes

valid users = yura tol katya slava vova lena alst

[comrn]

comment = Common place

path = /home/samba/coram

valid users = root slava tol yura katya vova lena alst

public = no

writable = yes

printable = no

create mask = 0775

directory mask= 0775

force group = office

[hp]

comment = HP LaserJet 1200 Series PCL6

path = /var/spool/samba

printer = lp

public = no

printable = yes

printer driver=HP LaserJet 1200 Series PCL6

printer driver location=\\%h\printer$

[printer$]

path=/home/samba/hplj1200

public=yes

browseable=yes

# This one is useful for people to share files

[tmp]

comment = Temporary file space

path = /tmp

read only = no

public = yes

Перейти на страницу:

Все книги серии Наиболее полное руководство

Похожие книги