ALT Linux Bugzilla
– Attachment 1042 Details for
Bug 6989
pam_mkhomedir не работает на стадии account
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
pam-0.80-owl-pam_mkhomedir.patch
pam-0.80-owl-pam_mkhomedir.patch (text/plain), 887 bytes, created by
Dmitry V. Levin
on 2005-08-10 05:02:59 MSD
(
hide
)
Description:
pam-0.80-owl-pam_mkhomedir.patch
Filename:
MIME Type:
Creator:
Dmitry V. Levin
Created:
2005-08-10 05:02:59 MSD
Size:
887 bytes
patch
obsolete
>--- Linux-PAM-0.80/modules/pam_mkhomedir/pam_mkhomedir.c.orig 2005-08-10 00:21:09 +0000 >+++ Linux-PAM-0.80/modules/pam_mkhomedir/pam_mkhomedir.c 2005-08-10 00:43:23 +0000 >@@ -553,6 +553,18 @@ int pam_sm_close_session(pam_handle_t * > } > > #ifdef PAM_STATIC >+#define pam_sm_acct_mgmt pam_sm_open_session >+#elif defined(__linux__) && defined(__ELF__) >+__asm__(".globl pam_sm_acct_mgmt; pam_sm_acct_mgmt = pam_sm_open_session"); >+#else >+PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, >+ int argc, const char **argv) >+{ >+ return pam_sm_open_session(pamh, flags, argc, argv); >+} >+#endif >+ >+#ifdef PAM_STATIC > > /* static module data */ > struct pam_module _pam_mkhomedir_modstruct = >@@ -560,7 +572,7 @@ struct pam_module _pam_mkhomedir_modstru > "pam_mkhomedir", > NULL, > NULL, >- NULL, >+ pam_sm_acct_mgmt, > pam_sm_open_session, > pam_sm_close_session, > NULL,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6989
: 1042