LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2008, 11:34 PM   #1
afz_linux
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
How to access windows data from Linux installed on vmware via samba


Hi,

I am a linux newbie.
Well I have windows XP on base machine.
I have installed linux ver-5 on vmware workstation v-5.0.0 build-13124. It is RedHat Enterprise Linux Server release 5(Tikanga)
kernel 2.6.18-8.e15 on an i686 (smartd version 5.36[i686-redhat-linux-gnu])
Can anyone tell me how I can access a windows share directory from linux
installed on vmware via samba...is it possible?
Also what are the share definitions to be configured in /etc/smb.conf

To access local windows directory is internet connection required on linux?


Regards.
 
Old 12-29-2008, 04:07 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Code:
 mount -t cifs //<ntserver> or <ip>/download -o username=vivek,password=myPassword /mnt/ntserver
 
Old 12-29-2008, 04:28 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Forgot to add that you can also create a credentials file and place the information in the file as follows
username=<username>
password=<password>

save that then when connecting you can supply credentials=/path/to/credentials_file
 
Old 12-29-2008, 04:34 PM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 578

Rep: Reputation: 37
Hey bud! thanks for this info! I was about to google this question but I decided to check here first! It worked! :=)
 
Old 12-29-2008, 10:44 PM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Good to hear that it worked.
 
Old 12-30-2008, 01:41 AM   #6
afz_linux
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Cheers!!! it worked...thx fr the info.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access VMWare 2.0 Server with Apache installed he_the_great Linux - Software 10 10-12-2008 11:34 PM
To access files on SAMBA installed Linux from Windows ahmed73 SUSE / openSUSE 1 02-27-2008 02:34 AM
Dial-Up access in Linux via a Windows XP laptop with a WinModem installed? Possible?? Xel'naga666 Linux - Networking 5 09-30-2006 04:16 PM
Access old data with newly installed MySQL dt4stat Linux - Enterprise 3 05-06-2005 07:11 PM
Installed SAMBA and XP or Win2000 can access Linux Share! Please Help. NYAndy Linux - Newbie 3 02-29-2004 10:29 AM


All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration