LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2005, 12:10 AM   #1
alex r
LQ Newbie
 
Registered: Feb 2005
Posts: 26

Rep: Reputation: 15
automount home directories with information from Active Directory (or NIS)


Hi all!

I have a linux box running that gets users authenticated from Windows 2003 Active Directory. What I'm missing at the moment is a way to automount the home directories which shall be at a central instance (NFS server, Samba share, ...) and not locally stored at the linux workstations.

Well, does anybody know if there's a way to get to tell automount to get the information from active directory? Cause AD gives information about the user's home directory.


Best regards!
Alex
 
Old 02-21-2005, 11:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why not just mount the whole /home (or your equivalent of it). if your system is rolled out effectivel,y each iser will have a unique ID any everything, so it's not like it will have any impact at all on the security of it, and also means that you will only need a single nfs mountpoint, rather than one per user. one per user... that's just horrible to think of administering.
 
Old 02-22-2005, 03:54 AM   #3
alex r
LQ Newbie
 
Registered: Feb 2005
Posts: 26

Original Poster
Rep: Reputation: 15
That's good idea. Will think about it, thanks!
 
Old 02-22-2005, 09:37 PM   #4
alex r
LQ Newbie
 
Registered: Feb 2005
Posts: 26

Original Poster
Rep: Reputation: 15
Well, I decided -if possible- not to do so. The reason is that if the path to the home directories changes I have to update this on every client. Therefore I'll give it a try with NIS beside LDAP. But does anyone know where the files the NIS server reads from are? I'm talking about the NIS server which shipes with SFU (Services for Unix). Or does all information comes from AD?
 
Old 02-25-2005, 07:01 AM   #5
alex r
LQ Newbie
 
Registered: Feb 2005
Posts: 26

Original Poster
Rep: Reputation: 15
If anyone is interested: here's a document that describes how to set up NIS for providing automount information. It now works for me.

http://support.microsoft.com/?id=819233


For myself I'll give up this solution since in my domain users get authenticated by Active Directory (LDAP) so the automount information must come from there too. There are nice HOWTOs that decribe how to do it with LDAP but not with AD which differs from LDAP. E.G. you can't include schema extensions. Changes on the AD schema are irreversible, unlike LDAP. Doesn't sound like fun, does it? It was very nice if someone who has experience with modifying the AD schema could give some hints on how to put a LDAP schema into AD.



...although I doubt there are any people knowing much about Microsoft AD
 
Old 08-30-2006, 10:05 AM   #6
Petaris
LQ Newbie
 
Registered: Jul 2006
Location: NW Wisconsin
Distribution: Gentoo, Debian, Ubuntu, Zenwalk
Posts: 2

Rep: Reputation: 0
Me too

I need this very same functionality, if you find a way to do it please post it back here. My users home dirs are not all at the same folder level because of securty and the like. I have AD auth working with my edubuntu ltsp server but I can't figure out anyway to mount the directories (with pam_mount) as they are not all in the same location. Someone told me that NSS can be used to get the AD home dir info but I have no idea how to accomplish that and have found very little info on doing so.

Thanks,
 
  


Reply



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
Automount home directories??? BeauSanders Linux - Networking 2 09-15-2005 04:16 PM
NIS + Active Directory willigiann Linux - Networking 1 07-05-2005 08:15 AM
automount home directories alex r Linux - Software 2 02-24-2005 10:02 PM
automount Solaris home directories onto RedHat ghouliajoolia Linux - General 3 09-07-2004 06:20 AM
getting home directories to automount with NIS schurt Linux - Networking 3 04-23-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration