LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-21-2012, 12:45 AM   #1
uk.engr
Member
 
Registered: Apr 2012
Posts: 131

Rep: Reputation: Disabled
Angry Problem in Accessing folder from windows xp to fedora's shared folder


Asalam o Alaikum!

I have created samba server and share a folder. When I try to access it from windows "start ---> Run----> \\192.168.1.10\share_folder"

Then a (GUI) prompt appears and ask for the password of user "Guest" I did not create any user name guest and I don't have its passwords. I have already added this line

Valid user = root uk

also smbpasswd -a root uk is done. I am not able to access folder with these user IDs.

Please help!
 
Old 07-21-2012, 01:25 AM   #2
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Check your SELinux rules, your firewall, your /etc/hosts.deny file, make sure the correct services are running (e.g. nmbd) and check your /etc/smb.conf file (the line that may be of particular interest is the "security = <something>" line.
 
Old 07-21-2012, 01:38 AM   #3
uk.engr
Member
 
Registered: Apr 2012
Posts: 131

Original Poster
Rep: Reputation: Disabled
Selinux is already disabled.

Problem is resolved, there is option in /etc/smb.conf

security = share

I replaced share with user then I was allowed to access the linux's shared folder with desire user from windows.

there is another problem with me when I try to mount shared folder from windows to linux then:

[root@localhost mnt]# mount -t smbfs //192.168.1.253/Win_sharing /media/
mount: unknown filesystem type 'smbfs'

Please let me know its solution.

Last edited by uk.engr; 07-21-2012 at 02:39 AM.
 
Old 07-21-2012, 02:09 AM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Wait, are you trying to mount a Windows share now form Linux, or are you trying to mount from Linux to the Samba share you made?
 
Old 07-21-2012, 02:39 AM   #5
uk.engr
Member
 
Registered: Apr 2012
Posts: 131

Original Poster
Rep: Reputation: Disabled
I tried to mount windows's shared folder to linux. And done now

[root@localhost mnt]# mount -t cifs //192.168.1.253/Win_sharing /media/

smbfs is not working. When i tried with cifs it is done.

Thanks!

Last edited by uk.engr; 07-21-2012 at 02:43 AM.
 
  


Reply



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
Accessing shared folder via Windows 7, with root level? ChristianB Linux - Server 0 07-18-2012 07:57 AM
how to check who's accessing samba shared folder from windows centos123 Linux - Server 59 06-15-2012 11:16 PM
Unable to access fedora 10 shared folder from windows nightmare49 Linux - Software 2 08-17-2009 06:41 AM
Accessing Linux shared folder from Windows XP bekiricli Linux - Newbie 8 02-10-2009 03:50 PM
open shared folder of windows using fedora av.dubey Linux - Newbie 8 03-25-2008 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 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
Open Source Consulting | Domain Registration