LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   stuck on not able to access simple smb share I created from linux to windows (https://www.linuxquestions.org/questions/linux-newbie-8/stuck-on-not-able-to-access-simple-smb-share-i-created-from-linux-to-windows-926275/)

umcpgrad 01-29-2012 01:28 AM

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

ukiuki 01-29-2012 02:20 AM

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

TroN-0074 01-29-2012 06:36 AM

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!

saroj1439 01-29-2012 08:03 AM

Hi buddy
Try to check with the iptables of Linux and firewall in win 2008 :)

umcpgrad 01-29-2012 10:26 AM

I did a 777 on the actual folder in linux, do I list out the complete directory path in windows?

thanks in advance

lisle2011 01-29-2012 12:39 PM

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.

umcpgrad 02-08-2012 08:29 PM

I have left the rules open for windows in the iptables still not working


All times are GMT -5. The time now is 07:26 PM.