Added flag argument to krb5_recvauth()
Removed declaration of two internal routines (krb5_generate_authenticator and
find_preauthenticator).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3052
dc483132-0cff-0310-8789-
dd5450dbe970
#define krb5_princ_name(princ) (princ)->data
#define krb5_princ_component(princ,i) ((princ)->data + i)
-/* The name of the Kerberos ticket granting service... and its size */
-#define KRB5_TGS_NAME "krbtgt"
-#define KRB5_TGS_NAME_SIZE 6
-
#endif /* KRB5_BASE_DEFS__ */
krb5_rdreq_key_proc,
krb5_pointer,
char *,
+ krb5_int32,
krb5_int32 *,
krb5_principal*,
krb5_ticket **,
krb5_authenticator **));
-krb5_error_code
-krb5_generate_authenticator PROTOTYPE(( krb5_authenticator *, krb5_principal,
- const krb5_checksum *, krb5_keyblock *,
- krb5_int32, krb5_authdata ** ));
-
#ifdef NARROW_PROTOTYPES
krb5_error_code krb5_walk_realm_tree
PROTOTYPE((const krb5_data *,
passwd_phrase_element **element;
} krb5_pwd_data;
+/* The name of the Kerberos ticket granting service... and its size */
+#define KRB5_TGS_NAME "krbtgt"
+#define KRB5_TGS_NAME_SIZE 6
+
+/* flags for recvauth */
+#define KRB5_RECVAUTH_SKIP_VERSION 0x0001
+#define KRB5_RECVAUTH_BADAUTHVERS 0x0002
+
#endif /* KRB5_GENERAL__ */
#define KRB5_PREAUTH_FLAGS_ENCRYPT 0x00000001
#define KRB5_PREAUTH_FLAGS_HARDWARE 0x00000002
-krb5_error_code find_preauthenticator
- PROTOTYPE((int type, krb5_preauth_ops **Preauth_proc));
-
#if 0
krb5_error_code get_random_padata
PROTOTYPE((krb5_principal client, krb5_address **src_addr,