Commit Graph

10 Commits

Author SHA1 Message Date
Jacques A. Vidrine
fed304b01c RFC 2743 says (regarding gss_acquire_cred),
``A caller may provide the value NULL (GSS_C_NO_NAME) for
  desired_name, which will be interpreted as a request for a
  credential handle that will invoke default behavior when passed
  to GSS_Init_sec_context(), if cred_usage is GSS_C_INITIATE
  or GSS_C_BOTH, or GSS_Accept_sec_context(), if cred_usage is
  GSS_C_ACCEPT or GSS_C_BOTH.''


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:02:45 +00:00
Jacques A. Vidrine
9efd74fabe Attempt to handle GSS_C_INITIATE/GSS_C_ACCEPT/GSS_C_BOTH.
If GSS_C_INITIATE is specified, then get credentials from the
default cache.  If we don't have any, then try using the keytab.
If GSS_C_ACCEPT is specified, just note our principal name and
open the keytab.
If GSS_C_BOTH is specified, do both of the above.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-09 15:22:34 +00:00
Jacques A. Vidrine
d28ddf2324 = gss_acquire_cred should handle a NULL desired_name
= add a call to gssapi_krb5_init


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-09 01:41:37 +00:00
Assar Westerlund
d4e769fa5c make gsskrb5_register_acceptor_identity set the keytab to be used for gss_acquire_cred too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-06 15:33:28 +00:00
Assar Westerlund
e55eee640b try to return the error string from krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 09:16:47 +00:00
Assar Westerlund
db65084e93 (gss_acquire_cred): remove memory leaks. from Jason R Thorpe <thorpej@zembu.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 02:25:49 +00:00
Assar Westerlund
19543430ad add support for getting creds from a keytab, from fvdl@netbsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 00:49:05 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
0a7e50682f typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3147 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-25 20:58:43 +00:00
Assar Westerlund
931c5154bc new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3047 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-17 16:39:24 +00:00