]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/auth.c
Reset signal handlers and alarm timer after successfull PAM authentication
[netatalk.git] / etc / afpd / auth.c
index 40d3a5ac906b7e56a1de886dedd3f52a70f68546..b3d0d9a2c0a35d301e91042b6cec62cbb17b6eac 100644 (file)
@@ -415,6 +415,9 @@ static int login(AFPObj *obj, struct passwd *pwd, void (*logout)(void), int expi
     /* pam_umask or similar might have changed our umask */
     (void)umask(obj->options.umask);
 
+    /* Some PAM module might have reset our signal handlers and timer, so we need to reestablish them */
+    afp_over_dsi_sighandlers(obj);
+
     return( AFP_OK );
 }