(file) Return to PAMAuth.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/PAMAuth.h between version 1.1.2.1 and 1.1.2.2

version 1.1.2.1, 2007/01/04 06:57:35 version 1.1.2.2, 2007/01/11 20:48:24
Line 52 
Line 52 
 #include <security/pam_appl.h> #include <security/pam_appl.h>
 #include "Defines.h" #include "Defines.h"
  
 #define CIMSERVERA "cimservera"  
   
 /* /*
 **============================================================================== **==============================================================================
 ** **
 ** cimservera  
 **  
 **     This program is used to authenticate users with the "Basic PAM **     This program is used to authenticate users with the "Basic PAM
 **     Authentication" scheme. It was originally written to isolate memory **     Authentication" scheme. It was originally written to isolate memory
 **     PAM module errors to an external process. **     PAM module errors to an external process.
Line 120 
Line 116 
 ** **
 ** CimserveraStart() ** CimserveraStart()
 ** **
 **     Starts the cimservera program, returning a socket used to communicate  **     Starts the CIMSERVERA program, returning a socket used to communicate
 **     with it. **     with it.
 ** **
 **============================================================================== **==============================================================================
Line 131 
Line 127 
     int pair[2];     int pair[2];
     int pid;     int pid;
  
     /* Get absolute path of "cimservera" program. */      /* Get absolute path of CIMSERVERA program. */
  
     char path[EXECUTOR_BUFFER_SIZE];     char path[EXECUTOR_BUFFER_SIZE];
  
Line 414 
Line 410 
     struct pam_response** resp,     struct pam_response** resp,
     void* appdata_ptr)     void* appdata_ptr)
 { {
       /* Unused */
       msg = 0;
   
       /* Unused */
       appdata_ptr = 0;
   
     if (num_msg > 0)     if (num_msg > 0)
     {     {
         *resp = (struct pam_response*)calloc(         *resp = (struct pam_response*)calloc(
Line 438 
Line 440 
 **============================================================================== **==============================================================================
 */ */
  
 static int PAMAuthenticateInProcess(const char* username, const char* password)  static int PAMAuthenticateInProcess(
       const char* username, const char* password)
 { {
     PAMData data;     PAMData data;
     struct pam_conv pconv;     struct pam_conv pconv;


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2