Lines Matching defs:file_name
617 static errno_t sss_write_krb5_snippet_common(const char *file_name,
635 tmp_file = talloc_asprintf(tmp_ctx, "%sXXXXXX", file_name);
670 ret = rename(tmp_file, file_name);
679 ret = chmod(file_name, 0644);
713 const char *file_name;
721 file_name = talloc_asprintf(tmp_ctx, "%s/localauth_plugin", path);
722 if (file_name == NULL) {
729 file_name);
731 ret = sss_write_krb5_snippet_common(file_name, LOCALAUTH_PLUGIN_CONFIG);
754 const char *file_name;
763 file_name = talloc_asprintf(tmp_ctx, "%s/krb5_libdefaults", path);
764 if (file_name == NULL) {
771 file_name);
803 ret = sss_write_krb5_snippet_common(file_name, file_contents);