Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-08-2006, 06:04 AM
|
#1
|
Member
Registered: May 2006
Location: India
Distribution: RedHat Enterprise Linux (Kernel 2.6)
Posts: 42
Rep:
|
sharing folders betwen windows and linux
hi friends,
i am using red hat linux(kernel 2.6) and sharing its folders with a windows server in a network.
Windows server is able to access the linux folders through Samba but I am unable to access the folders present on windows from the linux system.
I have checked the firewall settings. They are perfectly fine.
Can anyone tell me how can i solve my problem..??
|
|
|
05-08-2006, 06:51 AM
|
#2
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
Please be clear,
Hi,
Can you tell what does it mean by
"I am unable to access the folders present on windows from the linux system."
Are you getting some kind of errors?
If so what are those?
Have tried mounting windows shares on linx?
Please post the errors you are facing
|
|
|
05-08-2006, 07:06 PM
|
#3
|
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334
Rep:
|
To further those questions, how are you trying to mount the windows share on your linux machine? from the command line? A line in your fstab?
|
|
|
05-08-2006, 09:19 PM
|
#4
|
LQ Newbie
Registered: Apr 2006
Posts: 7
Rep:
|
i think u need to mention a windows username and his password in samba.conf
file under /etc. so that the user gets the proper authentication required for accessing the folder from windows, As he logons with the mentioned username.
|
|
|
05-08-2006, 10:21 PM
|
#5
|
Member
Registered: May 2006
Location: India
Distribution: RedHat Enterprise Linux (Kernel 2.6)
Posts: 42
Original Poster
Rep:
|
please tell me the procedure to mount windows share on the linux system...I will be very thankful if anyone can do it fast.
|
|
|
05-08-2006, 11:19 PM
|
#6
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
Solution:-
Hi Ashley,
You can mount as follows:-
mount -t smbfs //winmachinename/winsharename /mnt/somepoint/
This will ask username /password which you will have to provide mannually. Share will remain mounted untill next reboot.
The automatic and permenant way:-
in /etc/fstab make follwing entries:-
//winmachine/winshare /mnt/windows/c smbfs defaults 1 1
//winmach2/cdrom /mnt/windows/cdrom smbfs username="urusername",password="yourpassword" 1 1
Hope your problem will get solved!
|
|
|
05-09-2006, 12:48 AM
|
#7
|
Member
Registered: May 2006
Location: India
Distribution: RedHat Enterprise Linux (Kernel 2.6)
Posts: 42
Original Poster
Rep:
|
hey.. thanks a lot..that was very helpful and i was just luking for how to make an entry in fstab when u helped me out.
But i didnt understand ont thing..
In place of winmachine ,i will give the machine name on which i have windows,but what is this entry of winmach2 about?? what is winmach2 and why have u used cd-rom along with that?
please reply me fast if possible.
Thank u for ur time.
|
|
|
05-09-2006, 01:37 AM
|
#8
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
Hi Ashley,
Winmach2 entry was as follows:-
//winmach2/ cdrom /mnt/windows/cdrom smbfs
username="urusername",password="yourpassword" 1 1
simply it was a machine with name winmach2
which had a share named "cdrom" mounted on "/mnt/windows/cdrom" with username on windows "urusername"
and a password "yourpassword"
|
|
|
05-09-2006, 02:10 AM
|
#9
|
Member
Registered: May 2006
Location: India
Distribution: RedHat Enterprise Linux (Kernel 2.6)
Posts: 42
Original Poster
Rep:
|
thank u so much for ur assistance..
I have solved my problem completely..
Thanks a lot..
|
|
|
05-13-2006, 10:33 AM
|
#10
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php
|
|
|
All times are GMT -5. The time now is 06:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|