/[mailutils]/mailutils/pop3d/user.c
ViewVC logotype

Diff of /mailutils/pop3d/user.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by gray, Tue Jan 15 21:52:47 2002 UTC revision 1.24 by gray, Tue Feb 19 17:04:53 2002 UTC
# Line 175  pop3d_user (const char *arg) Line 175  pop3d_user (const char *arg)
175          _pwd = pass;          _pwd = pass;
176          /* libpam doesn't log to LOG_MAIL */          /* libpam doesn't log to LOG_MAIL */
177          closelog ();          closelog ();
178          pamerror = pam_start ("gnu-pop3d", arg, &PAM_conversation, &pamh);          pamerror = pam_start (pam_service, arg, &PAM_conversation, &pamh);
179          PAM_ERROR;          PAM_ERROR;
180          pamerror = pam_authenticate (pamh, 0);          pamerror = pam_authenticate (pamh, 0);
181          PAM_ERROR;          PAM_ERROR;
# Line 185  pop3d_user (const char *arg) Line 185  pop3d_user (const char *arg)
185          PAM_ERROR;          PAM_ERROR;
186        pam_errlab:        pam_errlab:
187          pam_end (pamh, PAM_SUCCESS);          pam_end (pamh, PAM_SUCCESS);
188          openlog ("gnu-pop3d", LOG_PID, LOG_FACILITY);          openlog ("gnu-pop3d", LOG_PID, log_facility);
189          if (pamerror != PAM_SUCCESS)          if (pamerror != PAM_SUCCESS)
190            {            {
191              syslog (LOG_INFO, "User '%s': authentication failed", _user);              syslog (LOG_INFO, "User '%s': authentication failed", _user);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26