Fedora Networking :: How Do I Setup Samba Sharing
Mar 16, 2009IM completly new to fedora but decided to give it a try after using ubuntu for a while,I have everything setup apart from sharing and im been fiddling for a while now.
View 1 RepliesIM completly new to fedora but decided to give it a try after using ubuntu for a while,I have everything setup apart from sharing and im been fiddling for a while now.
View 1 RepliesI want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
I've got a problem while sharing file through samba.
My smb.conf is here:
Then i restart my smb service, and i found the 'shared' folder on windows, but I can't access it.
Its an absolute failure for me. No matter how i try, i cannot see my samba-shared folders in a Fedora machine from another Fedora machine. Both has FC15 installed, networked through WiFi. Tried everything from this forum, (install samba, start samba service, configure samba) but cannot see my shared folder. In Windows it works fine (I can see my WIndows shares from a Fedora laptop, but i cannot see my Fedora shares from a Feroda laptop. Why it is always so difficult to have a simple facility in Linux?
View 4 Replies View RelatedI am trying to setup samba to allow file sharing to: /home/kris & /var/www
I am trying the command smb://192.168.*.* from my MacBook & \192.168.*.* but when I enter "kris" & password: "******" it keep's on coming up "Incorrect Username &/or Password"
Here is my conf file:
Code:
[global]
workgroup = homegroup ;put your own workgroup name here
netbios name = intranet ; this should be your own too
server string = Intranet in Kris' Room.
; hosts allow = 192.168.1
[Code].....
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....
I have a Lucid server with several external (eSATA) NTFS formatted drives. Right now, I'm sharing everything through Samba and administered through Webmin. Partly because I'd like to play with it and learn more and partly to see if there's any appreciable difference in overhead and speed, I'd like to try out NFS.
My question is, can the two sharing schemes (NFS and Samba) coexist on the same box peacefully?If not, I can rid of Samba and go with NFS, but I'd rather give it a shot first.Plus, some of the clients are Windows machines, so I'd have to install the SFU tools in order to get an NFS client on them.
I recently installed ubuntu on one of my computers and am trying to get all my sharing worked out so I can access stuff with my windows machine. I'm still very stupid when it comes to linux.
Setting up sharing with Samba, I got my /home/user/media folder to share just fine. However I made a folder located on my second drive that I would like to share.
I have this entry for it in my smb.conf
Code:
[80GBshare]
comment = /media/Sifl_80GB/Shared/ folder share
path = /media/Sifl_80GB/Shared
[Code].....
the second drive is mounted on /media/Sifl_80GB and it was formatted as ext4.
My windows machines see the 80GBshare entry but I get the error "network path not found" when I try to open the folder. Does this mount need to be listed in my fstab for this to work correctly? I'm noticing something in the comments of the smb.conf for auto-mounting a cdrom drive when a cdrom drive is accessed by adding a fstab entry, so I'm wondering if this needs to be done with my second drive?
I am running OpenSuse 11. It runs Apache webserver and Samba for filesharing. I am also running webmin. Everything works 100%. I have 2 shared folders that can be accessed by everyone. My question is how can I log in to the shared folder from a windows machine when I set the permissions for only a certain user to log in. My system hostname is Linux.site and my user is henk. I am not sure how I need to log in that way. Should the username be Linux.sitehenk ...
View 1 Replies View Relatedmy main computer hostname is home, and the others are ubuntu and eduardo.In home, I try to configure samba, downloading it with "sudo apt-get install samba" and then downloading at the synaptic manager the samba-common-bin thing.I shared my folders as ROOT in home and I cannot access from ubuntu and eduardo.Then I googled and I found this site: Quote:URL]Well... I follow all steps and I can't access these files.What I need to do to share files between these computers???
View 9 Replies View RelatedI am at a total loss. For all intents and purposes - sharing files over a lan without a password between this ubuntu 10.04 machine and my wifes laptop (windows 7) should be trouble free. I've installed samba, and created an smb.conf file in /etc/samba
Code:
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = oak
security = share
[Code]....
I want to note that I was using Arch Linux and this exact setup worked flawlessly. Why on earth would it not work the same in Ubuntu? Is it not the same Samba?
I've been trying for what seems like forever to share a single directory with only two authorized users and I just can't get the permissions right.
Running Ubuntu 10.04 desktop as home file/print server.
Two users: chris and gretchen
Directory to share: Music
Music resides in chris' home folder.
I'd like to have full access for these two users and no access for anyone else. The challenge is that the best I can get for gretchen is read-only. What i've done so far:
Created user accounts for each
Created Samba accounts with passwords for each
Created a group called "family" and added chris and gretchen to it
Assigned the family group to the Music folder.
Shared the folder giving read and write access to family group.
chris seems to work ok but when gretchen access it from her snow leopard laptop she can't create a new folder. It should be noted that chris is also the admin account.
I have a parallel printer working on a desktop. I want to share it with my laptop, but I don't want to have to use samba. Both have ubuntu 10.04 installed.
I'm sure it can be done, but I'll be darned if I can find anything in the skimpy admin. tools.
I finally have my ubuntu up and running. I have a USB-drive which is often connected to my Ubuntu-machine. I want to share this via Samba but I can't set the user-rights. If I try to acces the file (via windows machine) I can see the directory but if I open it it gives me: \Computermediadirectory is not accessible. You might not have permission to use this network resource. I tried setting the rights but it just 'changes back immediately'. I found some posts about not being able to set rights via ubuntu on a ntfs disk. If I mount it via fstab it will give an error when the USB-drive is not connected. So that's no option. Is there a way to share this drive via my Samba server? I did get access to a partition on my linux-machine, to I assume my samba-settings are correct.
View 2 Replies View Relatedsharing the home directory of my mediacenter pc.I run xubuntu 10.04 on this machine, so I had to write my own smb.conf file:
[global]
workgroup = ReteDomestica
netbios name = MEDIASERVER[code]....
On my desktop PC (ubuntu 10.10) I can see the home folder of the mediacenter, but I cannot open it (unable to mount windows share) Where's the mistake?
I have a Samsung CLX 3175 connected via CUPS to a Ubuntu box running 11.04. After installing the Samsung Unified Printer Driver as described in this post [URL] the printer works perfectly under Linux, I even got network scanning to work under Windows via TwainSane.
The big problem is network printing from Windows over Samba, though (although I thought that this should be easier to set up than scanning..). Even after hours of trying, I could not get it to print a single page spooled from my Windows computer.the print jobs do show up in CUPS as finished, but do not actually get processed. Could this be a rights-related thing? Depending of one setting in smb.conf (namely, "cups options = raw"), the printer even makes some noise and warms up when I spool a new job -- but it does not print.
My setup is the following:
- CUPS in the current version with Samsung Driver
- Samba 3.5.8
- Windows XP and 7 clients
[code]....
I am using ubuntu 10.04 .I tried to share my files on windows network using samba , I changed theworkgroup name in samba configuration file ..but it dint work for me will you please tell me the exact procedure to share the files on windows network ..
View 7 Replies View RelatedI've enabled Samba share on Fedora firewall... now i can view the shares on Windows Computers on my network but Windows PC can't see my shares on Fedora...
Also my wireless Router/Modem (D-Link DSL G604T) reports the names of the Windows PC connected to it but names my Fedora Machine as unknown...
I have tried to set up file sharing using ssh, samba with no luck. I now have it set up using NFS the only thing is it is just one way and I need it both ways. I was wondering if I installed the same packages on the other pc if I could make this work both ways.
The command I used on the first pc was:
sudo apt-get install nfs-kernel-server nfs-common portmap
And on the other pc the command was:
sudo apt-get install nfs-common portmap
Or is there a better way?
I set up a Ubuntu Server for my home network to share among Win XP and Ubuntumachines.Initially everything worked fine with all Win XP machines being able to share files on the server; however, after I installed and setup SSH between my Ubuntu machines and my Ubuntu Server I now cannot share and/or even see my Server directory from Win XP or Ubuntu machines through the Samba.I have tried for 2 days to figure out the problem without success.Did I break something while setting up the SSH? How can I fix Samba?Here's some things I have setup or tried so far:1. Samba users are setup and were working previously.2. Samba share drives were setup and working previously.3. I can see the Server using SSH or SFTP from my Ubuntu machines.4. I have gone over the Samba config file numerous times5. I am administering Samba on the server via the terminal and Webmin
View 9 Replies View RelatedI have internet on my ubuntu machine (eth0) I am sharing with (eth1) My windows computers are getting IP addresses via DHCP from the Ubuntu Machine, and I can see (and use) samba/windows shares on all computers.Internet connection is not working on any of the windows computers. I have eth1 set to "shared to other computers" under the IPv4 settings
View 5 Replies View RelatedI'm running 10.04 server on a Mac G5 with 2 network interfaces, one pointing to my network (192.168.0.x) and the other to a local partner network (192.9.100.x) with which we share a network volume to give/take PDF files.My client environment is MAC OS X (from 10.4 to 10.6) and until now only one client (with 2 nics) was connected to that volume: we don't have layer3 switches to do static routes over the two networks, so I decided to use my Ubuntu Server Mac to do this (it's also my new syslog server...).
Nics are configured correctly, and the local share (192.168.0.x) is well seen by everybody.But, when I mount the remote volume (192.9.100.x) to THAT shared folder, nobody is able to connect to the samba share (that now lists the remote volume directory...). The MAC OS X tells "unable to unmount the volume". IP forwarding is also activated on /etc/sysctl.confHere is a part of my smb.conf file
#======================Share Definitions ====================
[TERA]
comment = Tera Condiviso
[code]....
I want to share a directory between two fedora 12 KDE boxes, peony and dandelion. I have set it up as simple as I can ('share' level security), but it just doesn't want to play. Any idea what might cause this error? I can ping the server ok, using hostname or the IP as shown here.
View 6 Replies View RelatedTrying to set up network sharing between Ubuntu 9.10 and Vista. I already did this with a wired Ubuntu 9.10 desktop and my Vista laptop but for some reason my Ubuntu 9.10 wireless and Vista wireless aren't as easy. They are all on the same workgroup "MAGIC" and I can see my ubuntu shares on the Vista computer but can't see the Vista shares on the ubuntu computer. In ubuntu I go to network>windows network>MAGIC but it times out at the MAGIC workgroup part and says 'unable to mount'.
[URL]
but no luck I also checked and there isn't a firewall that's in the way.
I can't share my /var/www folder on this machine - it worked fine on my Desktop, it just asked me to install the samba windows something.
What's going wrong with this.
Here is the error I get after right clicking and going to sharing and trying to share the folder...
Code:
I want to share folder in fedora 12 so that any windows user can access my folder (without modifying its content) and there should be no password to be entered by the windows user. I tried samba gui but the folder does not open using windows.
View 3 Replies View RelatedI have a similar problem. My ubuntu box is set up as a dhcp router for my Xbox360, my xbox can get ip and DNS information from the computer, but it doesn't seem to get the right info. The ip address it gets assigned is out of the range I've set in etc/dhcp3/dhcpd.conf.
View 1 Replies View RelatedI have a Netopia 3000 Series Internet Gateway [URL] & windows 7(laptop) & ubuntu 9.10.
- My laptop connects to it wireless and my ubuntu via ethernet cable.
- I am trying to setup file sharing and printing. How do I go about in making them ping each other? the networking side.
I logged in the router & check and windows has ip 192.168.100 & ubuntu has 192168.1.2
I'm trying to setup a mercurial code sharing server on an Ubuntu machine but I can't figure out how to get it running. I'm setting up this server on a LAN so I don't want any security. Another thing I should mention is that I'm using Netbeans to code in Java. how use mercurial and tortoise (I've got them installed).
View 2 Replies View RelatedI'm going to setup a File and Printer Sharing in my little home network... 3 Computers actively connected to the Web through a single ADSL2+ Wireless Router (number of Computers will increase later) At the moment 2 of the computers are running Fedora 10 and 1 running Windows XP...
Now i want to setup the 3 machines to use 1 printer which is connected to one of the Fedora 10 machines, and i want File Sharing to be enabled so each machine can easily view each others shared files and also be able to print when ever needed (ofcourse the machine with the printer will have to be on for the printing process to happen) I've installed Samaba on each Fedora Machine, enabled sharing but i dont seem to be able to view the Windows machine or each other....