automount home directories with information from Active Directory (or NIS)
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.