(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.8 and 1.9

version 1.8, 2009/06/04 12:02:15 version 1.9, 2009/12/15 10:52:33
Line 49 
Line 49 
 #include <Executor/Defines.h> #include <Executor/Defines.h>
 #include <Executor/Socket.h> #include <Executor/Socket.h>
  
   #ifdef PEGASUS_FLAVOR
   # define PAM_CONFIG_FILE "wbem" PEGASUS_FLAVOR
   #else
   # define PAM_CONFIG_FILE "wbem"
   #endif
   
 /* /*
 **============================================================================== **==============================================================================
 ** **
Line 403 
Line 409 
     pconv.appdata_ptr = &data;     pconv.appdata_ptr = &data;
  
  
     if (pam_start("wbem", username, &pconv, &handle) != PAM_SUCCESS)      if (pam_start(PAM_CONFIG_FILE, username, &pconv, &handle) != PAM_SUCCESS)
         return -1;         return -1;
  
     if (pam_authenticate(handle, 0) != PAM_SUCCESS)     if (pam_authenticate(handle, 0) != PAM_SUCCESS)
Line 442 
Line 448 
     pconv.conv = PAMValidateUserCallback;     pconv.conv = PAMValidateUserCallback;
     pconv.appdata_ptr = &data;     pconv.appdata_ptr = &data;
  
     if (pam_start("wbem", username, &pconv, &phandle) != PAM_SUCCESS)      if (pam_start(PAM_CONFIG_FILE, username, &pconv, &phandle) != PAM_SUCCESS)
         return -1;         return -1;
  
     if (pam_acct_mgmt(phandle, 0) != PAM_SUCCESS)     if (pam_acct_mgmt(phandle, 0) != PAM_SUCCESS)


Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2