LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-12-2011, 05:16 AM   #1
S1GNZ
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
Using pam_mount to mount Homefolder on Nas


Hi all,

We are trying to get our users a home folder on our Nas server.

Our situation:

A linux client logs on to our Windows 2008 server (this works!). Then we need the user on the linux client to mount their homedirectory on our Nas server! Our Nas is also configured correctly to authenticate with our Active Directory.

So do we now need to use pam_mount and if so how? We've googled for a proper solution but couldn't find one.

Sincerely yours,

S1GNZ
 
Old 01-12-2011, 05:43 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Take a look at autofs, it's good for home dirs .. there are a few tutorials available, just search for "autofs samba"

cheers
 
Old 01-12-2011, 06:17 AM   #3
S1GNZ
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Yes they make work for normal shares, but what about homefolders? Windows needs to create them on the NAS, and then the Linux cl´ent needs a script to auto mount them on logon.
 
Old 01-12-2011, 07:23 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
From memory, the Windows server will automatically create a home directory when you define the path to it. Use autofs on the linux host to mount them on demand
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why unable to mount my nas in fstab get "mount error(5) Input/output error fi5ban Linux - Networking 0 04-01-2009 10:42 AM
LXer: Automatically mount encrypted filesystems at login with pam_mount LXer Syndicated Linux News 0 11-06-2008 09:30 PM
Kubuntu NAS mount problems... tkienzle Linux - Hardware 7 08-06-2008 10:25 AM
fedora 8 vs fedora 9 - does pam_mount disallow 'exec' mount flag? whysyn Fedora 5 06-02-2008 08:58 AM
Using pam_mount to mount /home on login hamish Linux - Software 1 05-13-2006 08:58 AM


All times are GMT -5. The time now is 05:11 AM.

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