summaryrefslogtreecommitdiffstats
path: root/proxy/src/mechglue
Commit message (Collapse)AuthorAgeFilesLines
...
* Add simple functions to map errorsSimo Sorce2012-10-252-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 mechSimo Sorce2012-10-252-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 envvarSimo Sorce2012-10-252-0/+38
|
* Add loop avoidance in proxy daemon and gssapi pluginSimo Sorce2012-10-251-0/+8
|
* Add initialization codeSimo Sorce2012-10-252-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 directorySimo Sorce2012-08-3110-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_contextSimo Sorce2012-08-311-0/+2
|
* Add function to report internal client errorsSimo Sorce2012-08-312-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_statusSimo Sorce2012-08-311-0/+2
|
* Move release_name to the proper placeSimo Sorce2012-08-312-11/+10
|
* Fix gpm_display_statusSimo Sorce2012-08-311-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 libSimo Sorce2012-08-312-0/+68
|
* Output type can be null in gss_display_nameSimo Sorce2012-08-061-7/+9
|
* Fix handling deleg_creds in accept_sec_contextSimo Sorce2012-07-261-13/+10
| | | | We would segfault if the user didn't want delegated redentials.
* Fix segfaults when NULL buffer is passed in.Simo Sorce2012-07-261-3/+5
|
* gp_socket: properly handle fagment bitSimo Sorce2012-03-221-1/+5
|
* server: better handle return statusSimo Sorce2012-02-231-20/+24
| | | | Ticket #33
* Implement init_sec_context mechglue functionSimo Sorce2012-02-092-0/+185
|
* Implement import_and_canon_name mechglue functions familySimo Sorce2012-02-072-0/+285
|
* Add more functions of the indicate_mechs() familySimo Sorce2012-02-052-14/+466
|
* Fix accept_sec_context to properly return src_nameSimo Sorce2012-02-051-0/+8
|
* Add gpm_indicate_mechs functions to mechglue librarySimo Sorce2012-02-032-0/+309
|
* Add gpm_acquire_cred functions to mechglue librarySimo Sorce2012-02-012-0/+306
|
* 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-302-0/+121
| | | | | 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