Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-29-2012, 01:28 AM   #1
LQ Newbie
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
stuck on not able to access simple smb share I created from linux to windows

so I created a simple smb share trying to access it from
redhat to windows 2008

I am able to ping both servers from both sides and nothing is restricting it

under -> cd/etc/samba/smb.conf

but I am not able to access it on windows 2008 -> I get error under
map a network drive
\\ip of the redhat
I get error of drive could not be mapped because no network was found

so I have it as this:

path = /home/user
writeable = yes
hosts allow = my ip of the windows 2008

I am kind of stuck and not sure what is going on, I have researched and asked plenty of questions just want to able to access smb share on linux from windows

school me, thanks in advance
Old 01-29-2012, 02:20 AM   #2
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
On windows what you have to put in the dialog box to map shared folders is like,
If you dont point which folder isnt possible to map.


Last edited by ukiuki; 01-29-2012 at 10:22 AM. Reason: typo
Old 01-29-2012, 06:36 AM   #3
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
In my case this worked for me, thanks to thund3rstruck

sudo mount.cifs //server/share /path/to/mnt -o domain=SambaDomain,rw,file_mode=0777,dir_mode=0777,uid="$USER",username=sambaUserName,password=sambaPassword
However I was trying to acces from a linux box to another linux box

Good luck to you!

Last edited by TroN-0074; 01-29-2012 at 06:38 AM.
1 members found this post helpful.
Old 01-29-2012, 08:03 AM   #4
LQ Newbie
Registered: Nov 2011
Posts: 17

Rep: Reputation: Disabled

Hi buddy
Try to check with the iptables of Linux and firewall in win 2008
Old 01-29-2012, 10:26 AM   #5
LQ Newbie
Registered: Dec 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
I did a 777 on the actual folder in linux, do I list out the complete directory path in windows?

thanks in advance
Old 01-29-2012, 12:39 PM   #6
Registered: Mar 2011
Location: Surrey B.C. Canada (Metro Vancouver)
Distribution: Slackware
Posts: 183
Blog Entries: 1

Rep: Reputation: 25
Samba Share

You should be able to open a file browser select the network Icon and see the share both ways.

I regularly share files on a Mac with my Linux box and nary a Windows OS on the horizon.
Old 02-08-2012, 08:29 PM   #7
LQ Newbie
Registered: Dec 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
I have left the rules open for windows in the iptables still not working


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 anonymous smb share from Linux bobnw Linux - Newbie 1 06-06-2009 05:19 AM
Can't access SMB share from Windows to OpenSuse folder ceantuco Linux - Newbie 2 11-20-2008 06:32 PM
How to access database created with MS Access on Windows using PHP on Linux Server anjani.78 Linux - Software 1 12-21-2005 06:07 PM
(Windows) Only one Linux box can mount a smb share Artimus General 1 07-21-2004 12:12 PM
Can't access a smb share from windows digitalspillage Linux - Newbie 2 10-05-2003 09:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 PM.

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