(file) Return to cimservera.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Security / Cimservera

Diff for /pegasus/src/Pegasus/Security/Cimservera/cimservera.c between version 1.1.2.2 and 1.2

version 1.1.2.2, 2007/01/04 06:58:32 version 1.2, 2007/05/25 18:35:14
Line 43 
Line 43 
  
 static void Exit(int status) static void Exit(int status)
 { {
     syslog(LOG_INFO, "exit(%d)", status);      syslog(LOG_DEBUG, "exit(%d)", status);
     exit(status);     exit(status);
 } }
  
Line 81 
Line 81 
     /* Open syslog: */     /* Open syslog: */
  
     openlog("cimservera", LOG_PID, LOG_AUTH);     openlog("cimservera", LOG_PID, LOG_AUTH);
     syslog(LOG_INFO, "started");      syslog(LOG_DEBUG, "started");
  
     /* Check argumnents. */     /* Check argumnents. */
  
Line 114 
Line 114 
         Exit(1);         Exit(1);
     }     }
  
       /* Handle request (authenticate or validateUser) */
   
     if (strcmp(request.arg0, "authenticate") == 0)     if (strcmp(request.arg0, "authenticate") == 0)
     {     {
         int status = PAMAuthenticateInProcess(request.arg1, request.arg2);         int status = PAMAuthenticateInProcess(request.arg1, request.arg2);
  
         if (status != 0)         if (status != 0)
         {         {
             syslog(LOG_WARNING, "PAM authentication failed on user \"%s\"",              syslog(LOG_WARNING, "user \"%s\" failed to authenticate",
                 request.arg1);                 request.arg1);
         }         }
  
Line 131 
Line 133 
         int status = PAMValidateUserInProcess(request.arg1);         int status = PAMValidateUserInProcess(request.arg1);
  
         if (status != 0)         if (status != 0)
         {              syslog(LOG_WARNING, "failed to validate user \"%s\"", request.arg1);
             syslog(LOG_WARNING, "PAM user validation failed on user \"%s\"",  
                 request.arg1);  
         }  
  
         Exit(status == 0 ? 0 : 1);         Exit(status == 0 ? 0 : 1);
     }     }


Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2