aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/krb/vic_opt.c
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1997-12-06 08:00:17 +0000
committerTom Yu <tlyu@mit.edu>1997-12-06 08:00:17 +0000
commit32ab452e321b0d79d788c41c1b81bc039f9fe7fb (patch)
tree8dfbc45b401efd5e9e8ea5a498793fb7e95f2de4 /src/lib/krb5/krb/vic_opt.c
parent555d66fca2b801e59618eda5433cf4389eba60f9 (diff)
downloadkrb5-32ab452e321b0d79d788c41c1b81bc039f9fe7fb.zip
krb5-32ab452e321b0d79d788c41c1b81bc039f9fe7fb.tar.gz
krb5-32ab452e321b0d79d788c41c1b81bc039f9fe7fb.tar.bz2
* Makefile.in: Add files chpw.c, gic_*, preauth2.c, vfy_increds.c,
vic_opt.c. * chpw.c: New file; implement Cygnus chpw. * get_in_tkt.c: Implement support for Cygnus initial credentials API. * gic_keytab.c: New file; Cygnus initial creds. * gic_opt.c: New file; Cygnus initial creds. * gic_pwd.c: New file; Cygnus initial creds. * preauth.c: Add more SAM support (from Cygnus). * preauth2.c: New file; additional SAM support from Cygnus. * send_tgs.c: Account for additional parameter to sendto_kdc. * vfy_increds.c: New file; Cygnus initial creds. * vic_opt.c: New file; Cygnus initial creds. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10321 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/vic_opt.c')
-rw-r--r--src/lib/krb5/krb/vic_opt.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/vic_opt.c b/src/lib/krb5/krb/vic_opt.c
new file mode 100644
index 0000000..d28d709
--- /dev/null
+++ b/src/lib/krb5/krb/vic_opt.c
@@ -0,0 +1,17 @@
+#include "k5-int.h"
+
+KRB5_DLLIMP void KRB5_CALLCONV
+krb5_verify_init_creds_opt_init(opt)
+ krb5_verify_init_creds_opt *opt;
+{
+ opt->flags = 0;
+}
+
+KRB5_DLLIMP void KRB5_CALLCONV
+krb5_verify_init_creds_opt_set_ap_req_nofail(opt, ap_req_nofail)
+ krb5_verify_init_creds_opt *opt;
+ int ap_req_nofail;
+{
+ opt->flags |= KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL;
+ opt->ap_req_nofail = ap_req_nofail;
+}