I 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.
As you can (maybe) see, my entire /home folder is shared. For various reasons, I'd prefer it if only say my music and videos were shared, how do I do that? I've looked around the web and seen some other people's samba.conf files but mine looks totally different and I don't want to lose the functionality I have by messing around with it.
I attempted to share my ~/Videos folder using the Folder Sharing dialog when right-clicking a folder in Nautilus. It started to install but failed partially spitting out some error that I didn't bother to read/write down. It asked me to restart which I did. But now when reattempting to share the folder, I get given the following message: 'net usershare' returned error 255: net usershare add: cannot create tmp file /var/lib/samba/usershares/:tmp0BRWpm
I've looked around for a thread for this particular error, but I can't find anything specific to the "cannot create tmp file" issue. I'm assuming it's some folder permission issue. I tried uninstalling and reinstalling samba from the Ubuntu Software Center.
Win7 x64 host with Virtualbox installed running Ubuntu 32bit guest OS. I have Samba installed and I am sharing a folder to have read access from Win7. The folders I tried to share (here 'folder1-3') have been added in the conf.d in etc/samba/ like this - I used these 3 variants, all showed the same problem:
[folder1] path = /data/mp3 read only = yes guest ok = yes
While I can connect to all of these from Windows and map them in Windows Explorer, I am unable to serve those files using my FTP server that is running on Windows. The folders simply do not show up when I add them as folders to serve in FileZilla. The problem I am assuming is causing this is the fact that FileZilla is running as a different instance and not on an administrator level. I cannot however add any users to the permissions list on the Windows side. The 'security' tab of the mapped folder shows the following Users:
EVERYONE root (Unix user oot) root (Unix group oot)
None of these seem to have rights to 'read' or 'list folders', the only permissions listed are 'special permissions'. Does anyone know how I can assign the group EVERYONE privileges to read and list files and then be able to serve this shared folder through my Windows-run FTP server?
- OpenSUSE (Workstation configured to log in using Active Directory Information) - First Windows Server (Domain Controller) - Second Windows Server (Provide shared folders for users to use)
How do I map domain users from second Windows Server (like \windowsserverusers<user>) to a folder (like /home/<domain>/<user>/<user_personal_folder>) in OpenSUSE computer ? It should be via samba right? Trying checking something in /etc/samba/smb.conf but couldn't find anything.
I have just installed Ubuntu desktop and I am using this pc as a file server. I have already installed Samba and have it operational and viewable by my windows computers. Now the problem is that I have 2 hard drives and the way that I have Samba set up it is sharing my home directory which is wonderful but my windows computers do not have access to the second hard drive. I search for several hours this morning trying to figure out how to do this but cannot figure it out.
How do I get it to play movies? It needs all kinds of codecs apparently. Is there a good source for these?I'm running Ubuntu on another machine. How do I connect to THAT?I was able to use samba in Ubuntu to connect to my windows network. Will that work to connect Fedora and Ubuntu?I get this when I try to use sudo in terminal.is not in the sudoers file. This incident will be reported.How do I fix that and how can I log in as root? It won't accept my password even though I know it's right.
I'm on Ubuntu 10.10. I installed Samba and went Administration > Samba. Added a folder [Videos] to share (this folder is on an ext partition). I then went to the folder [Videos] Right+Click > Sharing Options. I selected 'Share this folder', I put in a name and comment, checked Allow others to create and delete files in this folder and checked Guest Access.
When I view this shared folder [Videos] from my Windows PC I can access it with no problems but when I try drill down into sub folders I get a permissions error. [Attached a screenshot of the error]. If I share each folder separately then I can access them but obviously I'd like to share a folder and all it's contents.
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.
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?
The problem is it won't. I have an Ubuntu (11.04) computer cabled to a Belkin wireless router. The Brother printer is usb connected to the Ubuntu box - there is no problem printing directly. However, I need to print from a separate wireless connected Win7 box to the printer on the Ubuntu box and this does not work.
The Win7 can see all other Win computers on the network, but not the Ubuntu. Answers at my level gratefully received (eg: it took me two weeks, many hours and 3 re-installs to get dvds to play on Ubuntu 10). Current printer sharing information on the internet is either hopelessly above my head or outdated.
my 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???
I 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
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 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.
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
I want to share home directories from two different machines so that I can log on to both using the same account.
One idea was to host the home directory on a server and mount it to a local directory. I don't think this will work though, because I'm pretty sure the directory wont be mounted until the logon session starts and I'm guessing it wont without the appropriate home directory.
So the question becomes, what tells the OS where the home directory is in the first place. Yes it's in a default place but that path as to be stored in some config file somewhere right?
But another problem is... If the server goes down, I'll have to make sure I can log on via root at the logon screen/get into a terminal/use LiveCD to get access.
It wouldn't be too much of a problem to create an account on each machine, all my media will be on the server anyway. But if I create an account on one, it would be nice if it was automatically added to the other. And it would be great for keeping settings if I want to do a compete wipe if I'm upgrading the file-system or something. I suppose I could just do a backup like everyone else..
I have several linux laptops and a desktop-server running Ubuntu Lucid. I also have Android(tm) and iPhone(tm) devices. All of these connect to my at-home LAN using wireless or wired ethernet through my home-LAN router+gateway and on through the cable modem. In addition, printers are network capable and deployed on the same at-home LAN. All of that works.
Now I want these various and several computers to share files and services (web, print, media) with each other and interact with each other on this same at-home LAN. Can someone point me to a HOWTO or similar application notes that discuss what I need to do? Since all of the at-home LAN devices use DHCP and get dynamic IP addresses, any /etc/hosts files that I create stop working when leases renew. I can configure "fixed IP address" settings, but then wifi roaming is a royal pain in the anatomy -- at least the ways I know how to do this.
I can use the router+gateway to give a specific IP address to each hardware (MAC) address, but then when folks visit it is irksome to setup so that we might give or get the odd file or they might print the odd document. I vaguely remember that there was a way to generate dynamic "local network" host names or similar attached to dynamic "local network" IP addresses all under the control of DHCP-server and supporting utilities. I'm dashed if I can find anything about that other than really antique details. Once folks stop laughing at what I'm certain is a totally noob question, I hope that there is a solid HOWTO that just works out there and that some kind soul will tell me where to find it. I apologize in advance if this question has been asked and answered in the past. One must know enough to know what to search for and get meaningful results. ~~~0;-/
Ive managed to install samba, I've shared a folder. I can access from a Windows 7 machine via \ubuntupublic. I can put files in the folder form the ubuntu machine and edit them on the windows box. I can put files in the folder/share from the Windows box but then I cannot edit them on the Ubuntu machine (they are read only and have a "Lock" over them). I can fix this by going to the properties of the file/folder in Windows and manually assigning "Everybody" full control (then the lock disappears and all is well.) I want read/write access to all the folders contents from both machines all the time (security is NOT a concern I WANT the permissions wide open) what am I doing wrong?
I keep having failures with samba mainly that each day the /var/run/samba folder seems to dissapear so Samba doesn't start, normally I can just add the folder back and samba will start and work ok but today it fails.Does anyone know why this folder may just dissapear and if there is something I can do to get Samba working?
Ever since I had a hard drive that had an unexpected mechanical failure 2 years ago (& had to pay $1400 to have the drive pulled apart in a vacuum & copied), I've been understandably paranoid about ensuring I keep multiple up-to-date copies of my hard drive.Currently, I'm running 3 computers- The TV Computer, my Wife's Computer & my Main Computer. A second hard drive in the Main Computer & an external hard drive both act solely as backups for my Home folder. The TV Computer & my Wife's Computer also keep an identical Home Folder to my Main.I have ssh installed on all computer's & have made bookmarks via the Places Menu's 'Connect to Server', so obviously it's very easy for me to exchange files between computer's...
My problem is this; Every time I save/download/change a file, I have to copy it to 4 other hard drive's. It's kind of annoying.Can anyone suggest some ways for me to save some time with this? It's a wired network with static ip's. All 3 computers are pretty much turned on 24/7.I'm open to middle-of-the-night scheduled type of thing or whatever.
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 ...
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