Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix several leaks | Robbie Harwood | 2015-11-19 | 1 | -0/+1 |
| | | | | | Signed-off-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com> | ||||
* | Fix formatting on noncompliant copyright lines | Robbie Harwood | 2015-09-04 | 1 | -24/+1 |
| | | | | | Signed-off-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com> | ||||
* | Make name conversion more robust to failure | Simo Sorce | 2014-01-15 | 1 | -10/+14 |
| | | | | | | | | | | | | | | | | NTLMSSP does not have export_name functions yet, this was causing gss_export_composite_name() to fail with a GSS_S_UNAVAILABLE error. This should be ignored, however it wasn't and on top of that the output structure was initialized but held pointers to memory freed at exit (due to the error). Make the function not failed if a mechanism do not have composite export function, but if it does make sure the output is not littered with invalid pointers. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com> | ||||
* | Add zero termination when the buffer is a string | Simo Sorce | 2014-01-15 | 1 | -0/+21 |
| | | | | | | | | | | | | | This shouldn't be needed but apaprently there are a number of applications like mod_auth_kerb that just blindly assume the out buffer returned by gss_diplay_name() is a zero terminated string even though there is no guarantee it is in the API. To avoid annoying misbehavior we forcibly zero terminate strings copied and returned by the interposer. Fixes: https://fedorahosted.org/gss-proxy/ticket/101 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com> | ||||
* | Fix use of unintialized variable | Simo Sorce | 2013-04-03 | 1 | -1/+1 |
| | | | | | | Found by Coverity Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | Fix dereference after null checks found by Coverity | Simo Sorce | 2013-04-03 | 1 | -3/+4 |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | Fix includes | Simo Sorce | 2013-03-14 | 1 | -0/+1 |
| | | | | | These includes are necessary when switching to gssrpc because they are not automatically dragged in via dependencies in system rpc.h | ||||
* | Call gss_export_name_composite() from gp_conv_name_to_gssx(). | Günther Deschner | 2012-10-25 | 1 | -1/+22 |
| | | | | Make sure to return success in gp_conv_name_to_gssx() at that point. | ||||
* | Move ctx_id function and add export type option | Simo Sorce | 2012-04-15 | 1 | -103/+0 |
| | | | | | Move the function to export a context to gssx_ctx or import into gp_export.c Add function to check for exported_context_type option in call_ctx | ||||
* | creds: add code to import krb5 credentials based on configuration. | Simo Sorce | 2012-04-05 | 1 | -2/+0 |
| | |||||
* | conv: Fix typo causing bad output. | Simo Sorce | 2012-03-22 | 1 | -1/+1 |
| | |||||
* | gp_conv: Fix conversion functions after change to gss_proxy.x | Simo Sorce | 2012-03-21 | 1 | -8/+2 |
| | |||||
* | gp_conv: use maj/min err codes with gp_conv_ctx_id_to_gssx too | Simo Sorce | 2012-02-23 | 1 | -8/+12 |
| | |||||
* | server: better handle return status | Simo Sorce | 2012-02-23 | 1 | -21/+34 |
| | | | | Ticket #33 | ||||
* | gp_conv: Add function to import sec context | Simo Sorce | 2012-02-09 | 1 | -0/+16 |
| | |||||
* | gp_conv: return GSS_C_NO_OID if input is null or zero length. | Simo Sorce | 2012-02-09 | 1 | -0/+5 |
| | | | | Fixes useless allocation in gp_conv_gssx_to_oid_alloc() | ||||
* | gp_conv: Use correct type to calculate size of allocation | Simo Sorce | 2012-02-09 | 1 | -1/+1 |
| | |||||
* | gp_conv: Allow null oids as input in conversion functions | Simo Sorce | 2012-02-09 | 1 | -0/+12 |
| | |||||
* | Add more helper functions to gp_conv | Simo Sorce | 2012-02-07 | 1 | -15/+50 |
| | |||||
* | Implement server side import_and_canon_name() | Simo Sorce | 2012-02-07 | 1 | -13/+70 |
| | | | | | Also fix name conversion functions, to properly handle exporting/importing names. | ||||
* | gssx_name -> display_name should not be a pointer | Simo Sorce | 2012-02-07 | 1 | -18/+7 |
| | |||||
* | Fix accept_sec_context to properly return src_name | Simo Sorce | 2012-02-05 | 1 | -0/+47 |
| | |||||
* | Allow conversion of empty strings. | Simo Sorce | 2012-02-03 | 1 | -0/+11 |
| | |||||
* | Fix gp_conv_gssx_to_oid_alloc | Simo Sorce | 2012-02-03 | 1 | -0/+2 |
| | |||||
* | Add server implementation of acquire_cred | Simo Sorce | 2012-02-01 | 1 | -3/+5 |
| | |||||
* | Add helper to convert OID sets | Simo Sorce | 2012-02-01 | 1 | -0/+73 |
| | |||||
* | Add helper to convert an gssx name back to gss_name_t | Simo Sorce | 2012-02-01 | 1 | -0/+13 |
| | |||||
* | Add gp_memdup helper | Simo Sorce | 2012-02-01 | 1 | -9/+23 |
| | |||||
* | Simplify gssx_name struct | Simo Sorce | 2012-02-01 | 1 | -13/+2 |
| | | | | | We do not need arrays here. When multiple names are required then an array of gssx_names is more appropriate. | ||||
* | Fix double free in conversion function | Simo Sorce | 2012-02-01 | 1 | -4/+8 |
| | |||||
* | Add gpm_display_status function to mechglue library | Simo Sorce | 2012-01-30 | 1 | -0/+69 |
| | | | | | Also add method to save status per-thread Uses gccism for thread-local storage for now. | ||||
* | gp_conv: Add helpers to alloc data when converting | Simo Sorce | 2012-01-29 | 1 | -0/+85 |
| | |||||
* | Add helper to return status from rpc functions | Simo Sorce | 2012-01-25 | 1 | -0/+36 |
| | |||||
* | Add gssx conversion functions | Simo Sorce | 2012-01-25 | 1 | -0/+335 |