Lines Matching refs: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>
168 char *hostname = NULL; /* host, used in cert filenames */
348 * gethostname() won't null-terminate if hostname is exactly the
353 hostname = hostbuf;
419 hostname = estrdup(OPT_ARG( SUBJECT_NAME ));
434 * Remove the group name from the hostname variable used
437 if (hostname != hostbuf)
438 ptr = strchr(hostname, '@');
445 if (ptr == hostname)
446 hostname = hostbuf;
452 * and subject is the hostname with no '@group', and the
453 * groupname variable is pointed to hostname for use in IFF, GQ,
457 certname = hostname;
460 hostname, groupname);
501 snprintf(filename, sizeof(filename), "ntpkey_cert_%s", hostname);
563 fprintf(stderr, "Using host %s group %s\n", hostname,
575 snprintf(filename, sizeof(filename), "ntpkey_host_%s", hostname);
599 hostname);
1013 str = fheader("RSAsign", id, hostname);
1015 str = fheader("RSAhost", id, hostname);
1067 str = fheader("DSAsign", id, hostname);
2073 str = fheader(pathbuf, "cert", hostname);
2261 hostname);