Specifications

Table Of Contents
VMware Server Virtual Machine Guide
208 VMware, Inc.
You!can!add!user!names!and!passwords!to!the!Samba!password!file!at!any!time!from!a!
terminal!window!on!your!Linux!host!computer.!
1Log!on!to!the!root!account.
su -
2Run!the!Samba!password!command.
smbpasswd -a <username>
<username>!is!the!user!name!you!want!to!add.!Follow!the!instructions!on!the!
screen.!
3Log!
off!of!the!root!account.
exit
Using a Samba Server for Both Bridged and Host-Only Networks
You!can!use!the!Samba!server!of!your!choice!!either!the!existing!Samba!server!from!
your!host!operating!system’s!distribution!or!the!one!provided!with!VMware!Server!!
for!both!hostonly!and!bridged!networking.!To!do!so,!you!must!modify!one!parameter!
in!the!smb.conf!file.!You!can!define
!the!interface!parameter!so!your!Samba!server!
serves!multiple!interfaces.!An!example!of!this!is:
interface = eth0 vmnet1
This!example!tells!the!Samba!server!that!it!is!to!listen!to!and!use!both!the!eth0! and!
vmnet1!interfaces!!the!interfaces!used!by!bridged!and!hostonly!networking,!
respectively.
Using VMware Server’s Samba with an Existing Installation
You!can!also!run!both!your!existing!Samba!server!and!the!VMware!Server!Samba!
server!at!the!same!time.To!do!this,!your!current!Samba!server!must!be!version!2.0.6!or!
higher!and!must!be!configured!correctly.!However,!this!approach!is!not!recommended.
To!determine!the!version!of!your!Samba!server,!run
smbd -V
If!you!want!to!try!running!both!Samba!servers!at!the!same!time,!use!this!sample!
smb.conf!file!as!a!basis!for!configuring!the!regular!Samba!server!on!your!host!computer.
Sample smb.conf for Running Two Samba Servers at the Same Time
; This file is the recommended smb.conf file for your
; normal Samba server if you want to run it concurrently
; (which we don't advise) with the VMware Samba server.
;
; Your normal samba server should be at least v 2.0.6