/* * $Source$ * $Author$ * * Copyright 1990 by the Massachusetts Institute of Technology. * All Rights Reserved. * * For copying and distribution information, please see the file * . * * Get the name of the file containing a file-based keytab. */ #if !defined(lint) && !defined(SABER) static char rcsid_ktfile_get_name_c[] = "$Id$"; #endif /* !lint & !SABER */ #include #include #include "ktfile.h" krb5_error_code krb5_ktfile_get_name(id, name, len) krb5_keytab id; char *name; int len; /* * This routine returns the name of the name of the file associated with * this file-based keytab. name is zeroed and the filename is truncated * to fit in name if necessary. */ { memset(name, 0, len); strncpy(name, KTFILENAME(id), len); return(0); /* XXX */ }