Ubuntu :: Samba - Sharing Home Directory - Access The Second Hard Drive

Nov 28, 2010

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.

View 7 Replies


ADVERTISEMENT

Ubuntu Servers :: Samba Home Directory Sharing In Different Location?

Sep 29, 2010

I have 10.04 and have samba running.

Samba is remotely administered with webmin and aim to setup home directory sharing. I am however having some trouble getting this to work.

I was of the understanding that home directory sharing allows me to create a user in ubuntu, which samba will then pickup and offer it up as a share.

My smb.conf looks like this..

Code:
#======================= Global Settings =======================
[global]
unix extensions = no
share modes = no
security = user

[Code]....

Essentially I've found this works providing I give the samba user a password after it is automatically created using the 'Configure automatic Unix and Samba user synchronisation' option in webmin.

However if I move the location of this home folder off the main drive i.e. /home/username I get turned away at attempted login.

I've tried specifying the path in [homes] using the path = /media/discarray, but this seems to break authentication somehow.

View 2 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

OpenSUSE Install :: Using An SSD But Keeping Home Directory On Hard Drive?

Jun 14, 2011

I have a dual boot windows XP/OpenSuse 11.3 system running from a hard drive. They are both 32 bit in spite of the fact that the system can run 64 bit.

I would like to upgrade to Windows 7 64 bit (the wife insists, not yet a Linux possibility) and OpenSuse 11.4 64 bit, but having the programme files on an SSD for faster loading, with my data files on the existing hard drive.

I'm happy with the notion of getting the SSD going as a dual boot system. With Windows, as I understand it, it can tell it fairly easily where to look for the "my documents" folder on the hard drive.

However, the Home directory in Linux is not quite the same. How (if it's possible) could I run the SSD but use my existing Home directory on the hard drive?

View 9 Replies View Related

Fedora Networking :: Unknown Samba Password - Use Samba For File Sharing Like On A Windows Home Network

Jul 17, 2010

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.

View 2 Replies View Related

Ubuntu Networking :: Sharing Home Folders (samba)?

May 29, 2011

sharing 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?

View 1 Replies View Related

Ubuntu :: Samba Sharing Single Directory Not Subs?

Jul 28, 2010

I have samba set up and working quite well, but I have several shared directories containing multiple directory trees, and for some reason the sub-directories of the shared one are not shared.Is there a way do set them to shared automatically rather than having to go through and set share for each and every one?

View 4 Replies View Related

Ubuntu Networking :: Sharing The Samba File / Directory?

Aug 1, 2010

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.

View 3 Replies View Related

Server :: Setup Samba To Allow File Sharing To: /home/kris & /var/www

Feb 11, 2011

I 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].....

View 15 Replies View Related

General :: Sharing A Home Directory On CentOS Box?

Jul 17, 2011

To be clear: I searched and used the button above to find similar topics, but my solution wasn't there.

I was very busy with work the past months, so my quest to become a Linux Crack hasn't borne too many fruits yet So I am still a ...

So here is my problem:

I have 3 users on my CentOS VPS:

root
user1
user2

For security reasons I only log on via public key, root access is denied. Admin is user1. user2 is a regular user.

I want user1 to be able to additionally access user2's home directory, when I log in via SFTP using FileZilla, because occasionally I want to move files from user1's home directory to user2's home directory. But I need user2 to still be able to connect to his home directory via SFTP, too (everything I tried up to now always "breaks" his account).

How do I do that?

user1 is in the wheel group in order to be able to become root if necessary.
user2 is in the user2 group.

I tried adding user1 to the user2 group, but that alone doesn't seem to give him access to user2's home directory.

I know this must be about rights and permissions, maybe group permissions? I sit on it about 8 hours now and don't see no light at the end of the tunnel. When I think I got it I suddenly can't log in with user2 anymore (neither PUTTY nor FileZilla).

View 4 Replies View Related

Ubuntu Networking :: Can't Access Samba Sharing Between 3 Computers?

Mar 31, 2010

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???

View 9 Replies View Related

Ubuntu Networking :: Sharing USB Drive (NTFS) Via Samba

May 12, 2011

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 Related

Fedora :: Samba Sharing For F12 Folder Access In Windows

Mar 29, 2010

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 Related

General :: Samba Server Asking Password When Access Sharing

Apr 3, 2010

I have just configured samba and it is working fine, the only problem that i have face when i go to access some sharing on samba server it asking me about password but the problem is that its username option is embossed. By default it will login as guest but i dont know the guest password.

View 1 Replies View Related

General :: Access Directory Outside Of Home Directory?

Apr 13, 2010

I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?

View 7 Replies View Related

Ubuntu :: Sharing Files Off A External Hard Drive Over A Network?

Jan 8, 2010

when I try to share files off of my external hard drive over my network; it says it is shared on my ubuntu machine but when I try to access the file on my windows machine it says I do not have permission.

View 9 Replies View Related

Hardware :: NTFS - Sharing Hard Drive Between Windows / Ubuntu?

Mar 13, 2009

I've got a SATA drive (formatted as NTFS) I share between an XP machine and an Ubuntu machine. From Ubuntu, I never write to the drive... I only write to it from the XP box. So, I am wondering about a couple of things:

- If I do write to it from the Ubuntu machine, will that create any problems. By that I mean, if I add, rename, edit files from the Ubuntu machine, will that negatively affect anything?

- If, from the Ubuntu machine, I set perms on the files and folders on the drive, how will that affect things when I plug it back into the XP machine?

View 1 Replies View Related

Fedora Servers :: Encrypting Home Directory Shared Over Samba?

May 6, 2009

I am looking into encrypting some data on a Fedora samba server. I'm not entirely sure the best way to do this. The server is currently running Fedora 5 but it can be updated if necessary.

I would prefer if the server could be booted up and that no interaction at the server itself have to be done so that users can access their shares.

Is there a way for the data to be encrypted on the server but when the user access the share over samba that it can be accessed?

The research i have done so far seems to point towards methods more intended for a desktop setup. Such as entering passwords at bootup or when opening folders.

View 1 Replies View Related

Networking :: Unable To Create Samba Account In Home Directory Machine

Jul 15, 2010

I'm not able to create Samba Account. it is showing the error message as below

Failed to initialise SAM_ACCOUNT for user <username>. Does this user exist in the UNIX password database ?
Failed to modify password entry for user <username>

Unix accounts are created in Corporate Office, which is in US. We had a dedicated link from our office to US office. Now this link has been disconnected & now we have a VPN connection through internet to US Office. there is a firewall on both the sides. While creating samba account i tried to give netstat command & i saw it is trying to make a connection to the Unix Server at US, but the connection is not getting established it is showing SYN_SENT.

The port from the Home directory server trying to connect to the Unix server is connecting using Dynamic port but the Unix server port it is showing as PORTMAP. Network guys are not opening all the ports in the firewall. Kindly let me know the DESTINATION PORT that the home directory server is trying to connect to Unix Server, so that i can ask my network guys to open that perticular port. So that i can create Samba account to the users.

View 1 Replies View Related

Ubuntu :: Capacity Of /home In SAMBA Drive Not Showing?

Jul 8, 2010

I have a Lucid Lynx server running with a 6 GB for /home and a data partition of 400 GB mounted inside home (/home/user/data). The data partition is shared through SAMBA for access by other windows machines on the network. However, the capacity of the samba share shows up only as 6 GB (or less) while the actual capacity is 400 GB. I am assuming that this because it is mounted within the home partition. I understand that 400 GB is still available even though the SAMBA drive shows only 6 GB (or less) capacity.

The problem is, I am trying to setup Windows 7 Backup and Restore on one of my laptop. The backup stops with an error that the network drive does not have enough disk space. I think that this is because the samba drive only shows up as 6 GB or less capacity even though it can store more.

How do I fix this problem? How can see the actual size of the SAMBA drive (in my case 400 GB) in stead of the remaining space in /home partition? I know I can reformat my drive and make my /home 400 GB. But I am not sure if this will fix the problem. However, I will prefer to this without formatting.

View 1 Replies View Related

OpenSUSE Network :: User's Home Directory Saved In Samba Server Not Locally

Mar 27, 2011

Continuing with my assigned task of migrating the company's PCs to GNU/Linux (openSUSE as server for GNU/Linux clients) I managed to set up a DC with roaming profiles for the few remaining Windows users, user validation and login for the openSUSE boxes and a few network shares with different rights. I know there are no roaming profiles for GNU/Linux and I can live with that but I would like to specify wich users/groups would have their home directories saved locally (notebook users) and which will save them on the Samba server.

By default home directories are saved locally but somehow Samba creates a minimal home directory for each user under /home in the Samba server. How can I tell the client box to use that directory? and how can I set up the few notebook users to save it on their disks? Maybe using the options under Yast > Security... > Users and groups management > Users (LDAP Users filter) > and then select the user and use the "Manage Samba account parameters" plug-in for specifying the different paths cant achieve this.

View 4 Replies View Related

General :: How To Let Others Access Home Directory

Jan 20, 2010

I grant read privilege to all the users to my .vimrc file . But my colleague still can't read my .vimrc file . I guess in addiction to give the read privilege to the .vimrc file, in some way I should give the person who want to read it the "access right" to my home directory first---which I don't know how to do it.

View 3 Replies View Related

Networking :: Samba Config - Cannot Access Share On Home Network

Sep 1, 2010

I've used Samba for several years and when it works it's great. Unfortunately from time to time it seems to get messed up and either all the 7 machines on my home network can't be seen or I can't access the shares on some. I have 2 Windows XP computers 4 Kubuntu and one Linux Mint KDE, all the latest versions. I'd rather not plough through all the documentation for Samba, but would really like a "model" smb.conf with a few comments about parts that might have legitimate variants. I have researched this with Google searches many times but have failed to find the information I need in concise form.

View 4 Replies View Related

Ubuntu :: Access To Ntfs Hard Drive(Drive #2 That Is)?

Oct 7, 2010

I want to load ubuntu on my home pc. I have two hard drives but not have enough dvd's to back everything up on #2 hard drive. If I load ubuntu on drive 1 can I get in two drive two?

View 2 Replies View Related

Ubuntu Installation :: Can't Access The Encrypted Home Directory

Apr 21, 2010

I tried upgrading to 10.04, and now when it boots it just goes into a grub2 terminal and doesn't display a boot menu. I tried re-installing grub2 from the live cd, but that didn't do anything. I figured if I've hosed the last install I'll install from scratch, but I can't even access my files from the live cd! I did a bit of searching and everyone seems to just encrypt ~/Private, whereas I've encrypted the whole home directory. So much for security... In the live cd, it has a readme.txt and says to type "ecryptfs-mount-private" to access the files, but it just gives the error "ERROR: Encrypted private directory is not setup properly". What do I do?

View 3 Replies View Related

Ubuntu :: Unable To Write Access To Home Directory

Jun 27, 2011

kernal 2.6.38-8 After updating Kubuntu-the log in screen will not progess to the desktop. It freezes and then shows the message "no write access to the home directory.." Goggling the problem - references to an .ICEauthority in my home directory are mentioned as linked to this problem. However "ls -la /home/charles" reveals that there is no .ICEauthority file present.

View 6 Replies View Related

Ubuntu :: Adding New Hard Drive To /home?

Feb 21, 2010

I ran out of space on my /home directory and added a drive. I've got it in my fstab file but how do I get Ubuntu to add the space to my /home? The line I put in fstab is:

/dev/sda5 /media/mynewdrive ext3 defaults 0 2

View 2 Replies View Related

Ubuntu :: New Hard Drive And Home Partition ?

Oct 30, 2010

I have an existing install of 10.4 on a 320 GB hard drive without home in it's own partition. I have a new 500GB hard drive that I want to install 10.10 on. After installing 10.10 and making /Home on it's own partition can I copy the entire old home folder including the hidden files to the new home partition on the new hard drive so that all of my programs and files are saved. I don't have enough room left on the old hard drive to create and copy home to a new partition. Am I going about this the right way or do I need to rethink and do some kind of backup restore on the new hard drive or some other way. I am trying to accomplish this so that in the future I can install a clean copy of Ubuntu when they are released without losing my current settings and files. I started out with 7.10 but my learning curve is slow.

View 2 Replies View Related

Ubuntu :: Using An External Hard Drive For /home?

Nov 11, 2010

Any opinions on this? I think it would be very convenient for me, but I don't want to cripple the speed of my computer if it is going to slow it down substantially.

View 4 Replies View Related

General :: Server - Can't Access Home Directory Over SMB

Feb 26, 2011

I have a server running Ubuntu server edition with SMB server all set up and running. I've set up the main root of the drive to be shared and I've set up a user in /etc/samba/smbusers to say root = "joeflood" so I can sign in as root using the username "joeflood". This works and I have read/write access to the filesystem (yay!). However, if I browse to /home/javawag (my main user home directory), I no longer have write permissions! I can see all the files in there and read them no problem, but writing is a no-go. I'm logged in as root though?! Btw, I can login via SSH and create folders/etc as root in the /home/javawag folder, and they showed up in the SMB mount on my mac too.

View 1 Replies View Related







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