Pe data de Wednesday 11 February 2004 10:55, Liviu Petcu a scris: > Am instalat vmware 4.0.5 pe un mandrake 9.2, insa nu-mi reuseste > partajarea (via samba instalat de vmware) unui director din > sistemul host.
Daca ai in VMware Win2K/XP, suporta Shared Folders si merge fara batai de cap. In rest, inca nu mi-am pus Samba/VMware. ghrt > > configurari: > > *** ip-uri *** > eth0 10.11.2.201 > vmnet0 10.11.2.211 (gw 172.16.203.1) (bridged) > vmnet1 172.16.203.1 (host-only) > > > *** smb.conf *** > [EMAIL PROTECTED] root]# cat /etc/vmware/vmnet1/smb/smb.conf > ; > ; Configuration file for Samba operating on vmnet1. > ; > ; This file was automatically generated by the VMware configuration > program. > ; If you modify it, it will be backed up the next time you run the > ; configuration program. > ; > > ; Global settings > [global] > ; > ; Identity > ; > > ; Allow several Samba servers on different subnet without conflicts > socket address = 172.16.203.1 > interfaces = vmnet1 > bind interfaces only = yes > > ; Workgroup the host belongs to > workgroup = WORKGROUP > > ; SMB name of the host (the hostname by default) > netbios name = HOSTNAME > > ; Description of the host > server string = VMware host-only > > ; > ; Access > ; > > ; Allow connections from > ; Beware: if we use this directive, smbd will try to do a reverse > resolution > ; of the guest IP. If the host is disconnected from the network > and uses > ; named, that reverse resolution will take a long time, and the > smb client > ; (the guest) will give up waiting for a smb reply before the > reverse ; resolution timeout occurs :( > ; Because it doesn't add any real security, we don't use this > --hpreg ; hosts allow = 172.16.203.0/255.255.255.0 > > ; Authentication scheme > security = share > encrypt passwords = yes > > ; > ; Options > ; > > ; Automatically load the printer list (from /etc/printcap by > default) load printers = yes > > ; Gives better performance > socket options = TCP_NODELAY SO_RECVBUF=8192 SO_SNDBUF=8192 > > ; > ; Files and directories > ; > > ; Debug log for _both_ daemons > ; log file = /etc/vmware/vmnet1/smb/var/log.smb > ; log level = 1 > ; Max log size in KB > ; max log size = 50 > > ; Locks > lock directory = /etc/vmware/vmnet1/smb/var/locks > > ; SMB passwords > smb passwd file = /etc/vmware/vmnet1/smb/private/smbpasswd > > ; VMware extension to use codepages in a different directory > code page directory = /usr/lib/vmware/smb/codepages > > ; > ; Name browsing > ; > > ; Allow the host to participate in master browser elections > local master = yes > > ; Force a local browser election upon startup > ; We need that otherwise it takes a long time before the windows > network is > ; browsable > preferred master = yes > > ; Do not try to resolve SMB names via DNS > dns proxy = no > > ; > ; Shared resources > ; > > ; Home directories > [homes] > comment = Home directories > browseable = yes > writable = yes > > ; Printers > [printers] > comment = All printers > path = /var/lpd > browseable = yes > guest ok = no > writable = no > printable = yes > > [HostFS] > comment = VMware host filesystem > path = / > public = no > writeable = yes > printable = no > browseable = yes > > > > *** smbd *** > [EMAIL PROTECTED] root]# /etc/init.d/vmware restart > > Stopping VMware services: > Virtual machine monitor [ > OK ] Bridged networking on /dev/vmnet0 > [ OK ] DHCP server on /dev/vmnet1 > [ OK ] SMB share server on /dev/vmnet1 > [ OK ] SMB name server on /dev/vmnet1 > [ OK ] Host-only networking on /dev/vmnet1 > [ OK ] DHCP server on /dev/vmnet8 > [ OK ] NAT networking on /dev/vmnet8 > [ OK ] Host-only networking on /dev/vmnet8 > [ OK ] Virtual ethernet > [ OK ] Starting VMware services: > Virtual machine monitor [ > OK ] Virtual ethernet > [ OK ] Bridged networking on /dev/vmnet0 > [ OK ] Host-only networking on /dev/vmnet1 (background) > [ OK ] Host-only networking on /dev/vmnet8 (background) > [ OK ] NAT networking on /dev/vmnet8 > [ OK ] > > > ... si totusi se pot vedea doar smb share ale celorlalte masini din > 10.11.2.0 si nu si cea a host-ului (172.16.203.1) > > Unde gresesc? > Multumesc. > > Liviu > > > > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ --- Detalii despre listele noastre de mail: http://www.lug.ro/
