Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
im trying to configure libpam-mount to mount user homes when a user logs in via freenx, this worked on 10.04 LTS but pam is not playing along on 12.04.
The problems come from the way pam-mount is invoked in pam, at first it only invoked for the nx user and not the user who is logging in, moving the pam_mount.so entry higher in common-session made pam-mount invoke for both nx user and the user logging in. The nx user fails to authenticate in samba witch is normal but so does the users attempt, witch means pam is forwarding the wrong credentials. Mounting the share manually works fine.
I need some help from anyone who is familiar with how the /etc/pam.d files on 12.04 work, i simply don't understand how they work as a whole so i don't know what im doing. I do however know what i have to realize:
1.Make sure pam forwards the users login password
2.(optional) limit pam-mount to a distinct group(to excluse the nx and root user)
Alternatively, if anyone knows a better way to mount samba shares from a central server at login, id be more then happy to try it since libpam-mount is not maintained anymore witch is the reason for all these issues
i managed to get a bit further, it seems that my hunch was right that pam was forwarding the wrong credentials and it was due to the ssh daemon settings in /etc/sshd_config witch need to look like this: ChallengeResponseAuthentication no (was changes by lwopen) PasswordAuthentication yes (this is default)
Now the share mounts at log in but it does not unmount at log out, im not sure if this is a permission or configuration problem(i think i have seen this issue in some forum)
so now the only thing left is if i can configure pam not to invoke for my local user, the nx user and root since this only results in errors because these users don't exist in the active directory, this is not a necessity but it would be nice to have