VMware and Samba
Dave M
DaveM at Mich.Com
Fri Apr 6 22:40:15 UTC 2007
I am attempting to set up Samba to allow my VMware guest (win2k) to share a
folder on my Ubuntu system (v6.06 dapper). I used the HowTo
(http://ubuntuforums.org/showthread.php?t=296668) as my guide. When i try
to make the conection (map \\Ubuntu\VMshare to a drive in Windows) I get
the following in my log file.
Apr 6 22:19:01 Ubuntu /USR/SBIN/CRON[15918]: (root) CMD (echo $(date +)
Apr 6 22:20:01 Ubuntu /USR/SBIN/CRON[15963]: (root) CMD (echo $(date +)
Apr 6 22:20:11 Ubuntu nmbd[15011]: [2007/04/06 22:20:11, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353)
Apr 6 22:20:11 Ubuntu nmbd[15011]: find_domain_master_name_query_fail:
Apr 6 22:20:11 Ubuntu nmbd[15011]: Unable to find the Domain Master
Browser name MSHOME<1b> for the workgroup MSHOME.
Apr 6 22:20:11 Ubuntu nmbd[15011]: Unable to sync browse lists in this
workgroup.
Apr 6 22:20:11 Ubuntu nmbd[15011]: [2007/04/06 22:20:11, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353)
Apr 6 22:20:11 Ubuntu nmbd[15011]: find_domain_master_name_query_fail:
Apr 6 22:20:11 Ubuntu nmbd[15011]: Unable to find the Domain Master
Browser name MSHOME<1b> for the workgroup MSHOME.
Apr 6 22:20:11 Ubuntu nmbd[15011]: Unable to sync browse lists in this
workgroup.
Apr 6 22:20:11 Ubuntu nmbd[15011]: [2007/04/06 22:20:11, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353)
Apr 6 22:20:11 Ubuntu nmbd[15011]: find_domain_master_name_query_fail:
Apr 6 22:20:11 Ubuntu nmbd[15011]: Unable to find the Domain Master
Browser name MSHOME<1b> for the workgroup MSHOME.
Apr 6 22:20:11 Ubuntu nmbd[15011]: Unable to sync browse lists in this
workgroup.
Apr 6 22:21:01 Ubuntu /USR/SBIN/CRON[16005]: (root) CMD (echo $(date +)
My smb.conf file looks like:
[global]
;General server settings
netbios name = Ubuntu
workgroup = Mshome
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192
SO_SNDBUF=8192
passdb backend = tdbsam
security = user
null passwords = true
;invalid users = root bin daemon adm sync shutdown halt mail news uucp
operator gopher
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes
printing = CUPS
printcap name = CUPS
syslog = 1
syslog only = yes
; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
;valid users = %S
;create mode = 0600
;directory mode = 0755
;browseable = no
;read only = no
;veto files = /*.{*}/.*/mail/bin/
; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = Administrator
;valid users = %U
;read only = no
; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = yes
;browseable = no
; NOTE: Inside this place you may build a printer driver repository for
Windows
server string = Ubuntu VMware host
[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775
[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no
; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
;path = /media/cdrom
;browseable = yes
;read only = yes
;guest ok = yes
[VMshare]
path = /home/davem/VMware/VMshare
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = Win2K
force group = Win2K
available = yes
public = yes
writable = yes
Not sure where to go from here. Suggestions would be appreciated.
-------------------------------
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA
Protect your digital rights: http://www.eff.org
"The 'Analog Holes' they want to stop up are our eyes, ears and mouths."
More information about the ubuntu-users
mailing list