He's saying, use a different form of pam_mount that works with the session timing. Your order is correct, but the module itself was poorly designed.
Joe
Lukas Kubin wrote:
I don't understand your answer much. I need to know whether there is something bad with the order of modules as I wrote it. What is "old pam_mount" ? I am using 0.5.10-3 from Debian package and it doesn't work without being placed in the "auth" section (of course the placement doesn't give much sense to me too). Thank you.
lukas
On Po, 2003-03-17 at 09:56, Tony den Haan wrote:
On Mon, 17 Mar 2003, Lukas Kubin wrote:
I have troubles forcing pam_mkhomedir to create the user's home directory before pam_mount tries to mount a network drive to it. The order of modules in my "ssh" pam config is:
auth requisite pam_mount.so use_first_pass
session requisite pam_mount.so
logic suggests pam_mount is rather pointless in the "auth" section, and some searching shows that indeed the old pam_mount is badly written. hava a look at the pam_mount from http://www.flyn.org/projects/pam_mount/
the README in that one shows pam_mount.so only in "session", more sensible.
good luck,
tony
_______________________________________________ Pam-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/pam-list
_______________________________________________ Pam-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/pam-list