Initial changes for Linux port of the CASA-auth-token client to linux.

This commit is contained in:
Juan Carlos Luciani
2006-10-02 21:01:45 +00:00
parent ae9d0c58c5
commit fd8d57708d
27 changed files with 2094 additions and 319 deletions

View File

@@ -0,0 +1,12 @@
#######################################################
# #
# CASA Authentication Token System configuration file #
# for module: #
# #
# PwdAuthenticate #
# #
#######################################################
LibraryName \Program Files\novell\casa\lib\pwmech.dll

View File

@@ -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;
}

View File

@@ -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); \