VMware, Inc. 329
Chapter 15 Advanced Virtual Networking
MakesuretheSambapasswordfileincludesentriesforallusersofthevirtualmachine
whowillaccessthehost’sfilesystem.TheusernamesandpasswordsintheSamba
passwordfilemustmatchthoseusedforloggingontotheguestoperatingsystem.
Add Users to the Samba Password File
YoucanaddusernamesandpasswordstotheSambapasswordfileatanytimefroma
terminalwindowonyourLinuxhostcomputer.
To add users to the Samba password file
1Logintotherootaccount:
su
2RuntheSambapasswordcommand:
smbpasswd -a <username>
Here<username>istheusernametoadd.
3Followtheinstructionsonthescreen.
4Logoutoftherootaccount:
exit
Using a Samba Server for Bridged and Host-Only Networks
TouseyourSambaserverforhost‐onlyandbridgednetworking,youmustmodifyone
parameterinthesmb.conffile.Youcandefinetheinterfaceparametersothatyour
Sambaserverservesmultipleinterfaces.Anexampleofthisisthefollowing:
interface = eth0 vmnet1
ThisexampletellstheSambaservertomonitoranduseboththeeth0andvmnet1
interfaces,whicharetheinterfacesthatbridgedandhost‐onlynetworkinguse,
respectively.
Comentarios a estos manuales