#287 Please Add Call to pam_open_session() to Miniserv

All
closed
nobody
None
5
2006-08-25
2006-08-25
B.J. Black
No

I would like to user pam_mkhomedir.so with usermin
(long story) and couldn't because miniserv.pl never
calls pam_open_session(). The patch is trivial (call
in the if blocks after pam_acct_mgmt() and an example
is attached.

Obviously someone with more exposure to the code than
me (20 whopping minutes with the source) should sanity
check this in context of the rest of the code and
(optionally) add things like return code checking, etc.

Discussion

  • B.J. Black
    B.J. Black
    2006-08-25

    Patch to Add Call to pam_open_session to Miniserv.pl

     
    Attachments
  • Jamie Cameron
    Jamie Cameron
    2006-08-25

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2006-08-25

    Logged In: YES
    user_id=129364

    That seems like a reasonable call to add .. I will include
    it in the next Usermin release.