Specifications

Table Of Contents
VMware Server Virtual Machine Guide
202 VMware, Inc.
If!you!do!not!need!any!shares!to!appear!on!your!bridged!network,!you!can!use!your!
existing!Samba!server!and!set!up!the!configuration!file!so!it!works!only!on!the!hostonly!
network.
Samba!configurations!can!be!quite!complex.!This!section!provides!several!sample!
configuration!files.!If!you!need!
to!go!beyond!the!issues!covered!here,!see!the!man!page!
for!the!smb.conf!file.!To!view!this!man!page,!type!one!of!the!following!commands!in!a!
terminal!window:!
man smb.conf
or!
man 5 smb.conf
Pay!particular!attention!to!the!section!on!encrypted!passwords.!If!you!have!enabled!
cleartext!passwords!in!the!guest!operating
!system,!be!sure!that!smb.conf!is!set!up!to!
use!cleartext!passwords.!Similarly,!if!you!are!using!encrypted!passwords,!you!must!
have!the!same!setting!in!the!guest!operating!system!and!in!smb.conf.
NOTE Using!Samba!printer!sharing!with!virtual!machines!is!not!supported.!Consult!
the!man!pages!for!guidance!on!configuring!Samba!for!printing.
Sample smb.conf for Host-Only Networking
The!following!sample!Samba!configuration!file!is!for!use!with!hostonly!networking.!
This!configuration! is!for!the!2.0.6!version!of!Samba!installed!by!VMware!Server.!The!
configuration!files!are!placed!in!/etc/vmware/vmnet1/smb!by!default.
# This is the VMware(TM) Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options
# most of which are not shown in this example
#
# Any line that starts with a ; (semicolon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
#
# Configuration file for Samba 2.0.6 vmware-[sn]mbd operating on
# vmnet1.
#
# This file was generated by the VMware configuration
# program and modified for this document.