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 01-29-2012, 02:28 AM   #1
umcpgrad
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, 03:20 AM   #2
ukiuki
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,
example:
Code:
\\192.168.1.5\folder
If you dont point which folder isnt possible to map.

Regards

Last edited by ukiuki; 01-29-2012 at 11:22 AM. Reason: typo
 
Old 01-29-2012, 07:36 AM   #3
TroN-0074
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

Code:
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 07:38 AM.
 
1 members found this post helpful.
Old 01-29-2012, 09:03 AM   #4
saroj1439
LQ Newbie
 
Registered: Nov 2011
Posts: 17

Rep: Reputation: Disabled
Smile

Hi buddy
Try to check with the iptables of Linux and firewall in win 2008
 
Old 01-29-2012, 11:26 AM   #5
umcpgrad
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, 01:39 PM   #6
lisle2011
Member
 
Registered: Mar 2011
Location: Surrey B.C. Canada (Metro Vancouver)
Distribution: Slackware 2.6.33.4-smp
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, 09:29 PM   #7
umcpgrad
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
 
  


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 anonymous smb share from Linux bobnw Linux - Newbie 1 06-06-2009 06:19 AM
Can't access SMB share from Windows to OpenSuse folder ceantuco Linux - Newbie 2 11-20-2008 07: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 07:07 PM
(Windows) Only one Linux box can mount a smb share Artimus General 1 07-21-2004 01:12 PM
Can't access a smb share from windows digitalspillage Linux - Newbie 2 10-05-2003 10:42 AM


All times are GMT -5. The time now is 06:28 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