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 |
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.
|
|
02-10-2009, 01:25 AM
|
#1
|
LQ Newbie
Registered: Feb 2009
Posts: 6
Rep:
|
Accessing Linux shared folder from Windows XP
Hi all,
I know this is a very common (and simple) question. But somehow I couldn't get it working. I have configured the folder sharing with samba in my Linux computer (Suse 11.0) and can see the shared folders of windows computer no problem. But although I can see the Linux shares in my windows, I cannot get past the user/password barrier. It somehow does not accept it. I have created the user in windows, but still nothing. Is there any other way of accessing them in windows?
And my second simple question: how do I access the windows shared folders from Linux Terminal? Until now, I've accessed via Konquerer, but wanna write a simple shell for file copy from the shared folder.
Best Regards,
Bekir
|
|
|
02-10-2009, 03:48 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
1. Look at your samba logs. What does it say?
2. Mount your windows share on your linux machine.
-twantrd
|
|
|
02-10-2009, 03:58 AM
|
#3
|
LQ Newbie
Registered: Jun 2007
Posts: 2
Rep:
|
try put this line on share section :
guest ok = yes
example :
[sharedfolder]
path = /home/me/shared
guest ok = yes
|
|
|
02-10-2009, 04:29 AM
|
#4
|
LQ Newbie
Registered: Feb 2009
Posts: 6
Original Poster
Rep:
|
Hi,
Thanks to you both for your replies..
@twantrd:
1- how can I look at the samba logs? where to find them?
2- I've found such an example of how to mount:
"mount /dev/fd0 /mnt/floppy" but how would you specify the path to windows share?? when I connect wia Konqueror, it says in the address bar:
smb://my_user@<ip>/My_Shared_Folder
Could you give me an example?
@amuro: that solved the problem, thanks a lot.
Best wishes,
Bekir
|
|
|
02-10-2009, 07:40 AM
|
#5
|
Member
Registered: Feb 2009
Location: Netherlands
Distribution: Kubuntu, Debian
Posts: 73
Rep:
|
I am a linux newbee too, so my advise come with No-warranty:
mounting a Windows share, should be something like:
mount ipadres/sharename /mnt/Whatever
where sharename, the name of the shared directory is and Whatever is whatever name you want to give the directory in /mnt
I hope you can understand me. And if I am wrong, some smart kid will proof me wrong
|
|
|
02-10-2009, 07:57 AM
|
#6
|
LQ Newbie
Registered: Feb 2009
Posts: 6
Original Poster
Rep:
|
I tried: mount ip_address/share_folder /mnt/Win_Share and it says
mount: mount point /mnt/Win_Share does not exist
What am I doing wrong??
Thanks for the answer of course..
Regards,
Bekir
|
|
|
02-10-2009, 08:13 AM
|
#7
|
Member
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206
Rep:
|
logs are usually in
/var/logs
personally wouldn't recommend to just set guest = allow, instead create samba user accounts and assign them.
|
|
|
02-10-2009, 08:26 AM
|
#8
|
Senior Member
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098
Rep:
|
did you run the smbpasswd on your user accounts to generate them a samba password. Samba uses a different password than the password from the passwd or shadow file.
|
|
|
02-10-2009, 03:50 PM
|
#9
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
1. Depends on where/how you installed samba. The names of the log files are something like log.nmbd and log.smbd.
2.
Quote:
mount: mount point /mnt/Win_Share does not exist
|
Well, you need to make sure that mount exists first. Create it and try again.
3. I, too, wouldn't recommend 'guest=allow'. I would do that first to make sure my samba setup is up and running. After that, I would start locking it down.
-twantrd
|
|
|
All times are GMT -5. The time now is 04: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
|
|