Fedora Servers :: Samba Share On External USB Drive?

May 29, 2009

I have a server which currently has a samba share for a printer and my home directory. Both have been working fine for a while now. I have a drobo (which is like a little USB RAID machine) connect via USB to the linux box. While trying to share it via samba I get weird messages from my windows machine (see screenshot). I have tried to share multiple folders on this drobo and no luck, all the same result.

I also tried a symbolic link, no good.

Here is a screen shot
http://aivila.com/temp/screen.jpg
Here is my smb.conf file:
Code:
[home]
path = /home/savona
read only = no

[Code]...

View 12 Replies


ADVERTISEMENT

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

Fedora Networking :: Can't Share A Folder On An External USB Drive?

Jan 23, 2011

I am having the following problems with samba.

1. I cant share a folder on an external USB drive. (I have no problem doing so in UBUNTU)

2. I cannot seem to get Samba Swat to work.

I've Tried 127.0.0.1:901
my ip address:901
severname:901

I made sure that xinet was installed and started as well as smb and nmb. I can access other shares on the server just cant get samba swat to work nor can I set up a share on an External USB. I can access it from my side but not my Wifes side. I even made the root of the drive a share like so:

in smb.conf
[FreeAgent Drive]
comment=Shared Server Drive
path= /media/FreeAgent Drive
read only = no
browseable = yes
create mask = 0777
directory mask = 0777
valid users = argedion, perky

what am i missing or doing wrong? I have a simular set up on a server running UBUNTU 10.10 and it is sharing paths from a USB external. (note: I did not have to share the root of the drive in ubuntu.)

I know that Fedora is not UBUNTU nor GOD willing will it ever be. forgot to mention that firewall is off and i cannot access it even as root

View 14 Replies View Related

Fedora Servers :: Samba Public Share ?

Jan 26, 2011

I wan't whatever file/folder that ends up in the public folder to automaticly be open to whosoever access that folder. Right know I have to "chmod -R 777 file/folder.* "

View 4 Replies View Related

Red Hat / Fedora :: USB External Drive - Create Share Folders With Passwords

Jun 12, 2011

I am new to Linux. I have a new ntfs usb external drive. I have attached to the Linux server but can't locate it. I would like to
1. mount it.
2. format to Linux file system
3. and then create share folders with passwords using samba.

View 2 Replies View Related

Fedora Servers :: Permissions For Users Within Share On Samba PDC

Sep 3, 2010

How can I set permissions for users within the share?
Example: I have a share called Programming and some user can create folders within it most others can not, can read the documents.
How do I set permissions?

View 2 Replies View Related

Fedora Networking :: Share My External Hard Drive Over My Wireless Network?

Aug 4, 2009

i am using fedora 11 and i want to share my western digital external hard drive over my wireless network like i previousely did with my windows os. it is connected via usb to my computer. how do i do this ?

View 6 Replies View Related

Fedora Networking :: Sharing An External Hard Drive Using Samba?

Aug 9, 2011

I installed Fedora 15 5 days ago after using debian-based distros for a few years, and until now I've had the habit of sharing many files (mostly multimedia) on my home network, except since I'm the only one using Linux, I have to do it using Samba.In Ubuntu, Xubuntu and Linux Mint, this worked like a charm.

Two things have changed this week: I switched to Fedora 15 like I said before, and I bought a new USB external HDD. I previously used a 500 GB Western Digital, and changed for a 1.5 TB SAMSUNG which is linked to my station via USB. The drive works well and I cp'd the 450 gigs of the ancient drive within the new one without a problem.

Ever since I managed to set up fedora and GNOME 3 as I would like it, I've been trying to setup the network sharing via Samba, and that's a genuine 4-day long headache now.Thing is, yesterday, it worked. After setting everything right, creating an automount of the external HDD in a maybe-too-much permissive folder, allowing Samba through the firewall, getting to know that buddy called SELinux I had never met before and which I struggled to tame ; after setting everything up, it worked seamlessly, I streamed music from the Windows PCs of my network and began watching a film.

Except I had a problem which had nothing to do with Linux: letting the USB drive plugged in on startup prevented the BIOS phase from going well, and my station was stuck on my motherboard splashscreen. To fix this, I had to disable the USB Legacy in my BIOS. Did the trick. Yesterday night, I rebooted like that, and everything was fine.This morning, Fedora wouldn't boot. Since the new BIOS parameters didn't switch the drive on on startup, fstab was trying to mount a drive which wasn't there, and thus crashed, switching to emergency mode.Had to remove the ftsab line concerning the USB drive for Fedora to boot again.

Alrite, that's fixed, I thought ; I just changed the fstab options adding noauto,user, etc. and I thought it would be ok, but it ain't.It's now been 3 hours without me finding any clue as to how to get this working.

IMO, the problem comes from the fact that Samba is missing the right to access the drive. Samba seems to be OK: from the Windows station I can see my Linux station on the network map, I can access it entering the Smbuser I created for this, and the "ext-hdd" dir is present (that's the alias I used in the Samba config files), but when I try to access it, Windows says it can't access it.

I'll try to add as many pieces of information as possible that might be useful:

SELinux config:

Code:
[norfen@norfens-station ~]$ getsebool -a | grep samba
samba_create_home_dirs --> on
samba_domain_controller --> on
samba_enable_home_dirs --> off
code....

View 7 Replies View Related

Fedora Servers :: Connect To Samba Server ( Share ) From Windows Xp?

Mar 31, 2009

if i try to connect to my samba server ( share ) from my windows xp ( or vista, i've tried both ) it says, that the network share cannot be found. i've installed all necessary rpms on my fedora 10, necessary for running a samba server:

Quote:

[root@********* samba]# rpm -qa |grep samba
samba-common-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
samba-winbind-3.2.8-0.27.fc10.i386

after that, i've configured the smb.conf file, as follows:

Quote:

[root@*********** samba]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
workgroup = GROUP

[code]....

there is no iptables definition, or any other firewall installed, neither on the server nor the client. i've read through alot of howtos an manuals, but was not able to find the problem.

View 14 Replies View Related

Fedora Servers :: Samba Share When Selinux Is In Permissive Mode?

May 13, 2009

I don't think it has anything to do with the config file. More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinux is on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.

Here is the output when I ran [root@fileserver /]# getsebool -a | grep smb
allow_smbd_anon_write --> on
smbd_disable_trans --> on

These two options were off I tried turning them on.

This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.

[root@fileserver /]# getsebool -a | grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> off
samba_export_all_ro --> on
samba_export_all_rw --> off
samba_share_nfs --> off
use_samba_home_dirs --> on

I can also post a copy of my smb.conf file too.

View 1 Replies View Related

Fedora Servers :: Access Samba Share By Hostname From Win7

Mar 13, 2011

Running samba-3.5.6-71.fc14.x86_64. Why cant I access samba share by short-hostname from win7. When I ping short-hostname, the answer is the actual ip and short-hostname.mydomain.com

sa pinging short-hostname does work, but accessing it from start-run does not! Accessing by ip or short-hostname.mydomain.com works fine. ssh by short-hostname from win7 works fine too.

View 14 Replies View Related

Fedora Servers :: Samba PDC / Wins Proxy To Allow Share Across Networks

Mar 23, 2011

My Fedora router has three nic's, one for the internet, one for lan and one for the wireless network, which uses hostapd. I have set up samba in order to enable windows file sharing from wireless lan to wired lan. Using the samba documentation I have enabled the wins server and wins proxy which should allow met to browse the shares across the networks, which theoretically should do the trick but it doesn't work as expected. I can see the pc's from the other network using windows neighbourhood, but as soon as I access one of them it fails saying that "network path could not be found" or something like this. Tried using windows 7, windows xp and linux for browsing but the result is the same. As firewall I have shorewall and the samba specific ports are enabled for both networks. How to setup samba for inter-network browsing?

I have attached the global config section from smb.conf file:
Code:
[global]
server string = Samba Server
interfaces = eth1, lo, wlan0
bind interfaces only = Yes
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50 .....

View 9 Replies View Related

Fedora Servers :: Cannot Connect Win7 And Mac0S 10.6 Computers To Samba Share

Jan 3, 2010

I just recently constructed a computer to create a nice Fedora Linux server to replace a Mac Mini server that I have been using for a few years. I'm attempting to create a Samba share for my machines, a Windoze 7 machine as well as a couple MacOS 10.6 machines. I've set up Samba, started the service, allowed Samba in the firewall, and used system-config-samba to set up a share with a user. I created a User called "space", and a share /media/peliculas/Movies (a mounted hard drive). When I type in \IP_ADDRESS in the address bar in windows 7, I get the option to log in. I log in correctly and I see two directories "space" and "Movies." Unfortunately when I click on one of them I get the following error message:

Windows cannot access \IP_ADDRESSMovies Check the spelling of the name. Otherwize, there might be a problem with your network. To try and identify and resolve network problems, click Diagnose. I also get something similar when I attempt to connect with my mac machine. Using "Connect to Server" I type in: smb:\IP_ADDRESS, and login, I have the option to mount "Movies" or "space." If I select any of these, I get the following error message: There was an error connecting to the server "IP_ADDRESS." Check the server name or IP addres, and then try again. If you are unable to resolve the problem contact your system administrator.

Also, if I type 'smbclient -U space -L IP_ADDRESS' I can see the "Movies" in the "Sharename." At this point I'm not sure what else to do, and have been trying to figure this out for the last few days (losing sleep due to being baffled). The only thing that I can think of is that I have something wrong with the smb.conf file. Here is what it currently displays:

Global Settings

workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50

[code].....

One last thing, when I check the log files, there are error messages that state: smbd/service.c:1009(make_connection_snum) '/home/space' does not exist or permission denied when connecting to [peliculas] Error was Permission denied --Windoze 7 and MacOS 10.6 log files

View 5 Replies View Related

Fedora Servers :: Special Permissions For Running Windows Programs Off A Samba Share?

Feb 24, 2009

I've got my Samba shares up and running. I can stream files from the server, I can create files on the server, and I can copy files from the server.

Running a Windows program (from a Windows box) directly from the Samba server, however, is turning into a nightmare. I'm getting Access is Denied errors from the Windows box, yet I can copy/create/etc from the entire directory with no problems.

Are there any special permissions I need to run EXE files from a Windows box, located on a Samba share? I've already chmod'd everything to 777, and I show full access when ls -Z is used.

View 2 Replies View Related

Fedora Servers :: Setup A Samba Network Share With A Directory Server Backend?

Feb 24, 2009

I'm trying to setup a Samba network share with a Fedora Directory Server backend. This will be used primarily for Windows users to authenticate before accessing the share. I am using Fedora Core 10 and have all of the latest updates installed. When I try to connect from a Windows machine, I am prompted for a username and password. I enter the username and password of the account I created in Fedora Directory Server in OU=People. The credentials are rejected. At the same time in the log file I see this:

[2009/02/24 16:50:16, 3] auth/auth_sam.c:check_sam_security(282)
check_sam_security: Couldn't find user 'Administrator' in passdb.
[2009/02/24 16:50:16, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER

Administrator is the user I created in Fedora Directory Server. If I perform an ldapsearch it will find the user as uid: Administrator so I know it is able to be looked up in FDS. But I'm guessing that's not the problem.

[Code]...

View 4 Replies View Related

Ubuntu Networking :: Samba Configuration - How To Share USB External HDD

Mar 14, 2011

I am trying to share a USB external Hdrive from my ubuntu install to my windows systems (win 7 and 1 win xp) Everything seams to be working.. as in I can see the computer in "network" from windows explorer.... The problem is no matter what I do I can not seam to browse onto it or even type in direct share locations....

EG: //Zbox/HDMedia

or just browse through the Zbox computer icon that appears in my "Network" window in explorer. I have "sudo chmod 0777 /media/HDMovies"I can see it in the win7 Network window.. I assume it is some setting for security...I am on a home network and not very security conscious. I just want it to work.

View 9 Replies View Related

Server :: Common Share Drive In Samba?

Aug 13, 2011

I am using Cen OS 5. I have configured Samba server on it. I create a accounts suppose tom and 2nd is jarry in my samba server and map it in my windows xp computer as P drive (Private Drive) where the users can access their home directories. When tom tom enter into own account he can access his own home folder and same position with jarry. I want to create a common share drive using samba where all samba users can keep their data with their respective folders normally s drive i.e share drive. They can create file and folders and even all users can access the files of each others. Like tom can access jarry files and jarry can access tom files or folders to share their office work with each others.I want to know is it possible in samba to create a common share drive where all users share their files each others.

View 3 Replies View Related

CentOS 5 :: Map Drive To Samba Share From Windows?

Apr 18, 2011

Below is my samba config. Is there anything that appears obviously wrong?

Why can't I map a drive?

from a windows 7 x64 workstation:

The network path was not found.

View 9 Replies View Related

Ubuntu Servers :: Can't Share External HDD

Aug 25, 2010

Im running Ubuntu 10 desktop. Im trying to make it my fileserver for my windows laptops. The computer im using only has a 40GB HDD so I want to be able to share my 1TB external HDD. I cant get it to work to save my life. I read another forum from a guy trying to do something similar but it still wont work.

I reformatted the drive to ext4, added it to fstab and gave it 777 permission but windows still keeps giving me an error thats saying there might be a problem with my spelling or a problem with my network?

View 9 Replies View Related

Ubuntu Networking :: Share Files On External Drive?

Apr 7, 2011

In ubuntu 10 when i want to share a folder just go to that folder right clic>sharing options. Activate: share this folder Allow others to create and delete files in this folder Guest access (for people without a user acount)click on Modify share button in other computer I go to Places>Network doble clic in the computer with share folder, double click in the share folder, and I can access to the files

If the share folder is in the internal hard drive all runs good, but if I share a folder in a external drive, when i go to places>network doble clic in the computer icon, i see the share folder BUT when I made doble clic on to open it 'Unable to mount location Failed to mount windows share'

View 9 Replies View Related

Ubuntu :: Share NTFS External Hard Drive?

Apr 18, 2011

I've been searching for a way to do this with no luck. I've got a 1TB external hard drive I used to share over the network from my Windows desktop -- which is now a Ubuntu desktop.I've tried setting it up as a samba share, and the closest I've gotten is mount error(12): Cannot allocate memory. I've tried the suggestions (editing /etc/security/limits.conf), and that removed the warning I got from testparms but didn't fix the mounting on my mythtv box.

View 1 Replies View Related

Ubuntu Networking :: Can't Share (samba) From NTFS Drive?

Sep 15, 2010

I managed to install samba and it's GUI. I tried to share a directory within the pictures folder (at home/mark/pictures/share) just as a test. I had everything set up right, but it was inaccessible from a windows XP machine on my network. After some digging I found the problem lay with the permissions of it's parent folder. I right clicked on the parent folder then clicked properties, then clicked on the permissions tab. I changed the permissions for others and it's working fine.

I'm having the same problem now but with a share on a NTFS drive called storage. I cannot change the permissions for the shared folder or any of it's parents by right clicking. Any changes I make revert immediately back to their previous setting. Is there any way to change the permissions to allow read access to everyone?

View 9 Replies View Related

Ubuntu Servers :: Samba Won't Share Second Harddrive?

Jun 20, 2010

My first post, and I'm an Ubuntu n00b. But I've done a lot of reading and still can't seem to get anywhere with this. First of all. I know that I've set Samba up correctly because I can create a share in /home/documents which is mounted on my primary hard drive /dev/sda1, Windows 7 can access it no problem. But, when I try to set up a Samba share on my second hard drive /dev/sdb1, Windows 7 cannot access it. I've mounted the share in /media/Share The error I get in Window 7 is: " Windows cannot access \HOMESERVERData Check the spelling of the name. Otherwise, there might be a problem with your network."

My first thought is I must have the hard drive mounted or formatted incorrectly, but I can't find anything on this forum to tell me otherwise. I feel like I need to restart the process of this Samba set up. Can someone please guide me through: reformatting sdb1, mounting sdb1, setting up my smb.conf, fstab, and any other config files required to use my second hard drive as a Samba share?

View 6 Replies View Related

Server :: How To Share External USB NTFS Drive On Home Network

Feb 1, 2010

share an external USB NTFS drive on my home network. The drive is attached to my desktop box running Debian Lenny. It's accessible on the desktop. I have a directory on the drive that I would like to make accessible to a Windows XP laptop. Read-only would be fine. The laptop has wireless access to the network.

View 8 Replies View Related

CentOS 5 Networking :: Get Samba To Share Files From Ntfs Drive?

Jun 12, 2009

The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?

View 3 Replies View Related

Ubuntu Servers :: Samba BDC With W2k8 PDC - Share Not Writable

Jan 14, 2010

I have a Windows 2k8 server acting as my domain controller. My goal is to have my Ubuntu 9.10 Server box share some folders via Samba, which should be authenticated via the PDC. So far, it seems to be mostly working. The Ubuntu machine has joined the domain, and is browse-able to domain users. The only problem at this point, is that the shares are not writable.

Code:
[global]
workgroup = smatech
netbios name = smalinux001
security = domain
idmap uid = 15000-20000
idmap gid = 15000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
password server = 10.10.10.2
domain master = no
local master = yes
[www]
path = /var/www
writable=yes

View 5 Replies View Related

Ubuntu Servers :: Samba Public Share Not Working?

Jun 25, 2010

Code:
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#

[code]...

View 5 Replies View Related

Ubuntu Servers :: Samba Permissions On Share Level

Oct 13, 2010

I'm trying to set up my samba server so that all the shares are visible to everybody but that some shares can only be accessed by certain users. I have a folder Video that everybody can access without a username or password. I now want to create a share that only I can access called webserver.

This is my samba.conf
Code:
[global]
dns proxy = No
netbios name = DATABOX
guest account = nobody
restrict anonymous = no
browseable = yes
server string = server
workgroup = WORKGROUP
public = yes
security = share

[Video]
Writeable = yes
Path = /media/data/Video
Public = yes

[webserver]
Writeable = yes
Public = no
User = malteser
Path = /media/data/Webserver

Windows does not let me enter a username or password. I'm pretty sure this used to work.

View 1 Replies View Related

Ubuntu Networking :: Share An External Hard Drive In My Wireless Network

Jul 2, 2010

I have two computers with ubuntu 10.04 installed. They both connect to the same wireless router. One computer has an external hard drive that has music, pictures and some documents. another thing, the hard drive has been formatted to ext4. I would like to be able to access that external hard drive from my other computer. I read some post on how to connect to the server through ssh but i think it's the intruction are too old. I tried nfs for server/client, but couldn't set it up, it was a little complicated.

View 1 Replies View Related

Ubuntu Networking :: Samba Can Share Mounted Thumb Drive But Can't Write?

Sep 6, 2010

so after searching and reading, and searching some more, im stuck. i cant seem to get a mounted thumb drive to give write access. first thing to know is that, im using a seagate dockstar with a primary thumb drive[sda1] booting debian and samba.

i guess you could say im still in the testing phase, just trying to make sure files can be shared, mounted and accessed by users. the problem is stated as the title. i have successfully shared a folder in sda1 with rw access, but i cant do the same for the second drive[sdb1].

for sda1 with rw access, here are the smb.conf settings:

Code:
[shared]
path = share
available = yes
valid users = mark

[Code]....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved