Lines Matching defs:hostname
10 * All file names are like "ntpkey_<type>_<hostname>.<filestamp>", where
11 * <type> is the file type, <hostname> the generating host name and
17 * ntpkey_MD5key_<hostname>.<filestamp>
21 * ntpkey_RSAhost_<hostname>.<filestamp>
22 * ntpkey_host_<hostname>
25 * ntpkey_RSAsign_<hostname>.<filestamp>
26 * ntpkey_sign_<hostname>
29 * ntpkey_DSAsign_<hostname>.<filestamp>
30 * ntpkey_sign_<hostname>
38 * ntpkey_XXXcert_<hostname>.<filestamp>
39 * ntpkey_cert_<hostname>
172 char *hostname = NULL; /* host, used in cert filenames */
356 * gethostname() won't null-terminate if hostname is exactly the
361 hostname = hostbuf;
429 hostname = estrdup(OPT_ARG( SUBJECT_NAME ));
444 * Remove the group name from the hostname variable used
447 if (hostname != hostbuf)
448 ptr = strchr(hostname, '@');
455 if (ptr == hostname)
456 hostname = hostbuf;
462 * and subject is the hostname with no '@group', and the
463 * groupname variable is pointed to hostname for use in IFF, GQ,
467 certname = hostname;
470 hostname, groupname);
513 snprintf(filename, sizeof(filename), "ntpkey_cert_%s", hostname);
575 fprintf(stderr, "Using host %s group %s\n", hostname,
587 snprintf(filename, sizeof(filename), "ntpkey_host_%s", hostname);
611 hostname);
1025 str = fheader("RSAsign", id, hostname);
1027 str = fheader("RSAhost", id, hostname);
1079 str = fheader("DSAsign", id, hostname);
2085 str = fheader(pathbuf, "cert", hostname);
2273 hostname);