Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-13-2006, 10:53 AM   #1
LQ Newbie
Registered: Sep 2006
Distribution: RedHat Enterprise / CentOS
Posts: 8

Rep: Reputation: 0
Relocating user home directories to a network share...


So I've got a mixed environment that includes Linux and Windows AD (2003 flavor).

Linux is CentOS, as in RedHat Enterprise Linux 4 Update 3.

I've got a cluster running on a bunch of systems (ROCKS 4.2) and I'd like to figure out a way to have the user's home directories reside on a network share.

The catch is: it's a windows share.

[It's actually a Windows share authenticating via AD credentials with the storage on a SAN.]

My ultimate goal would be to:

1) Have the user's home directories on a Windows share.
2) Setup athentication so that the user (other than root) log in using their AD ID and password.

How does one go about doing this?

It's it possible?

I'm not concerned about perfromance here... only redundancy.
Old 09-14-2006, 07:19 AM   #2
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
1. using winbind to make your linux authenticate from active directory.
2. create a folder at Desktop (maybe networkfolder)
#mkdir Desktop/networkfolder
3. inside .bashrc, insert mount.cifs -o credentials=~/passwordfile //fileserver/share ~/Desktop/networkfolder
4. make a passwordfile in your home directory, insert data as below:-
5. as root, visudo so that user have permission to mount a network file.
6. restart and try.

*you must very careful for 1st step, any problem will cause your linux unable to login.
*you can only mount windows share folder but not the child of the share folder.

Last edited by kstan; 09-14-2006 at 07:22 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
How to detect ADSL user share its network to more pepole yufeixiaoyu Linux - Networking 5 08-18-2005 10:24 AM
Samba :share files from home directory to an other user flashdelux Linux - Software 0 11-29-2004 12:57 PM
Newbie: The best way to share directories with MS Windows guarriman Linux - Networking 2 11-28-2004 12:12 AM
Newbie: How to share directories guarriman Linux - Networking 1 11-27-2004 08:57 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration