Searched refs:args (Results 1 - 25 of 29) sorted by relevance

12

/sssd-io/src/tests/python/sssd/testlib/common/
H A Dauthconfig.py94 args = []
99 args.append("--enable%s" % (option))
101 args.append("--disable%s" % (option))
103 args.append("--%s" % (option))
104 args.append("%s" % (value[0]))
106 args.append("--%s" % (option))
108 args.append("--%s%s" % (option, value))
109 return args
116 args = self.build_args()
117 auth_cmd = ['/usr/sbin/authconfig'] + args
[all...]
H A Dutils.py661 args,
670 :param str args: List of arguments for the command
691 proc = subprocess.Popen(args, stdin=p_in, stdout=p_out,
699 raise subprocess.CalledProcessError(proc.returncode, args, stdout)
952 def execute_cmd(self, args, stdin=None):
954 :param str args: actual command to run
961 std_in, std_out, std_err = self.exec_command(args, timeout=30)
972 std_in, std_out, std_err = self.exec_command(args)
/sssd-io/src/tests/intg/
H A Dkrb5utils.py39 def spawn_in_env(self, args, stdin=None, extra_env=None):
48 cmd = subprocess.Popen(args,
55 def _run_in_env(self, args, stdin=None, extra_env=None):
56 cmd = self.spawn_in_env(args, stdin, extra_env)
61 args = ["kinit", principal]
62 return self._run_in_env(args, password.encode('utf-8'), env)
65 args = ["kvno", principal]
66 return self._run_in_env(args, env)
69 args = ["kdestroy"]
71 args
[all...]
H A Dkdc.py55 args = ["krb5kdc", '-P', self.kdc_pid_file] + extra_args
56 return self._run_in_env(args, self.get_krb5_env())
90 args = ["kadmin.local", "-q"]
92 args += ["addprinc -randkey %s" % (princ)]
94 args += ["addprinc -pw %s %s" % (password, princ)]
95 return self._run_in_env(args, self.get_krb5_env())
97 def _run_in_env(self, args, env):
98 cmd = subprocess.Popen(args, env=env)
H A Dutil.py63 def first_dir(*args):
65 for arg in args:
H A Dtest_secrets.py182 def run_curlwrap_tool(args, exp_http_code):
183 cmd = subprocess.Popen(args,
304 args = [curlwrap_tool, '-p', '-v', '-s', sock_path]
306 args.extend(['http://localhost/secrets/%s' % skey, svalue])
307 run_curlwrap_tool(args, 200)
316 args = [curlwrap_tool, '-g', '-v', '-s', sock_path]
318 args.extend(['http://localhost/secrets/%s' % skey])
319 output = run_curlwrap_tool(args, 200)
324 args = [curlwrap_tool, '-d', '-v', '-s', sock_path]
326 args
[all...]
H A Dent.py169 def contains_only(*args):
174 return list(args)
177 def contains(*args):
182 return args
/sssd-io/src/util/
H A Dsafe-format-string.c79 const char * const args[],
142 value = args[n - 1];
182 value = args[at_arg++];
216 const char **args; local
221 args = NULL;
229 mem = realloc (args, sizeof (const char *) * alo_args);
231 free (args);
234 args = mem;
236 args[(*num_args)++] = arg;
239 return args;
76 safe_format_string_cb(void (* copy_fn) (void *, const char *, size_t), void *data, const char *format, const char * const args[], int num_args) argument
277 const char **args; local
[all...]
H A Dsafe-format-string.h78 const char * const args[],
H A Dutil.c39 static void free_args(char **args) argument
43 if (args) {
44 for (i = 0; args[i]; i++) free(args[i]);
45 free(args);
/sssd-io/contrib/git/
H A Dpre-push16 args = ['git', 'rev-list', '{:s}..{:s}'.format(ref_from, ref_to)]
17 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
23 args = ['git', 'cat-file', 'commit', commit_hash]
24 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
/sssd-io/src/providers/ad/
H A Dad_machine_pw_renewal.c47 const char **args; local
61 args = talloc_array(renewal_data, const char *, 8);
62 if (args == NULL) {
70 args[c++] = NULL;
71 args[c++] = talloc_asprintf(args, "--computer-password-lifetime=%zu",
73 args[c++] = talloc_asprintf(args, "--host-fqdn=%s", ad_hostname);
75 args[c++] = talloc_asprintf(args, "
[all...]
/sssd-io/src/sbus/
H A Dsssd_dbus_introspect.c61 #define SIGNAL_HAS_ARGS(s) ((s)->args != NULL)
116 const struct sbus_arg_meta *args,
123 if (args == NULL) {
127 for (i = 0; args[i].name != NULL; i++) {
128 arg = &args[i];
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, args, SBUS_ARG_OUT)
158 #define sbus_introspect_generate_signal_args(file, args) \
115 sbus_introspect_generate_args(FILE *file, const struct sbus_arg_meta *args, enum sbus_arg_type type) argument
[all...]
H A Dsbus_codegen177 self.args = []
235 def out(format, *args, **kwargs):
236 str = format % args
240 # def out(format, *args, new_line=True)
245 def method_arg_types(args, with_names=False):
247 for arg in args:
274 def forward_method_invoker(signature, args):
279 def source_method_invoker(signature, args):
284 for i in range(0, len(args)):
285 arg = args[
[all...]
H A Dsssd_dbus_meta.h84 const struct sbus_arg_meta *args; member in struct:sbus_signal_meta
/sssd-io/src/python/
H A Dpysss_murmur.c35 static PyObject * py_murmurhash3(PyObject *module, PyObject *args) argument
43 if (!PyArg_ParseTuple(args, sss_py_const_p(char, "z#lL"),
H A Dpysss_nss_idmap.c323 static PyObject *check_args(enum lookup_type type, PyObject *args) argument
330 if (!PyArg_ParseTuple(args, sss_py_const_p(char, "O"), &obj)) {
403 static PyObject * py_getsidbyname(PyObject *module, PyObject *args) argument
405 return check_args(SIDBYNAME, args);
416 static PyObject * py_getsidbyid(PyObject *module, PyObject *args) argument
418 return check_args(SIDBYID, args);
431 static PyObject * py_getnamebysid(PyObject *module, PyObject *args) argument
433 return check_args(NAMEBYSID, args);
447 static PyObject * py_getidbysid(PyObject *module, PyObject *args) argument
449 return check_args(IDBYSID, args);
462 py_getnamebycert(PyObject *module, PyObject *args) argument
477 py_getlistbycert(PyObject *module, PyObject *args) argument
[all...]
H A Dpyhbac.c300 HbacRuleElement_new(PyTypeObject *type, PyObject *args, PyObject *kwds) argument
358 HbacRuleElement_init(HbacRuleElement *self, PyObject *args, PyObject *kwargs) argument
366 if (!PyArg_ParseTupleAndKeywords(args, kwargs,
499 PyObject *o, *format, *args; local
518 args = Py_BuildValue(sss_py_const_p(char, "Kss"),
521 if (args == NULL) {
528 o = PyUnicode_Format(format, args);
532 Py_DECREF(args);
650 HbacRule_new(PyTypeObject *type, PyObject *args, PyObject *kwds) argument
731 HbacRule_init(HbacRuleObject *self, PyObject *args, PyObjec argument
876 PyObject *o, *format, *args; local
923 py_hbac_rule_validate(HbacRuleObject *self, PyObject *args) argument
1148 HbacRequestElement_new(PyTypeObject *type, PyObject *args, PyObject *kwds) argument
1210 HbacRequestElement_init(HbacRequestElement *self, PyObject *args, PyObject *kwargs) argument
1298 PyObject *o, *format, *args; local
1432 HbacRequest_new(PyTypeObject *type, PyObject *args, PyObject *kwds) argument
1497 HbacRequest_init(HbacRequest *self, PyObject *args, PyObject *kwargs) argument
1552 py_hbac_evaluate(HbacRequest *self, PyObject *args) argument
1670 PyObject *o, *format, *args; local
1847 py_hbac_result_string(PyObject *module, PyObject *args) argument
1871 py_hbac_error_string(PyObject *module, PyObject *args) argument
[all...]
H A Dpysss.c157 PyObject *args,
178 if (!PyArg_ParseTupleAndKeywords(args, kwds,
312 PyObject *args,
323 if(!PyArg_ParseTupleAndKeywords(args, kwds,
422 PyObject *args,
441 if (!PyArg_ParseTupleAndKeywords(args, kwds,
543 PyObject *args,
553 if (!PyArg_ParseTupleAndKeywords(args, kwds,
614 PyObject *args,
621 if(!PyArg_ParseTuple(args, discard_const_
156 py_sss_useradd(PySssLocalObject *self, PyObject *args, PyObject *kwds) argument
311 py_sss_userdel(PySssLocalObject *self, PyObject *args, PyObject *kwds) argument
421 py_sss_usermod(PySssLocalObject *self, PyObject *args, PyObject *kwds) argument
542 py_sss_groupadd(PySssLocalObject *self, PyObject *args, PyObject *kwds) argument
613 py_sss_groupdel(PySssLocalObject *self, PyObject *args, PyObject *kwds) argument
660 py_sss_groupmod(PySssLocalObject *self, PyObject *args, PyObject *kwds) argument
758 py_sss_getgrouplist(PyObject *self, PyObject *args) argument
845 PySssLocalObject_new(PyTypeObject *type, PyObject *args, PyObject *kwds) argument
965 py_sss_encrypt(PySssPasswordObject *self, PyObject *args) argument
1060 PySssPasswordObject_new(PyTypeObject *type, PyObject *args, PyObject *kwds) argument
[all...]
/sssd-io/src/tests/
H A Dsafe-format-tests.c35 const char *args[8]; member in struct:__anon57
129 /* Too many args used */
159 for (num_args = 0; fixture->args[num_args] != NULL; )
164 (const char * const*)fixture->args, num_args);
H A Dsbus_tests.c91 NULL, /* in args: manually parsed */
92 NULL, /* out args: manually parsed */
98 NULL, /* in args: manually parsed */
99 NULL, /* out args: manually parsed */
105 NULL, /* in args: manually parsed */
106 NULL, /* out args: manually parsed */
267 const char *args[] = { "one", "two", "three" }; local
283 array = args;
/sssd-io/src/tools/
H A Dsss_obfuscate33 (options, args) = parser.parse_args()
35 return options, args
39 options, args = parse_options()
/sssd-io/src/sss_client/ssh/
H A Dsss_ssh_knownhostsproxy.c179 connect_proxy_command(char **args) argument
183 execv(args[0], (char * const *)args);
/sssd-io/src/tests/multihost/basic/
H A Dtest_basic.py29 (_, _, exit_status) = ssh.execute_cmd(args='kinit',
/sssd-io/src/providers/
H A Dbe_dyndns.c947 char **args; local
987 args = be_nsupdate_args(state, auth_type, force_tcp);
988 if (args == NULL) {
994 execv(NSUPDATE_PATH, args);

Completed in 33 milliseconds

12