Initial changes for Linux port of the CASA-auth-token client to linux.
This commit is contained in:
		| @@ -0,0 +1,12 @@ | ||||
| ####################################################### | ||||
| #                                                     # | ||||
| # CASA Authentication Token System configuration file # | ||||
| # for module:                                         # | ||||
| #                                                     # | ||||
| #     PwdAuthenticate                                 # | ||||
| #                                                     # | ||||
| ####################################################### | ||||
|  | ||||
| LibraryName		\Program Files\novell\casa\lib\pwmech.dll | ||||
|  | ||||
|  | ||||
| @@ -57,13 +57,7 @@ BOOL APIENTRY DllMain( | ||||
|       { | ||||
|          g_hModule = hModule; | ||||
|  | ||||
|          // Initialize the library | ||||
|          if (InitializeLibrary() != 0) | ||||
|          { | ||||
|             // Failed to initialize the library | ||||
|             OutputDebugString("CASA_PW_MECH -DllMain- Library initialization failed\n"); | ||||
|             retStatus = FALSE; | ||||
|          } | ||||
|          // Nothing else to do at this time | ||||
|          break; | ||||
|       } | ||||
|  | ||||
|   | ||||
| @@ -55,7 +55,7 @@ char formatBuff[128];                                          \ | ||||
| char printBuff[256];                                           \ | ||||
|    if (LEVEL == 0 || DebugLevel >= LEVEL)                      \ | ||||
|    {                                                           \ | ||||
|       strcpy(formatBuff, "PwdMech ");                          \ | ||||
|       strcpy(formatBuff, "CASA_PwdMech ");                          \ | ||||
|       strncat(formatBuff, X, sizeof(formatBuff) - 8);          \ | ||||
|       _snprintf(printBuff, sizeof(printBuff), formatBuff, Y);  \ | ||||
|       OutputDebugString(printBuff);                            \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user