/sssd/src/tools/sssctl/ |
H A D | sssctl_logs.c | 30 #define LOG_FILE(file) " " LOG_PATH "/" file 82 const char *file; local 88 "FILE", "Output file", &file, NULL); 94 cmd = talloc_asprintf(tool_ctx, "tar -czf %s %s", file, LOG_FILES); 99 printf(_("Archiving log files into %s...\n"), file);
|
H A D | sssctl_data.c | 61 static bool sssctl_backup_file_exists(const char *file) argument 63 return access(file, F_OK) == 0;
|
/sssd/src/tools/common/ |
H A D | sss_colondb.c | 27 #define IS_STD_FILE(db) ((db)->file == stdin || (db)->file == stdout) 101 FILE *file; member in struct:sss_colondb 121 readchars = getline(&line, &linelen, db->file); 243 fprintf(db->file, "%s\n", line); 244 fflush(db->file); 258 if (db->file == NULL || IS_STD_FILE(db)) { 262 fclose(db->file); 263 db->file = NULL; 286 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to open file [all...] |
/sssd/src/sss_client/ |
H A D | nss_mc_common.c | 38 /* FIXME: temporarily open passwd file on our own, later we will probably 138 char *file = NULL; local 148 ret = asprintf(&file, "%s/%s", SSS_NSS_MCACHE_DIR, name); 154 ctx->fd = sss_open_cloexec(file, O_RDONLY, &ret); 191 free(file);
|
/sssd/src/tests/ |
H A D | common_dbus.c | 57 const char *file; local 70 file = strchr(mock->dbus_address, '/'); 71 if (stat(file, &sb) == 0) { 72 verify_eq (unlink(file), 0);
|
H A D | debug-tests.c | 132 FILE *file = NULL; local 146 file = fdopen(fd, "r"); 147 if (file == NULL) { 162 ret = fseek(file, 0, SEEK_END); 169 filesize = ftell(file); 176 rewind(file); 184 fsize = fread(msg, sizeof(char), filesize, file); 256 if (file != NULL) { 257 fclose(file); 272 FILE *file; local [all...] |
/sssd/src/util/ |
H A D | debug.c | 61 "Could not open debug file descriptor [%d]. " 62 "Debug messages will not be written to the file " 147 errno_t journal_send(const char *file, argument 168 res = asprintf(&code_file, "CODE_FILE=%s", file); 209 void sss_vdebug_fn(const char *file, argument 235 ret = journal_send(file, line, function, level, format, ap); 275 void sss_debug_fn(const char *file, argument 284 sss_vdebug_fn(file, line, function, level, 0, format, ap); 381 sss_log(SSS_LOG_EMERG, "Could not open file [%s]. Error: [%d][%s]\n", 437 * current file, s [all...] |
H A D | server.c | 53 /* try and use up these file descriptors, so silly 64 DEBUG(SSSDBG_FATAL_FAILURE, "Didn't get file descriptor %d\n",i); 146 char *file; local 154 file = talloc_asprintf(NULL, "%s/%s.pid", path, name); 155 if (!file) { 159 fd = open(file, O_RDONLY, 0644); 169 talloc_free(file); 184 talloc_free(file); 190 talloc_free(file); 195 /* nothing in the file o [all...] |
H A D | sss_ini.c | 54 struct ini_cfgfile *file; member in struct:sss_ini_initdata 69 int file; member in struct:sss_ini_initdata 90 /* Close file descriptor */ 96 if (init_data->file != NULL) { 97 ini_config_file_destroy(init_data->file); 98 init_data->file = NULL; 101 if (init_data->file != -1) { 102 close(init_data->file); 103 init_data->file = -1; 110 /* Open configuration file */ [all...] |
/sssd/src/providers/ad/ |
H A D | ad_gpo_child.c | 271 * This function stores the input buf to a local file, whose file path 276 * Note that the backend will later read the file from the same file path. 428 * This function parses the GPT_INI file stored in the gpo_cache, and uses the 521 * This function uses the input smb uri components to download a sysvol file 522 * (e.g. INI file, policy file, etc) and store it to the GPO_CACHE directory. 532 SMBCFILE *file; local 555 file [all...] |
/sssd/src/sbus/ |
H A D | sbus_codegen | 81 file = None variable in class:DBusXmlException 86 if self.file and self.line: 87 return "%s:%d: %s" % (self.file, self.line, message) 88 elif self.file: 89 return "%s: %s" % (self.file, message) 614 out(" * The actual definitions are found in the accompanying C file next") 666 ex.file = filename 671 exc.file = filename 783 help="Set output file name (default: stdout)", 792 print("sbus_codegen: no input file specifie [all...] |
H A D | sssd_dbus_introspect.c | 52 #define WRITE_OR_FAIL(file, ret, label, fmt, ...) do { \ 53 ret = fprintf(file, fmt, ##__VA_ARGS__); \ 115 sbus_introspect_generate_args(FILE *file, argument 132 WRITE_OR_FAIL(file, ret, done, FMT_SIGNAL_ARG, 136 WRITE_OR_FAIL(file, ret, done, FMT_METHOD_ARG, 140 WRITE_OR_FAIL(file, ret, done, FMT_METHOD_ARG, 152 #define sbus_introspect_generate_in_args(file, args) \ 153 sbus_introspect_generate_args(file, args, SBUS_ARG_IN) 155 #define sbus_introspect_generate_out_args(file, args) \ 156 sbus_introspect_generate_args(file, arg 162 sbus_introspect_generate_methods(FILE *file, const struct sbus_method_meta *methods) argument 203 sbus_introspect_generate_signals(FILE *file, const struct sbus_signal_meta *signals) argument 239 sbus_introspect_generate_properties(FILE *file, const struct sbus_property_meta *props) argument 267 sbus_introspect_generate_iface(FILE *file, struct sbus_interface *iface) argument 300 sbus_introspect_generate_nodes(FILE *file, const char **nodes) argument [all...] |
/sssd/src/providers/ |
H A D | data_provider_fo.c | 773 const char *file, 783 file, function, line); 788 file, function, line); 793 file, function, line); 768 _be_fo_set_port_status(struct be_ctx *ctx, const char *service_name, struct fo_server *server, enum port_status status, int line, const char *file, const char *function) argument
|
/sssd/src/providers/ipa/ |
H A D | ipa_access.c | 38 void hbac_debug_messages(const char *file, int line, argument 70 sss_vdebug_fn(file, line, function, loglevel, 0, fmt, ap);
|
/sssd/src/providers/krb5/ |
H A D | krb5_common.c | 157 DEBUG(SSSDBG_CONF_SETTINGS, "ccache file name template [%s] doesn't " 158 "contain randomizing characters (XXXXXX), file might not " 287 /* warn if the file type (which is usally created in a sticky bit 412 "KDC Proxy available for realm [%s], no kdcinfo file created.\n", 805 char *file; local 807 file = talloc_asprintf(mem_ctx, KDCINFO_TMPL, realm); 808 if(file == NULL) { 814 ret = unlink(file); 817 DEBUG(SSSDBG_FUNC_DATA, "Could not remove [%s], [%d][%s]\n", file, 821 file [all...] |
/sssd/src/responder/nss/ |
H A D | nsssrv_mmap_cache.c | 57 char *file; /* mmap cache file name */ member in struct:sss_mc_ctx 58 int fd; /* file descriptor */ 133 char *file = NULL; local 148 file = talloc_asprintf(tmp_ctx, "%s_%s", 149 mc_ctx->file, "corrupted"); 150 if (file == NULL) { 156 fd = creat(file, 0600); 160 "Failed to open file '%s' [%d]: %s\n", 161 file, er [all...] |
/sssd/src/tests/cmocka/ |
H A D | test_utils.c | 1343 char *file; local 1364 ret = asprintf(&file, "%s/%s/localauth_plugin", cwd, TESTS_PATH); 1379 ret = unlink(file); 1386 free(file);
|
/sssd/src/monitor/ |
H A D | monitor.c | 84 #define CONF_FILE_PERM_ERROR_MSG "Cannot read config file %s. Please check "\ 85 "that the file is accessible only by the "\ 1546 const char *file, 1570 /* We will queue the file for update in one second. 1571 * This way, if there is a script writing to the file 1581 "Unable to queue config file update! Exiting.\n"); 1610 DEBUG(SSSDBG_CRIT_FAILURE, "Processing config file changes\n"); 1626 "Critical error reading inotify file descriptor [%d]: %s\n", 1645 "Critical error reading inotify file descriptor [%d]: %s\n", 1662 /* Some text editors will move a new file o 1900 monitor_config_file(TALLOC_CTX *mem_ctx, struct mt_ctx *ctx, const char *file, monitor_reconf_fn fn, bool ignore_missing) argument 1958 monitor_config_file_fallback(TALLOC_CTX *mem_ctx, struct mt_ctx *ctx, const char *file, monitor_reconf_fn fn, bool ignore_missing) argument [all...] |