[KLUG Members] LDAP and home directories

Jeremy Leonard jeremy at elite4god.com
Wed Mar 2 11:36:23 EST 2005


I have three servers for three different departments.
I'm using OpenLDAP for SAMBA and Auth.
My workstations are SUSE 9.2.
pam is configured to auth against the LDAP dir.
I have the homeDirectory attr set to /home/UserName in LDAP
I use pam_mkhomedir to create the path on workstation.

How can I automatically mount the users home directory from their server to the /home/username dir when a user logs in? I'd love to be able to use an LDAP attr for this.

I've tried using pam_mount but that doesn't let me dynamically choose which server to map to.

Also, when I do have the user's home directory mounted X won't run. It crashes when it tried to load the windows manager after the user logs in.

Thanks,
Jeremy

Jeremy Leonard
Systems Engineer
CNE, MCSE, CCA, A+, CNS
Gracon Services, Inc.



More information about the Members mailing list