summaryrefslogtreecommitdiffstats
path: root/proxy
Commit message (Collapse)AuthorAgeFilesLines
* Add systemd packaging to gssproxy spec file.gp_ring_bufferGünther Deschner2012-07-021-4/+8
| | | | Guenther
* Try to print more useful error output in test code.Günther Deschner2012-06-261-14/+28
| | | | Guenther
* Remove old Fixme comment explaining the cred import/export problem we had.Günther Deschner2012-06-261-21/+0
| | | | Guenther
* Robustness fix when gssproxy is started w/o config file.Günther Deschner2012-06-261-0/+6
| | | | Guenther
* WIP: Add various fixes to gssproxy.spec.Günther Deschner2012-06-261-88/+28
| | | | Guenther
* Add syslog warning when event loop init fails.Günther Deschner2012-06-261-0/+1
| | | | Guenther
* WIPSimo Sorce2012-06-261-17/+1
|
* WIP: Add name handlersSimo Sorce2012-06-268-38/+93
|
* WIP: Add context handle wrappersSimo Sorce2012-06-264-6/+23
|
* WIP: add cred handle wrappersSimo Sorce2012-06-265-19/+73
|
* WIP: The mechglue always passes us the right name typeSimo Sorce2012-06-263-14/+6
| | | | | | The mechglue does an internal import name before calling any plugin, this means the gss_name_t we are getting is already a gssx_name. Do not try to re-import it as that would fail.
* WIP-init_sec_ctxSimo Sorce2012-06-261-0/+2
|
* Implement cred/context release mechglue wrappersSimo Sorce2012-06-262-0/+52
|
* Implement init sec context mechglue wrapperSimo Sorce2012-06-262-0/+68
|
* Implement indicate mechs related mechglue wrappersSimo Sorce2012-06-263-1/+83
|
* Implement name related mechglue wrappersSimo Sorce2012-06-262-0/+117
|
* Implement display status mechglue wrappersSimo Sorce2012-06-262-0/+69
|
* Implement accept sec context mechglue wrappersSimo Sorce2012-06-262-0/+57
|
* Implement passthrough acquire_cred_with_passwordSimo Sorce2012-06-261-0/+62
|
* Implement acquire cred mechglue wrappersSimo Sorce2012-06-262-0/+83
|
* Add mechglue functions declarationsSimo Sorce2012-06-261-0/+114
|
* Add simple functions to map errorsSimo Sorce2012-06-262-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 special-filter OID setsSimo Sorce2012-06-262-0/+54
|
* Add function to return a special mechSimo Sorce2012-06-263-0/+62
| | | | | | | 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 invalid oid that the mechglue transforms back into a real OID before selecting the appropriate mechanism.
* Add loop avoidance in proxy daemon and gssapi pluginSimo Sorce2012-06-262-0/+11
|
* Add initialization codeSimo Sorce2012-06-263-2/+206
| | | | | | | 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
* Build mechglue as a pluginSimo Sorce2012-06-261-0/+13
|
* Add macro to suppress const warningsSimo Sorce2012-06-261-0/+2
|
* Save internal errors in init_sec_contextSimo Sorce2012-06-261-0/+2
|
* Add function to report internal client errorsSimo Sorce2012-06-262-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.
* Move release_name to the proper placeSimo Sorce2012-06-262-11/+10
|
* Fix gpm_display_statusSimo Sorce2012-06-261-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 gss_inquire_name to mechglueSimo Sorce2012-06-262-0/+64
|
* Fix DEBUG message formatSimo Sorce2012-06-261-1/+2
|
* memset default input token for init_sec_contextSimo Sorce2012-06-261-3/+2
|
* Fix handling deleg_creds in accept_sec_contextSimo Sorce2012-06-261-13/+10
| | | | We would segfault if the user didn't want delegated redentials.
* Fix segfaults when NULL buffer is passed in.Simo Sorce2012-06-262-5/+11
|
* Use gp_find_and_free_cred() in gp_release_handle().Günther Deschner2012-06-251-4/+1
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Add gp_find_and_free_cred().Günther Deschner2012-06-252-0/+30
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Add free_config() and call it when server shuts down.Günther Deschner2012-06-253-0/+27
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Finally use ring buffer in import and export calls.Günther Deschner2012-06-251-8/+84
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Make gp_import_gssx_cred() static, it is not used outside this file.Günther Deschner2012-06-252-2/+1
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Pass down struct gp_service to import and export credential calls.Günther Deschner2012-06-256-7/+15
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Allow to set per service ring buffer, with configurable size.Günther Deschner2012-06-251-0/+45
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Set pointer to one of the existing ring buffers in service loading.Günther Deschner2012-06-251-0/+8
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Add gp_service_get_ring_buffer to retrieve buffer from a service.Günther Deschner2012-06-252-0/+5
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Add gp_ring_buffer pointer to struct gp_service.Günther Deschner2012-06-251-0/+4
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Add gp_read_gss_creds_from_ring_buffer/gp_write_gss_creds_to_ring_buffer.Günther Deschner2012-06-251-0/+93
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Add two ring_buffers to gp_config struct.Günther Deschner2012-06-252-0/+36
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Add gp_init_ring_buffer/gp_free_ring_buffer.Günther Deschner2012-06-252-1/+143
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>