Hi Guys,
I can't mount windows xp shared folders from Linux RedHat VM.
I'm using VMware Workstation 6 and my network connection is Host-only.
Windows IP Configuration :
Ethernet adapter Local Area Connection 4:
Connection-specific DNS Suffix . : home
IP Address. . . . . . . . . . . . : 192.168.1.68
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.2.89
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.254
Linux IP configuration :
\[root@c4dev samba]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:BC:BB:3C
inet addr:192.168.2.90 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:febc:bb3c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1216 errors:0 dropped:0 overruns:0 frame:0
TX packets:2096 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:157495 (153.8 KiB) TX bytes:237797 (232.2 KiB)
Interrupt:185 Base address:0x1400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:93032 errors:0 dropped:0 overruns:0 frame:0
TX packets:93032 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13309972 (12.6 MiB) TX bytes:13309972 (12.6 MiB)
\[root@c4dev samba]# cat /etc/hosts
\# Do not remove the following line, or various programs
\# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.2.90 c4dev
192.168.2.89 Spare110-lt
This is my smb.conf :
\[global]
\# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MYGROUP
\# server string is the equivalent of the NT Description field
server string = Samba Server
\# This option is important for security. It allows you to restrict
\# connections to machines which are on your local network. The
\# following example restricts access to two C class networks and
\# the "loopback" interface. For more examples of the syntax see
\# the smb.conf man page
hosts allow = 192.168.2.90 192.168.2.89 192.168.2. 192.168.1. 127.
log file = /var/log/samba/%m.log
\# all log information in one file
\# log file = /var/log/samba/smbd.log
\# Put a capping on the size of the log files (in Kb).
max log size = 50
\# Security mode. Most people will want user level security. See
\# security_level.txt for details.
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
\# Configure Samba to use multiple interfaces
\# If you have multiple network interfaces then you must list them
\# here. See the man page for details.
interfaces = 192.168.2.0/24 192.168.1.0/24 127.0.0.1
\[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
I've created a local user on Windows xp and a samba account on Linux (same password) but I got this error :
\[root@c4dev samba]# smbclient -L Spare110-lt -U testaccount
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
This is the error when I try to check resources shared on windows xp with anonymous access :
\[root@c4dev samba]# smbclient -L spare110-lt
Password:
Anonymous login successful
Domain=\[MYDOM] OS=\[Windows 5.1] Server=\[Windows 2000 LAN Manager]
Sharename Type Comment
\--
-
\-----
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=\[MYDOM] OS=\[Windows 5.1] Server=\[Windows 2000 LAN Manager]
Server Comment
\--
\-----
C4DEV Samba Server
SPARE110-LT
Workgroup Master
\--
\-----
MYDOM SPARE110-LT
MYGROUP C4DEV
Am I missing some configuration steps with VMware ? Please help me
Many thanks
Joseph