REALM_SEP_STRING
fname = malloc(keylen + rlen + strlen(REALM_SEP_STRING) + 1);
(void)strcat(fname, REALM_SEP_STRING);