pagod
2006-Sep-15 21:53 UTC
[Samba] accessing windows shared folders from vmware guest linux
Hi, i've just installed vmware 5.5 on a win2k SP4 machine, and i've installed a Suse 10.1 on the virtual machine. actually i'm using *only* the command line interface on linux, my goal is only to be able to compile the C++ source files i have on my windows partition with gcc on linux. in order to do this, i need to mount my windows partition in my linux, and i need to be able to write as well, as some files (other than just the object files) are generated while compiling. i think this should be possible by mounting the windows folders using samba. so i've installed samba on my linux (Version 3.0.22-11-SUSE-CODE10), and tried to connect to my windows shared folders. however, i always get some authentication or access failure. for instance, the following command: smbclient //fili/xlibs -U dvergnaud raises the following error: session setup failed: NT_STATUS_LOGON_FAILURE of course the computer does exist, the windows folder is shared, and the username and password are correct. if i try something like this: smbmount //fili/xlibs /mnt/temp -o username=dvergnaud i get the following error: 3600: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed the weird thing is, it all works fine when doing it from another linux computer (where linux runs natively). that means, as i see it, that either there's a problem with VMware and samba working together, or my samba client is not properly configured -- although i'm not aware that it's much configurable... has anyone already had such a problem? or does anyone have an idea what i'm doing wrong? thx a lot for helping me out! David -- View this message in context: http://www.nabble.com/accessing-windows-shared-folders-from-vmware-guest-linux-tf2276814.html#a6322998 Sent from the Samba - General forum at Nabble.com.
Doug VanLeuven
2006-Sep-16 05:42 UTC
[Samba] accessing windows shared folders from vmware guest linux
pagod wrote:> if i try something like this: > smbmount //fili/xlibs /mnt/temp -o username=dvergnaud > i get the following error: > 3600: session setup failed: ERRDOS - ERRnoaccess (Access denied.) > SMB connection failed > > the weird thing is, it all works fine when doing it from another linux > computer (where linux runs natively). that means, as i see it, that either > there's a problem with VMware and samba working together, or my samba client > is not properly configured -- although i'm not aware that it's much > configurable... > > has anyone already had such a problem? or does anyone have an idea what i'm > doing wrong? >Vmware itself is not a problem. I use it without problem and I believe some of the samba developement is done on vmware machines. Things to check are firewalling on the Linux box, and which of the available vmware network options you used. Bridged, private or NAT. Regards, Doug