/sssd/src/tests/ |
H A D | whitespace_test | 5 # An AWK regex matching tracked file paths to be excluded from the search. 40 while read file; do 41 [[ $file == "src/config/testconfigs/noparse.api.conf" ]] && continue 42 [[ $file =~ ^src/tests/cmocka/p11_nssdb/.*db ]] && continue 43 test `tail -c 1 $ABS_TOP_SRCDIR/$file` && \ 44 echo "Missing new line at the eof: $file" && \
|
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...] |
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 | pysss_murmur-test.py | 59 print("Could not load the pysss_murmur module. Please check if it is compiled", file=sys.stderr)
|
/sssd/src/sbus/ |
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...] |
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...] |
/sssd/contrib/ci/ |
H A D | rpm-spec-builddeps | 3 # Extract build dependencies from an RPM .spec file. 24 def usage(file): 25 file.write(("Usage: %s SPEC\n" + 26 "Extract build dependencies from an RPM .spec file.\n") %
|
H A D | run | 57 -p, --prefix=STRING Use STRING as the prefix to prepend to file and 69 # Output a file display path: a path relocated from base directory (BASE_DIR) 289 --output-file ci-base.info 298 --output-file ci-check.info 301 --output-file ci-dirty.info 304 --output-file ci.info
|
/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/util/ |
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...] |
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 | debug.h | 41 void sss_vdebug_fn(const char *file, 48 void sss_debug_fn(const char *file,
|
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...] |
/sssd/src/tools/ |
H A D | sss_obfuscate | 18 file. The password can be passed in by stdin, \ 28 parser.add_option("-f", "--file", 30 help="Set input file to FILE (default: Use system " 41 print("Cannot parse options", file=sys.stderr) 45 print("No domain specified", file=sys.stderr) 68 print('\nUnexpected end-of-file. Password change aborted', 69 file=sys.stderr) 93 print("Permissions error reading config file") 115 print("Could not write to config file. Check that you have the " 116 "appropriate permissions to edit this file [all...] |
/sssd/contrib/rhel/ |
H A D | update_debug_levels.py | 24 help="""Do not provide backup file after conversion. 25 The script copies the original file with the suffix .bak.<timestamp> 32 print("Stray arguments: %s" % ' '.join([a for a in args]), file=sys.stderr) 44 print("Cannot parse options", file=sys.stderr) 47 # Import the current config file 86 # Save the original file
|
/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/responder/ifp/ |
H A D | org.freedesktop.sssd.infopipe.conf | 7 <!-- This configuration file specifies the required security policies
|
/sssd/src/lib/ipa_hbac/ |
H A D | ipa_hbac.h | 62 typedef void (*hbac_debug_fn_t)(const char *file, int line,
|
/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/config/SSSDConfig/ |
H A D | ipachangeconf.py | 2 # ipachangeconf - configuration file manipulation classes and functions 354 # Read in the old file. 396 # Write settings to configuration file 397 # file is a path 401 def changeConf(self, file, newopts): 408 #Do not catch an unexisting file error, we want to fail in that case 409 shutil.copy2(file, file+self.backup_suffix) 411 f = openLocked(file, 0o644) 431 # Write settings to new file, backu [all...] |
/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/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/providers/ |
H A D | backend.h | 4 Data Provider, private header file 199 const char *file,
|