Commit Graph

44 Commits

Author SHA1 Message Date
Juan Carlos Luciani a8a4e9e975 Added time-stamp and process/thread information to the Windows debug logs. 2008-01-02 17:45:07 +00:00
Juan Carlos Luciani 28a4d65cc8 Added traces to aid debugging of connection and password authentication
problems.
2007-07-05 23:40:42 +00:00
Juan Carlos Luciani 7cc9385642 Enhanced to try to connect to the ATS with the normalized host name in addition to the host name given by the application calling to get a token to deal with cases where the application is passing a dotted ip address but the
server's certificate has been issued using the server's DNS name.
2007-07-05 23:25:55 +00:00
Juan Carlos Luciani 41cc9deb34 Fixed crash that occurs when the DLL is unloaded before being initialized first. 2007-06-27 22:01:44 +00:00
Juan Carlos Luciani 35ef31cafd Changed calls to _stricmp to stricmp to fix unresolved external problem
when the setting DisableSecureConnections is configured.
2007-06-21 22:46:40 +00:00
Juan Carlos Luciani ad7a069507 Updated to only add non-success authtoken entries to the
cache if the time necessary to process them exceeds 30
seconds. With this change we make sure that non-successful
entries are added to the cache to deal with server
un-available issues.
2007-06-12 16:51:18 +00:00
Juan Carlos Luciani f27856d545 Updated changes and todo files. 2007-06-04 17:24:49 +00:00
Juan Carlos Luciani 502559daa1 The client now tells Curl to look for certificates in /etc/ssl/certs
under linux.

Commented the line in client.conf that was allowing clients to connect
to ATSs whose certificates authenticity could not be verified. :-).
2007-06-01 23:26:28 +00:00
Juan Carlos Luciani 375e8d801a Fixed typo in client.conf example setting. 2007-05-30 14:35:51 +00:00
Juan Carlos Luciani 386fd61efc Fixed windows compile problems. 2007-05-30 05:03:36 +00:00
Juan Carlos Luciani 3cc4067ab1 Modified client to try to authenticate a user against a list of
configured ATSs instead of only utilizing a single configured ATS.
The client also tries to contact the ATS using port 443 as well as
port 2645 if the port number is not hard configured.
2007-05-29 22:59:50 +00:00
Juan Carlos Luciani 136aee12c5 Updated the project to export the APIs for flushing the AuthToken cache in x64 bit environments. 2007-04-13 19:26:44 +00:00
Juan Carlos Luciani 099e4cabfc Added flush AuthToken cache API. 2007-04-13 19:21:40 +00:00
Juan Carlos Luciani 3f0062dcf7 Fixed windows build conflict issues. 2007-04-06 03:52:43 +00:00
Juan Carlos Luciani 4826e3c2d1 Fixed project and solution issues which were keeping us from building 32bit and 64bit packages on a 64bit Windows platform. 2007-04-04 20:44:25 +00:00
Juan Carlos Luciani 53d06963fc Fixed some 64bit platform issues. 2007-04-02 23:28:47 +00:00
Juan Carlos Luciani 4da676ac00 2007-04-02 22:16:07 +00:00
Juan Carlos Luciani 5ba91c92a6 Fixed issues found when testing the auth.policy mechanism_info changes
for the Krb5 and the Pwd mechanisms using a linux client.
2007-03-26 21:45:10 +00:00
Juan Carlos Luciani 1c67986423 Fixing Linux build errors. 2007-03-21 23:14:10 +00:00
Juan Carlos Luciani 6a56e24838 More linux build error fixes. 2007-03-21 23:09:15 +00:00
Juan Carlos Luciani 1d1803ffb6 Fixed some build problems introduced with the mechanism_info changes. 2007-03-21 23:05:34 +00:00
Juan Carlos Luciani e1001dfc6f Modified the Krb5 mechanisms to allow it to receive multiple settings via the authentication policy mechanism information string. This will allow to add
new settings in the future without breaking existing clients.
2007-03-21 22:19:05 +00:00
Juan Carlos Luciani 0eda6a0830 Added the ability to specify to the PwdMechanism through the auth.policy that it should only utilize credentials that match the specified realm. 2007-03-21 17:54:38 +00:00
soochoi 41339353cd CASA-auth-token-client windows: save vcproj with 64 bit platform added 2007-03-06 22:36:10 +00:00
Juan Carlos Luciani 4c2f384001 Resolved issues found during unit testing of file logging feature. 2007-03-05 18:01:32 +00:00
Juan Carlos Luciani 12e1705227 Fixed compile problems under linux. 2007-03-05 15:46:16 +00:00
Juan Carlos Luciani 3a4a7fec0d Made the following changes:
- Use host name specified in ObtainAuthToken call instead of the
    normalized host name to connect to the ATS to avoid problems
    when the host name obtained through a reverse DNS lookup fails
    to resolve via a forward DNS lookup.

  - Added the capability log debug messages to a file.

  - Added method to the ConfigIf to free memory returned by calls to
    getEntryValue to avoid issues related to freeing memory allocated
    with a heap different than the one owned by the library freeing
    the memory.
2007-03-05 06:48:26 +00:00
Juan Carlos Luciani 047797a119 Fixed function prototype miss-match that was causing a build problem on
64bit machines.
2007-02-16 18:13:48 +00:00
Juan Carlos Luciani b03293da31 Fixed running library from drive different that install drive windows issue.
Added code to not-persist tokens in the miCASA cache.
2007-02-14 17:55:15 +00:00
Juan Carlos Luciani 81a369b7aa Corrected the name of the output debug pdb file. 2007-02-13 23:58:11 +00:00
Juan Carlos Luciani 5deee61fea Added needed defines missing in the windows environment that were keeping the components from building cleanly. 2007-02-06 23:36:07 +00:00
Juan Carlos Luciani 51ffdf0702 More changes to resolve issues brought up during the security
review of the code.
2007-02-06 22:09:00 +00:00
soochoi dbe91182f6 CASA-auth-client: modify the include path in Windows solution file 2007-02-05 18:00:46 +00:00
Juan Carlos Luciani 791b0be583 Addressed issues found during the SuSE security review. 2007-02-02 23:02:43 +00:00
Juan Carlos Luciani 69f772ed91 Fixed one-byte buffer overflow problem in memcpy found during
code review.

-This line, and those below, will be ignored--

M    linux/get.c
2007-02-01 16:04:28 +00:00
Juan Carlos Luciani 57f18cef8c Finished the Linux side changes for the "Cleanup during library unload"
issue.
2007-01-29 13:04:22 +00:00
Juan Carlos Luciani b5a6a452e8 Added code to allow us to un-initialize the library when it is unloaded. These changes allow library un-initialization to work for Windows. More code needs to be added to un-initialize the library under Linux. 2007-01-29 10:46:18 +00:00
Juan Carlos Luciani 5f0d0a486f Finished changes to resolve issues associated with server response without payload data.
Changed the name of the .msi files to not include "-msi" as part of the names as per request.

GetAuthToken requests that fail due to a name resolution error now will return an error code indicating the reason.
2007-01-12 12:49:25 +00:00
Juan Carlos Luciani 32093affcb Fixed crash that would occur if an RPC would succeed but no without
response data.

-This line, and those below, will be ignored--

M    client/library/engine.c
2007-01-12 08:43:53 +00:00
soochoi bbf4a44deb CASA-auth-token-client: check in relative build dependencies path changes in windows solution file 2007-01-11 10:36:56 +00:00
Juan Carlos Luciani fb29201f17 Modified solution/project files to deal with "lib" folder rename to "library". 2007-01-10 11:07:35 +00:00
Juan Carlos Luciani 717b3c1091 Completed changes for clearing out memory associated with tokens. 2007-01-04 13:27:31 +00:00
Juan Carlos Luciani 834c6e0add Added code to clear memory used to hold tokens since they contain data
which is security sensitive.
2007-01-04 10:18:40 +00:00
soochoi 96204153a8 CASA-auth-token-client: rename lib directory to library and change in makefile 2007-01-03 05:04:26 +00:00