Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Debug: Add debugging macro and config options | Simo Sorce | 2012-04-02 | 5 | -0/+38 |
| | | | | Ticket #43 | ||||
* | Avoid double free on error. | Simo Sorce | 2012-04-02 | 1 | -10/+0 |
| | | | | | There is no need to expliciltly free here, as gp_rpc_process_call already always frees the res structure. By doing this we cause double frees on errors. | ||||
* | conv: Fix typo causing bad output. | Simo Sorce | 2012-03-22 | 1 | -1/+1 |
| | |||||
* | gp_socket: properly handle fagment bit | Simo Sorce | 2012-03-22 | 2 | -2/+20 |
| | |||||
* | gp_socket: Optimize sending data with writev | Simo Sorce | 2012-03-22 | 1 | -21/+22 |
| | | | | | | Turns out the Linux kernel expects to get the whole reply in a single operation. This optimizes the code to call one less syscall and makes it also more compact. So let's please the kernel and get better code in place. | ||||
* | Add option to request (or not) delegated credentials back | Simo Sorce | 2012-03-22 | 1 | -2/+7 |
| | |||||
* | gp_conv: Fix conversion functions after change to gss_proxy.x | Simo Sorce | 2012-03-21 | 1 | -8/+2 |
| | |||||
* | config: parse credential/service config sections | Simo Sorce | 2012-02-23 | 2 | -0/+277 |
| | |||||
* | gp_conv: use maj/min err codes with gp_conv_ctx_id_to_gssx too | Simo Sorce | 2012-02-23 | 4 | -17/+18 |
| | |||||
* | server: better handle return status | Simo Sorce | 2012-02-23 | 10 | -124/+181 |
| | | | | Ticket #33 | ||||
* | Tidyup gp_accept_sec_context() | Simo Sorce | 2012-02-23 | 1 | -5/+2 |
| | |||||
* | workers: Fix handling of workers query handling | Simo Sorce | 2012-02-23 | 1 | -15/+13 |
| | | | | | | Chekcing for query == NULL outside of the mutex was wrong as it may make us end up restarting operation on the value of q we just handed back as if it was a new query. We just need to always go through the conditional lock. | ||||
* | Implement init_sec_context mechglue function | Simo Sorce | 2012-02-09 | 2 | -0/+185 |
| | |||||
* | Implement server side init_sec_context function. | Simo Sorce | 2012-02-09 | 2 | -4/+139 |
| | |||||
* | gp_conv: Add function to import sec context | Simo Sorce | 2012-02-09 | 2 | -0/+17 |
| | |||||
* | 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 | 2 | -15/+53 |
| | |||||
* | Implement import_and_canon_name mechglue functions family | Simo Sorce | 2012-02-07 | 2 | -0/+285 |
| | |||||
* | Implement server side import_and_canon_name() | Simo Sorce | 2012-02-07 | 4 | -17/+163 |
| | | | | | 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 |
| | |||||
* | Add more functions of the indicate_mechs() family | Simo Sorce | 2012-02-05 | 2 | -14/+466 |
| | |||||
* | Fix attr description set in gp_indicate_mechs() | Simo Sorce | 2012-02-05 | 1 | -0/+29 |
| | |||||
* | Fix accept_sec_context to properly return src_name | Simo Sorce | 2012-02-05 | 3 | -0/+57 |
| | |||||
* | Add gpm_indicate_mechs functions to mechglue library | Simo Sorce | 2012-02-03 | 2 | -0/+309 |
| | |||||
* | Add server implementation of gssx_indicate_mechs | Simo Sorce | 2012-02-03 | 2 | -4/+252 |
| | |||||
* | Allow conversion of empty strings. | Simo Sorce | 2012-02-03 | 1 | -0/+11 |
| | |||||
* | Fix loop in case of errors and use gp_debug | Simo Sorce | 2012-02-03 | 1 | -23/+6 |
| | | | | | | | We need to have 2 variables to hold the array index otherwise we will leave holes and loose elements that come after a failure. Use gp_log_failure() to make code more readable | ||||
* | Add simple debugging helper | Simo Sorce | 2012-02-03 | 2 | -0/+86 |
| | |||||
* | Fix gp_conv_gssx_to_oid_alloc | Simo Sorce | 2012-02-03 | 1 | -0/+2 |
| | |||||
* | Temporary workaround for MIT gssapi bugs | Simo Sorce | 2012-02-01 | 1 | -0/+26 |
| | | | | | gss_iniquire_cred_by_mech() doesn't work on all mechanisms returned by gss_inquire_cred(), this is a but in MIT libraries that MIT is going to fix. | ||||
* | Add gpm_acquire_cred functions to mechglue library | Simo Sorce | 2012-02-01 | 2 | -0/+306 |
| | |||||
* | Add server implementation of acquire_cred | Simo Sorce | 2012-02-01 | 3 | -7/+148 |
| | |||||
* | Add helper to convert OID sets | Simo Sorce | 2012-02-01 | 2 | -0/+76 |
| | |||||
* | Add helper to convert an gssx name back to gss_name_t | Simo Sorce | 2012-02-01 | 2 | -0/+14 |
| | |||||
* | Add gp_memdup helper | Simo Sorce | 2012-02-01 | 2 | -9/+24 |
| | |||||
* | 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 credentials export/import | Simo Sorce | 2012-02-01 | 1 | -2/+2 |
| | |||||
* | Fix gp_rpc_accept_sec_context to handle input credential | Simo Sorce | 2012-02-01 | 1 | -8/+8 |
| | |||||
* | Fix double free in conversion function | Simo Sorce | 2012-02-01 | 1 | -4/+8 |
| | |||||
* | Add gpm_release_handle functions to mechglue library | Simo Sorce | 2012-01-30 | 2 | -0/+138 |
| | |||||
* | Add accept_sec_context function to mechglue library | Simo Sorce | 2012-01-30 | 2 | -0/+190 |
| | |||||
* | Add gpm_display_status function to mechglue library | Simo Sorce | 2012-01-30 | 4 | -0/+193 |
| | | | | | Also add method to save status per-thread Uses gccism for thread-local storage for now. | ||||
* | Add infrastructure for client side mechglue library | Simo Sorce | 2012-01-29 | 3 | -0/+581 |
| | |||||
* | gp_conv: Add helpers to alloc data when converting | Simo Sorce | 2012-01-29 | 2 | -0/+91 |
| | |||||
* | Move some definitions around. | Simo Sorce | 2012-01-29 | 3 | -45/+45 |
| | | | | | Make union arg/res usable elsewhere. Make gp_xdr_set private as gp_rpc_process.c is the only place where it is used. | ||||
* | Split gp_utils.h into proxy headers and commonly useful headers | Simo Sorce | 2012-01-29 | 8 | -37/+70 |
| | |||||
* | Fix incorrect declaration. | Simo Sorce | 2012-01-29 | 1 | -3/+3 |
| | |||||
* | Remove bogus comment. | Simo Sorce | 2012-01-25 | 1 | -1/+0 |
| |