Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix resource leaks found by Coverity | Simo Sorce | 2013-04-03 | 4 | -17/+29 |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | Fix uninizialized variables found by Coverity | Simo Sorce | 2013-04-03 | 2 | -8/+8 |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | Add client side support to set allowed enctypes | Simo Sorce | 2013-03-27 | 1 | -1/+92 |
| | | | | | | | | | When using remote credentials, intercept set_cred_option calls and register an option into the existing set of crdentials with the request to set allowed entypes at the first use of said crdentials. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com> | ||||
* | Add helper function to check for krb5 oid | Simo Sorce | 2013-03-27 | 2 | -0/+15 |
| | | | | | | | | | | The krb5 mechanism supports multiple oids for historical reasons. Add a function to generically check if a mech oid is any of the krb5 mechanism known oids for functions that do not care which exact oid is being used of the krb5 family. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com> | ||||
* | Use token wrapper in gpp_remote_lo_local_ctx | Simo Sorce | 2013-03-22 | 1 | -4/+39 |
| | | | | | We need to do the wrapping in order to get back an actual local context. Otherwise we get back an interposed context from gssapi. | ||||
* | Create helper function to wrap token | Simo Sorce | 2013-03-22 | 3 | -20/+34 |
| | | | | Wrap the token in a helper function so that the code can be reused elsewhere. | ||||
* | Fix gssi_context_time for remote calls. | Günther Deschner | 2013-03-14 | 1 | -4/+3 |
| | | | | | | lifetime is alredy returned as remaining seconds of lifetime. Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | Fix gssi_import_sec_context_by_mech() | Günther Deschner | 2013-03-14 | 1 | -1/+1 |
| | | | | | | Use spmech->length as we are replacing the original oid with spmech. Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | mechglue: add trace debugging | Günther Deschner | 2013-03-14 | 11 | -0/+131 |
| | | | | | | This is enabled via --with-gssidebug. Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | mechglue: initialize gpp cred_handle in gssi_acquire_cred_with_password(). | Günther Deschner | 2013-02-22 | 1 | -1/+1 |
| | |||||
* | mechglue: fix gssi_set_cred_option() arguments. | Günther Deschner | 2013-02-22 | 2 | -4/+4 |
| | |||||
* | interposer-plugin: Fix MIT 1.11 gssi_import_sec_context_by_mech symbol name. | Günther Deschner | 2013-02-15 | 2 | -8/+8 |
| | |||||
* | Change interposer usage, clients need to set GSS_USE_PROXY=1|YES. | Günther Deschner | 2013-01-15 | 1 | -2/+5 |
| | | | | | | The variable _GSSPROXY_LOOPS has been changed in favor of GSS_USE_PROXY. From now on, applications needs to explicitly enable the usage of the gssproxy interposer inception. | ||||
* | Implement export_name_composite | Günther Deschner | 2012-10-25 | 2 | -0/+28 |
| | |||||
* | Implement internal_release_oid | Simo Sorce | 2012-10-25 | 2 | -0/+27 |
| | |||||
* | Implement misc spi calls | Simo Sorce | 2012-10-25 | 2 | -0/+218 |
| | |||||
* | Implement privacy/integrity mechglue wrappers | Simo Sorce | 2012-10-25 | 2 | -0/+420 |
| | |||||
* | Implement indicate mechs related mechglue wrappers | Simo Sorce | 2012-10-25 | 2 | -0/+217 |
| | |||||
* | Implement name related mechglue wrappers | Simo Sorce | 2012-10-25 | 2 | -0/+456 |
| | |||||
* | Implement display status mechglue wrappers | Simo Sorce | 2012-10-25 | 2 | -0/+75 |
| | |||||
* | Implement init sec context mechglue wrapper | Simo Sorce | 2012-10-25 | 2 | -0/+226 |
| | |||||
* | Implement accept sec context mechglue wrappers | Simo Sorce | 2012-10-25 | 2 | -0/+167 |
| | |||||
* | Implement context related mechglue wrappers | Simo Sorce | 2012-10-25 | 2 | -0/+460 |
| | | | | | Use the new spi call in order to be able to properly implement a context locally. | ||||
* | Implement cred related mechglue wrappers | Simo Sorce | 2012-10-25 | 3 | -0/+831 |
| | |||||
* | Add name handle wrapper | Simo Sorce | 2012-10-25 | 2 | -0/+71 |
| | |||||
* | Add context handle wrapper | Simo Sorce | 2012-10-25 | 1 | -0/+5 |
| | |||||
* | Add cred handle wrapper | Simo Sorce | 2012-10-25 | 1 | -0/+5 |
| | |||||
* | Add function to ease copying oids | Simo Sorce | 2012-10-25 | 2 | -0/+25 |
| | |||||
* | Add function to convert remote context to local | Simo Sorce | 2012-10-25 | 2 | -0/+18 |
| | |||||
* | Add simple functions to map errors | Simo Sorce | 2012-10-25 | 2 | -0/+26 |
| | | | | | | | | | | The mechglue stores a map of errors/mech oids, this means that we should never return the same error we got from a mechanism after re-entering the mechglue as we then may get the mechglue confused and prevent us from asking an interposed mech for the error. Also we want to try to aqvoid collisions from errors returned from the proxy, as they could end up fetching errors from the wrong mechanism. For now just make a very simple mapping by always adding a special error base. | ||||
* | Add function to return a special mech | Simo Sorce | 2012-10-25 | 2 | -0/+203 |
| | | | | | | | | When the interposer wants to call the mechglue and have it call a real mechanism it does so by providing a speecial mechanism oid. This is an oid composed of the procy plugin oid and the real mechanism oid that the mechglue transforms back into a real OID before selecting the appropriate mechanism. | ||||
* | Add mechanism to select behavior based on envvar | Simo Sorce | 2012-10-25 | 2 | -0/+38 |
| | |||||
* | Add loop avoidance in proxy daemon and gssapi plugin | Simo Sorce | 2012-10-25 | 1 | -0/+8 |
| | |||||
* | Add initialization code | Simo Sorce | 2012-10-25 | 2 | -0/+141 |
| | | | | | | | For now return fixed list of mechanisms. Later on we can try to fetch this list from the proxy. Also split RPC client code from actual plugin | ||||
* | Move client lib files in their own directory | Simo Sorce | 2012-08-31 | 10 | -2668/+2 |
| | | | | | | | Make space for the actual mechglue plugin interface. The mechglue interface will use the client library to communicate with the gss-proxy but will reimplement all GSSAPI SPI as wrappers in order to properly handle fallbacks to local mechanism and other input/output transformations. | ||||
* | Save internal errors in init_sec_context | Simo Sorce | 2012-08-31 | 1 | -0/+2 |
| | |||||
* | Add function to report internal client errors | Simo Sorce | 2012-08-31 | 2 | -0/+19 |
| | | | | | | | This is to allow gss_display_status to return a meaningful error if there is an internal client error as opposed to a returned proxy server error. If we do not do this a call to gpm_display_status() after a failure would return a NULL string and give no clue about the error. | ||||
* | Always return a minor_status | Simo Sorce | 2012-08-31 | 1 | -0/+2 |
| | |||||
* | Move release_name to the proper place | Simo Sorce | 2012-08-31 | 2 | -11/+10 |
| | |||||
* | Fix gpm_display_status | Simo Sorce | 2012-08-31 | 1 | -19/+13 |
| | | | | | | | Fix some assumptions in gpm_display_status and make it clearly state no error is available, when we do not have one. This is so that the plugin code later on will know when to properly fall back to ask to the local provider. | ||||
* | Add gpm_inquire_name to client lib | Simo Sorce | 2012-08-31 | 2 | -0/+68 |
| | |||||
* | Output type can be null in gss_display_name | Simo Sorce | 2012-08-06 | 1 | -7/+9 |
| | |||||
* | Fix handling deleg_creds in accept_sec_context | Simo Sorce | 2012-07-26 | 1 | -13/+10 |
| | | | | We would segfault if the user didn't want delegated redentials. | ||||
* | Fix segfaults when NULL buffer is passed in. | Simo Sorce | 2012-07-26 | 1 | -3/+5 |
| | |||||
* | gp_socket: properly handle fagment bit | Simo Sorce | 2012-03-22 | 1 | -1/+5 |
| | |||||
* | server: better handle return status | Simo Sorce | 2012-02-23 | 1 | -20/+24 |
| | | | | Ticket #33 | ||||
* | Implement init_sec_context mechglue function | Simo Sorce | 2012-02-09 | 2 | -0/+185 |
| | |||||
* | Implement import_and_canon_name mechglue functions family | Simo Sorce | 2012-02-07 | 2 | -0/+285 |
| | |||||
* | Add more functions of the indicate_mechs() family | Simo Sorce | 2012-02-05 | 2 | -14/+466 |
| | |||||
* | Fix accept_sec_context to properly return src_name | Simo Sorce | 2012-02-05 | 1 | -0/+8 |
| |