summaryrefslogtreecommitdiffstats
path: root/proxy
Commit message (Collapse)AuthorAgeFilesLines
...
* Output type can be null in gss_display_nameSimo Sorce2012-08-061-7/+9
|
* memset default input token for init_sec_contextSimo Sorce2012-07-261-3/+2
|
* 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-262-5/+11
|
* Allow cleanup of files to make distcheck happySimo Sorce2012-07-101-0/+3
|
* Add missing headers to Makefile.amSimo Sorce2012-07-101-1/+15
|
* First releaseSimo Sorce2012-07-103-128/+128
| | | | | | Bump up version to 0.0.2 for the first release Temporarily disable man page translations as we have none Use PAX option for tar so it can handle large uids in make dist
* Remove Fixme commentGünther Deschner2012-07-061-21/+0
| | | | | | We solved the cred import/export problem we had. Signed-off-by: Simo Sorce <simo@redhat.com>
* Remove unused gp_credential_handle conversion fnsGünther Deschner2012-07-061-34/+0
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Use gp_encrypt_buffer and gp_decrypt_buffer.Günther Deschner2012-07-061-4/+6
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Add encryption/decryption routinesGünther Deschner2012-07-061-0/+106
| | | | | | Use krb5 functions to AES encrypt/decrypt a buffer. Signed-off-by: Simo Sorce <simo@redhat.com>
* Unify find credsSimo Sorce2012-07-061-19/+20
|
* Fix return status for release handle function.Simo Sorce2012-07-061-2/+2
| | | | We were returning random values allocated on the stack in case of success.
* 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>
* Mention socket filename in debug output in init_unix_socket().Günther Deschner2012-06-211-1/+2
| | | | Guenther
* Fix option_is_set() function.Günther Deschner2012-06-211-1/+1
| | | | Guenther
* use option_is_set() config parser helper.Günther Deschner2012-05-311-7/+2
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Create gssproxy.spec during configure.Günther Deschner2012-05-311-1/+2
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Fix popt usage message for -d option.Günther Deschner2012-05-311-1/+1
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* add option_is_set() helper function for config parsing.Günther Deschner2012-05-311-0/+12
| | | | | | Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
* Replace direct syslog calls with logging macrosSimo Sorce2012-04-154-23/+15
|
* Add logging helpersSimo Sorce2012-04-155-4/+72
|
* Add some socket debuggingSimo Sorce2012-04-151-1/+14
|
* gp_export: Add facility to export creds as gssx optionsSimo Sorce2012-04-153-0/+268
| | | | Add Initial test implementation of the Linux Kernel NFS creds structure.
* Change accept/init_sec_context to use the new export context functionsSimo Sorce2012-04-153-13/+23
|
* Add support for linux kernel lucid ctx buffer formatSimo Sorce2012-04-151-11/+130
|
* Move ctx_id function and add export type optionSimo Sorce2012-04-154-107/+152
| | | | | Move the function to export a context to gssx_ctx or import into gp_export.c Add function to check for exported_context_type option in call_ctx
* Use gp_add_krb5_creds until cred store extensions are available.Simo Sorce2012-04-152-35/+88
|
* creds: add code to import krb5 credentials based on configuration.Simo Sorce2012-04-0518-15/+453
|
* Depend on UCRED, we cannot work otherwise.Simo Sorce2012-04-052-5/+1
|
* config: Rework configuration syntaxSimo Sorce2012-04-053-145/+88
| | | | | | | Keeping 2 separate sections for credentials and services seem to just make things really confusing. The off chance of reusing a 'credential' section is dwarfed by the confusion cause by keeping them separate. Having to copy a full service section is not a big deal so KISS wins here.
* Document build requirements a little better.Günther Deschner2012-04-051-0/+20
| | | | | | resolves ticket: #37 Guenther
* 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.
* Official IANA Assigned RPC Program NumberSimo Sorce2012-03-301-1/+1
|
* 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.