summaryrefslogtreecommitdiffstats
path: root/src/gssapi.c
Commit message (Collapse)AuthorAgeFilesLines
* gssapi: Fix support of delegated credentialsgssfixesSimo Sorce2013-11-151-23/+37
| | | | | | | | | | | In a previous refactoring patch, the code underpinning the ssh_gssapi_set_creds() API was inadvertently removed. This patch fixes the problem. Also clarify what variable holds which credentials and insure that credentials created within the library are propelry freed. Signed-off-by: Simo Sorce <simo@redhat.com>
* gssapi: Add support for GSSAPIDelegateCredentials config option.Simo Sorce2013-11-151-0/+3
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* gssapi: Add error checks and cleanup the code in ssh_gssapi_auth_mic().Andreas Schneider2013-11-151-2/+13
|
* gssapi: Use GSSAPIClientIdentity to acquire credsSimo Sorce2013-11-151-3/+23
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: Add suppport to set GSSAPI server identity.Andreas Schneider2013-11-151-1/+6
|
* Fix gssapi credential handling.Simo Sorce2013-11-151-105/+65
| | | | | | | | | | | - Properly acquire and inquitre credentials to get the list of available credentials. - Avoid enforcing a specific username it breaks some use cases (k5login). - Remove confusing references to delegated credentials as there is no code that actually uses delegated credentials in the initialization case. Signed-off-by: Siom Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: Fix a build warning if we build without server support.Andreas Schneider2013-07-251-5/+1
|
* gssapi: Fix include with Heimdal.Andreas Schneider2013-07-241-1/+1
|
* gssapi: Fix a memory leak in ssh_gssapi_auth_mic().Andreas Schneider2013-07-231-0/+1
| | | | CID: 1046708
* cmake: Check for unistd.h.Andreas Schneider2013-07-231-12/+15
|
* gssapi: Add brackets in ssh_packet_userauth_gssapi_mic().Andreas Schneider2013-07-211-8/+15
|
* gssapi: Cleanup ssh_gssapi_set_creds().Andreas Schneider2013-07-211-6/+13
|
* gssapi: Replace printf with SSH_LOG.Andreas Schneider2013-07-211-2/+2
|
* gssapi: Refactor ssh_gssapi_send_mic() to not leak memory.Andreas Schneider2013-07-141-3/+21
| | | | CID #0
* gssapi: Check return values of buffer functions.Andreas Schneider2013-07-141-4/+14
| | | | CID #0
* gssapi: Remove dead code.Andreas Schneider2013-07-141-5/+0
| | | | CID #0
* gssapi: Refactor ssh_gssapi_build_mic() to avoid memory leaks.Andreas Schneider2013-07-141-10/+54
| | | | CID #0
* gssapi: Fix a possible memory leak.Andreas Schneider2013-07-141-3/+7
| | | | CID #0
* gssapi: Fix a memory leak.Andreas Schneider2013-07-141-1/+3
| | | | CID #0
* src: Migrate to SSH_LOG.Andreas Schneider2013-07-141-44/+44
|
* server: Fix compilation without WITH_SERVERAris Adamantiadis2013-07-141-1/+12
|
* gssapi: Fix indentation.Aris Adamantiadis2013-07-131-681/+681
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: Fix ticket forwarding bugAris Adamantiadis2013-07-131-12/+18
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: Add user parameter to gssapi auth callbackAris Adamantiadis2013-07-131-1/+2
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: remove dead codeAris Adamantiadis2013-07-131-29/+0
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: gssapi callbacks serversideAris Adamantiadis2013-07-131-15/+63
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: more debug infoAris Adamantiadis2013-07-131-4/+6
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: implement ticket delegationAris Adamantiadis2013-07-131-14/+38
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: retrieve forwarded (delegated) ticketsAris Adamantiadis2013-07-131-1/+14
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: store client's credentialsAris Adamantiadis2013-07-131-6/+7
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: implement client-side gssapiAris Adamantiadis2013-07-131-2/+394
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: implement gssapi-with-mic server sideAris Adamantiadis2013-07-131-0/+366
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* GSSAPI: added stubAris Adamantiadis2013-07-131-0/+25
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>