LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Access shared folders from Windows (https://www.linuxquestions.org/questions/linux-newbie-8/access-shared-folders-from-windows-4175453935/)

ShaneBohannan 03-13-2013 12:55 PM

Access shared folders from Windows
 
The company that I work for has around 10 Fedora Release 13 servers setup at remote locations that users save all of their documents from their computers.

From everything I can find on the fedora servers these folders are shared from the "home" folder.

I am trying to connect a windows computer from our home office to the fedora computer to backup the files and folders. If I connect to the server with a user from the remote site I can see their folders. I have tried to connect the \\<ip address\home with the root user and windows comes back with an error. The network admin before me has a user setup on the computer that to me looks like a super user and I have tried his account as well.

What am I missing to allow this connection?

I am new to Linux so if I need to post more information please let me know.

Thank you

trickykid 03-13-2013 12:59 PM

What do your error logs indicate? Diagnosing remote mounting shares usually results in digging in the logs to determine what error if any is happening.

Also if you could post your smb.conf file as well, that might help us determine how they shares are setup.

ShaneBohannan 03-13-2013 01:09 PM

tricky this is going to sound dumb but what and where are the error logs that I need to look at, the windows computer tells me this.
"Windows cannot access \\ip address\home" check the spelling of the name otherwise, there might be a problem with your network to try to identify and resolve network problems, click diagnose.
Error code 0x80070035
The network path was not found.

the network path not found error I can understand because I am trying to access a share that is not shared. I think! lol

as for the smb.conf I have searched the internet over to find the location of this file. from what I have found it should be in this location /etc/samba/smb.conf I have listed the etc folder about 100 times and do not see the "samba" directory.

[root@netm01 ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Wed Jul 14 08:04:30 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/VolGroup-lv_root / ext4 defaults 1 1
UUID=44cce6e1-5757-4ef0-a07a-e8d41659ae7c /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
/dev/mapper/VolGroup-lv_shares /shares ext4 defaults 1 2
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0

this is the closest I have come to finding the shared folders.

shivaa 03-13-2013 01:33 PM

Do you have any protocol like Samba or CIFS enabled, so you can access those files using \\<ip_address>\home?

Also what error you're getting when trying this way, to access Unix data from Windows?

ShaneBohannan 03-13-2013 01:41 PM

Yes samba is installed and i did find the smb.conf file, i am trying to get the conf file so i can post it.

shivaa 03-13-2013 02:07 PM

Quote:

Originally Posted by ShaneBohannan (Post 4910918)
Yes samba is installed and i did find the smb.conf file, i am trying to get the conf file so i can post it.

What error you're getting on Windows? And if samba is enabled, then Unix and Windows user's should be mapped in smbusers file on Unix side.
Code:

windows_username == unix_username


All times are GMT -5. The time now is 06:32 PM.