Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 579 — #605
i
i
i
i
i
i
i
i
24
Heterogenous Networks
If no other SMB server is present in your network (such as a Windows
NT or 2000 server) and you want the Samba server to keep a list of
all systems present in the local environment, set the os level to a
higher value (for example, 65). Your Samba server is then chosen as
LMB for your local network.
When changing this setting, consider carefully how this could affect
an existing Windows network environment. A misconfigured Samba
server can cause serious problems when trying to become LMB for
its workgroup. Contact your administrator and subject your config-
uration to some heavy testing either in an isolated network or at a
noncritical time of day.
wins support and wins server To integrate your Samba server into an
existing Windows network with an active WINS server, enable the
wins server option and set its value to the IP address of that WINS
server.
If your Windows machines are connected to separate subnets and
should still be aware of each other, you need to set up a WINS server.
To turn a Samba server into such a WINS server, set the option
wins support = Yes. Make sure that only one Samba server of
the network has this setting enabled. The options wins server
and wins support must never be enabled at the same time in your
smb.conf file.
Shares
The following examples illustrate how a CD-ROM drive and the user direc-
tories (homes) are made available to the SMB clients.
[cdrom] To avoid having the CD-ROM drive accidentally made available,
these lines are deactivated with comment marks (semicolons in this
case). Remove the semicolons in the first column to share the CD-
ROM drive with Samba.
Example 24.1: A CD-ROM Share
;[cdrom]
; comment = Linux CD-ROM
; path = /media/cdrom
; locking = No
[cdrom] and comment The entry [cdrom] is the name of the share
that can be seen by all SMB clients on the net. An additional
comment can be added to further describe the share.
579
SUSE LINUX Enterprise Server










