Lines Matching refs:keytab

6  * lib/krb5/keytab/kt_file.c
49 #define KRB5_KT_VNO_1 0x0501 /* krb v5, keytab version 1 (DCE compat) */
50 #define KRB5_KT_VNO 0x0502 /* krb v5, keytab version 2 (standard) */
61 int version; /* Version number of keytab */
185 * This is an implementation specific resolver. It returns a keytab id
186 * initialized with file keytab routines.
229 * "Close" a file-based keytab and invalidate the id. This means
237 * for this keytab. There are no system resources that need
253 * This is the get_entry routine for the file based keytab implementation.
254 * It opens the keytab file, and either retrieves the entry or returns
343 /* A 1.2.x keytab contains only the low 8 bits of the key
371 /* Yuck. The krb5-1.2.x keytab format only stores one byte
412 * Get the name of the file containing a file-based keytab.
419 * this file-based keytab. name is zeroed and the filename is truncated
523 * ser_ktf.c - Serialize keytab file context for subsequent reopen.
560 krb5_keytab keytab;
565 if ((keytab = (krb5_keytab) arg)) {
569 * krb5_int32 for length of keytab name.
577 if (keytab->ops && keytab->ops->prefix)
578 required += (strlen(keytab->ops->prefix)+1);
581 * The keytab name is formed as follows:
586 ktdata = (krb5_ktfile_data *) keytab->data;
605 krb5_keytab keytab;
620 if ((keytab = (krb5_keytab) arg)) {
627 ktdata = (krb5_ktfile_data *) keytab->data;
632 namelen = (keytab->ops && keytab->ops->prefix) ?
633 strlen(keytab->ops->prefix)+1 : 0;
641 /* Format the keytab name. */
642 if (keytab->ops && keytab->ops->prefix)
643 sprintf(ktname, "%s:%s", keytab->ops->prefix, fnamep);
648 /* Fill in the file-specific keytab information. */
707 krb5_keytab keytab;
725 /* Get the length of the keytab name */
734 kret = krb5_kt_resolve(kcontext, ktname, &keytab);
737 ktdata = (krb5_ktfile_data *) keytab->data;
740 keytab->data = (void *) malloc(sizeof(krb5_ktfile_data));
741 ktdata = (krb5_ktfile_data *) keytab->data;
769 keytab);
772 keytab);
775 fseek(KTFILEP(keytab), fpos, SEEK_SET);
785 if (keytab->data) {
786 if (KTFILENAME(keytab))
787 krb5_xfree(KTFILENAME(keytab));
788 krb5_xfree(keytab->data);
790 krb5_xfree(keytab);
795 *argp = (krb5_pointer) keytab;
805 * This is an implementation specific resolver. It returns a keytab id
806 * initialized with file keytab routines.
992 * lib/krb5/keytab/file/ktf_util.c
1022 * the keytab. There are no public functions in this file.
1025 * keytab file.
1535 * Fill in the time of day the entry was written to the keytab.
1600 * keytab entry.