summaryrefslogtreecommitdiffstats
path: root/proxy/src
Commit message (Collapse)AuthorAgeFilesLines
* Debug: Add debugging macro and config optionsSimo Sorce2012-04-025-0/+38
| | | | Ticket #43
* Avoid double free on error.Simo Sorce2012-04-021-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 Sorce2012-03-221-1/+1
|
* gp_socket: properly handle fagment bitSimo Sorce2012-03-222-2/+20
|
* gp_socket: Optimize sending data with writevSimo Sorce2012-03-221-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 backSimo Sorce2012-03-221-2/+7
|
* gp_conv: Fix conversion functions after change to gss_proxy.xSimo Sorce2012-03-211-8/+2
|
* config: parse credential/service config sectionsSimo Sorce2012-02-232-0/+277
|
* gp_conv: use maj/min err codes with gp_conv_ctx_id_to_gssx tooSimo Sorce2012-02-234-17/+18
|
* server: better handle return statusSimo Sorce2012-02-2310-124/+181
| | | | Ticket #33
* Tidyup gp_accept_sec_context()Simo Sorce2012-02-231-5/+2
|
* workers: Fix handling of workers query handlingSimo Sorce2012-02-231-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 functionSimo Sorce2012-02-092-0/+185
|
* Implement server side init_sec_context function.Simo Sorce2012-02-092-4/+139
|
* gp_conv: Add function to import sec contextSimo Sorce2012-02-092-0/+17
|
* gp_conv: return GSS_C_NO_OID if input is null or zero length.Simo Sorce2012-02-091-0/+5
| | | | Fixes useless allocation in gp_conv_gssx_to_oid_alloc()
* gp_conv: Use correct type to calculate size of allocationSimo Sorce2012-02-091-1/+1
|
* gp_conv: Allow null oids as input in conversion functionsSimo Sorce2012-02-091-0/+12
|
* Add more helper functions to gp_convSimo Sorce2012-02-072-15/+53
|
* Implement import_and_canon_name mechglue functions familySimo Sorce2012-02-072-0/+285
|
* Implement server side import_and_canon_name()Simo Sorce2012-02-074-17/+163
| | | | | Also fix name conversion functions, to properly handle exporting/importing names.
* gssx_name -> display_name should not be a pointerSimo Sorce2012-02-071-18/+7
|
* Add more functions of the indicate_mechs() familySimo Sorce2012-02-052-14/+466
|
* Fix attr description set in gp_indicate_mechs()Simo Sorce2012-02-051-0/+29
|
* Fix accept_sec_context to properly return src_nameSimo Sorce2012-02-053-0/+57
|
* Add gpm_indicate_mechs functions to mechglue librarySimo Sorce2012-02-032-0/+309
|
* Add server implementation of gssx_indicate_mechsSimo Sorce2012-02-032-4/+252
|
* Allow conversion of empty strings.Simo Sorce2012-02-031-0/+11
|
* Fix loop in case of errors and use gp_debugSimo Sorce2012-02-031-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 helperSimo Sorce2012-02-032-0/+86
|
* Fix gp_conv_gssx_to_oid_allocSimo Sorce2012-02-031-0/+2
|
* Temporary workaround for MIT gssapi bugsSimo Sorce2012-02-011-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 librarySimo Sorce2012-02-012-0/+306
|
* Add server implementation of acquire_credSimo Sorce2012-02-013-7/+148
|
* Add helper to convert OID setsSimo Sorce2012-02-012-0/+76
|
* Add helper to convert an gssx name back to gss_name_tSimo Sorce2012-02-012-0/+14
|
* Add gp_memdup helperSimo Sorce2012-02-012-9/+24
|
* Simplify gssx_name structSimo Sorce2012-02-011-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/importSimo Sorce2012-02-011-2/+2
|
* Fix gp_rpc_accept_sec_context to handle input credentialSimo Sorce2012-02-011-8/+8
|
* Fix double free in conversion functionSimo Sorce2012-02-011-4/+8
|
* Add gpm_release_handle functions to mechglue librarySimo Sorce2012-01-302-0/+138
|
* Add accept_sec_context function to mechglue librarySimo Sorce2012-01-302-0/+190
|
* Add gpm_display_status function to mechglue librarySimo Sorce2012-01-304-0/+193
| | | | | Also add method to save status per-thread Uses gccism for thread-local storage for now.
* Add infrastructure for client side mechglue librarySimo Sorce2012-01-293-0/+581
|
* gp_conv: Add helpers to alloc data when convertingSimo Sorce2012-01-292-0/+91
|
* Move some definitions around.Simo Sorce2012-01-293-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 headersSimo Sorce2012-01-298-37/+70
|
* Fix incorrect declaration.Simo Sorce2012-01-291-3/+3
|
* Remove bogus comment.Simo Sorce2012-01-251-1/+0
|