Searched defs:msg (Results 1 - 25 of 88) sorted by relevance

1234

/sssd/src/util/
H A Dutil_errors.c24 const char *msg; member in struct:err_string
112 return error_to_str[SSSD_ERR_IDX(error)].msg;
H A Dsss_ssh.c30 struct ldb_message *msg,
45 name = ldb_msg_find_attr_as_string(msg, SYSDB_NAME, NULL);
64 el = ldb_msg_find_element(msg, SYSDB_SSH_PUBKEY);
85 el = ldb_msg_find_element(msg, SYSDB_NAME_ALIAS);
29 sss_ssh_make_ent(TALLOC_CTX *mem_ctx, struct ldb_message *msg, struct sss_ssh_ent **result) argument
/sssd/src/providers/data_provider/
H A Ddp_reply_std.c91 const char *msg)
130 reply->message = msg == NULL ? def_msg : msg;
88 dp_reply_std_set(struct dp_reply_std *reply, int dp_error, int error, const char *msg) argument
H A Ddp_target_sudo.c31 DBusMessage *msg,
48 dbus_message_iter_init(msg, &iter);
30 dp_sudo_parse_message(TALLOC_CTX *mem_ctx, DBusMessage *msg, uint32_t *_dp_flags, uint32_t *_sudo_type, char ***_rules) argument
H A Ddp_target_id.c162 DBusMessage *msg; local
171 msg = dbus_message_new_method_call(NULL,
175 if (msg == NULL) {
181 dbret = dbus_message_append_args(msg,
189 dbus_message_unref(msg);
196 sbus_conn_send_reply(dp_client_conn(dp_cli), msg); local
197 dbus_message_unref(msg);
/sssd/src/responder/pam/
H A Dpamsrv_dp.c37 DBusMessage* msg; local
48 msg = dbus_pending_call_steal_reply(pending);
55 dbus_message_unref(msg);
60 if (msg == NULL) {
68 type = dbus_message_get_type(msg);
71 ret = dp_unpack_pam_response(msg, preq->pd, &dbus_error);
94 dbus_message_unref(msg);
112 DBusMessage *msg; local
131 msg = dbus_message_new_method_call(NULL,
135 if (msg
[all...]
/sssd/src/tools/sssctl/
H A Dsssctl_config.c43 char *msg; local
114 while (ref_array_get(ra, i, &msg) != NULL) {
115 printf("%s\n", msg);
127 while (ref_array_get(ra, i, &msg) != NULL) {
128 printf("%s\n", msg);
H A Dsssctl_systemd.c59 DBusMessage *msg = NULL; local
74 msg = sbus_create_message(NULL, SSS_SYSTEMD_BUS, SSS_SYSTEMD_PATH,
78 if (msg == NULL) {
84 reply = dbus_connection_send_with_reply_and_block(conn, msg, 5000, &error);
102 if (msg != NULL) {
103 dbus_message_unref(msg);
H A Dsssctl_sifp.c132 DBusMessage *msg; local
137 msg = sss_sifp_create_message(path, iface, method);
138 if (msg == NULL) {
144 bret = dbus_message_append_args_valist(msg, first_arg_type, va);
152 error = sss_sifp_send_message(sifp, msg, _reply);
164 dbus_message_unref(msg);
/sssd/src/lib/sifp/
H A Dsss_sifp_dbus.c37 DBusMessage *msg = NULL; local
45 msg = sss_sifp_create_message(object_path, interface, method);
46 if (msg == NULL) {
52 bret = dbus_message_append_args_valist(msg, first_arg_type, ap);
59 ret = sss_sifp_send_message(ctx, msg, _reply);
62 if (msg != NULL) {
63 dbus_message_unref(msg);
80 DBusMessage *msg,
83 return sss_sifp_send_message_ex(ctx, msg, 5000, _reply);
88 DBusMessage *msg,
79 sss_sifp_send_message(sss_sifp_ctx *ctx, DBusMessage *msg, DBusMessage **_reply) argument
87 sss_sifp_send_message_ex(sss_sifp_ctx *ctx, DBusMessage *msg, int timeout, DBusMessage **_reply) argument
[all...]
H A Dsss_sifp.c174 DBusMessage *msg = NULL; local
190 msg = sss_sifp_create_prop_msg(object_path, "Get");
191 if (msg == NULL) {
196 bret = dbus_message_append_args(msg, DBUS_TYPE_STRING, &interface,
204 ret = sss_sifp_send_message(ctx, msg, &reply);
212 if (msg != NULL) {
213 dbus_message_unref(msg);
229 DBusMessage *msg = NULL; local
239 msg = sss_sifp_create_prop_msg(object_path, "GetAll");
240 if (msg
[all...]
H A Dsss_sifp_parser.c531 DBusMessage *msg,
538 dbus_message_iter_init(msg, &iter);
569 DBusMessage *msg,
581 dbus_message_iter_init(msg, &iter);
635 DBusMessage *msg,
646 bret = dbus_message_get_args(msg, &dbus_error,
672 DBusMessage *msg,
685 bret = dbus_message_get_args(msg, &dbus_error,
529 sss_sifp_parse_attr(sss_sifp_ctx *ctx, const char *name, DBusMessage *msg, sss_sifp_attr ***_attrs) argument
568 sss_sifp_parse_attr_list(sss_sifp_ctx *ctx, DBusMessage *msg, sss_sifp_attr ***_attrs) argument
634 sss_sifp_parse_object_path(sss_sifp_ctx *ctx, DBusMessage *msg, char **_object_path) argument
671 sss_sifp_parse_object_path_list(sss_sifp_ctx *ctx, DBusMessage *msg, char ***_object_paths) argument
/sssd/src/responder/autofs/
H A Dautofssrv_dp.c100 DBusMessage *msg; local
111 msg = dbus_message_new_method_call(NULL,
115 if (msg == NULL) {
125 dbret = dbus_message_append_args(msg,
131 dbus_message_unref(msg);
135 return msg;
/sssd/src/responder/ssh/
H A Dsshsrv_dp.c104 DBusMessage *msg; local
115 msg = dbus_message_new_method_call(NULL,
119 if (msg == NULL) {
134 dbret = dbus_message_append_args(msg,
141 dbus_message_unref(msg);
145 return msg;
/sssd/src/db/
H A Dsysdb_ranges.c25 static errno_t find_attr_as_uint32_t(const struct ldb_message *msg, argument
30 val = ldb_msg_find_attr_as_uint64(msg, attr_name, UINT64_MAX);
169 struct ldb_message *msg; local
188 msg = ldb_msg_new(tmp_ctx);
189 if (!msg) {
194 msg->dn = ldb_dn_new_fmt(tmp_ctx, sysdb->ldb,
196 if (!msg->dn) {
201 ret = sysdb_add_string(msg, SYSDB_OBJECTCLASS, SYSDB_ID_RANGE_CLASS);
205 ret = sysdb_add_string(msg, SYSDB_OBJECTCLASS,
209 ret = sysdb_add_ulong(msg, SYSDB_SECONDARY_BASE_RI
[all...]
H A Dsysdb_selinux.c39 struct ldb_message *msg; local
48 msg = ldb_msg_new(tmp_ctx);
49 if (!msg) {
68 msg->dn = dn;
69 msg->elements = attrs->a;
70 msg->num_elements = attrs->num;
72 ret = ldb_add(sysdb->ldb, msg);
H A Dsysdb_services.c443 struct ldb_message *msg; local
449 msg = ldb_msg_new(tmp_ctx);
450 if (!msg) {
456 msg->dn = sysdb_svc_dn(domain->sysdb, msg, domain->name, primary_name);
457 if (!msg->dn) {
463 ret = sysdb_add_string(msg, SYSDB_OBJECTCLASS, SYSDB_SVC_CLASS);
467 ret = sysdb_add_string(msg, SYSDB_NAME, primary_name);
471 ret = sysdb_add_ulong(msg, SYSDB_SVC_PORT, port);
477 lret = ldb_msg_add_empty(msg, SYSDB_NAME_ALIA
535 struct ldb_message *msg; local
610 struct ldb_message *msg; local
[all...]
/sssd/src/monitor/
H A Dmonitor_sbus.c115 DBusMessage *msg; local
120 msg = dbus_message_new_method_call(NULL,
124 if (msg == NULL) {
131 ret = dbus_message_append_args(msg,
140 retval = sbus_conn_send(conn, msg, 3000,
143 dbus_message_unref(msg);
/sssd/src/providers/
H A Ddp_auth_util.c24 bool dp_pack_pam_request(DBusMessage *msg, struct pam_data *pd) argument
54 db_ret = dbus_message_append_args(msg,
75 bool dp_unpack_pam_request(DBusMessage *msg, TALLOC_CTX *mem_ctx, argument
92 db_ret = dbus_message_get_args(msg, dbus_error,
142 bool dp_pack_pam_response(DBusMessage *msg, struct pam_data *pd) argument
153 dbus_message_iter_init_append(msg, &iter);
231 bool dp_unpack_pam_response(DBusMessage *msg, struct pam_data *pd, DBusError *dbus_error) argument
241 if (!dbus_message_iter_init(msg, &iter)) {
/sssd/src/responder/common/data_provider/
H A Drdp_message.c41 DBusMessage *msg = NULL; local
52 msg = dbus_message_new_method_call(NULL, path, iface, method);
53 if (msg == NULL) {
59 bret = dbus_message_append_args_valist(msg, first_arg_type, va);
68 ret = sbus_conn_send(be_conn->conn, msg, 3000,
79 if (msg != NULL) {
80 dbus_message_unref(msg);
/sssd/src/responder/ifp/
H A Difp_cache.c55 struct ldb_message *msg)
61 path = ifp_users_build_path_from_msg(mem_ctx, domain, msg);
64 path = ifp_groups_build_path_from_msg(mem_ctx, domain, msg);
52 ifp_cache_build_path(TALLOC_CTX *mem_ctx, enum ifp_cache_type type, struct sss_domain_info *domain, struct ldb_message *msg) argument
/sssd/src/responder/sudo/
H A Dsudosrv_dp.c118 DBusMessage *msg; local
144 msg = dbus_message_new_method_call(NULL,
148 if (msg == NULL) {
158 dbus_message_iter_init_append(msg, &iter);
208 return msg;
212 dbus_message_unref(msg);
/sssd/src/sbus/
H A Dsssd_dbus_utils.c27 DBusMessage *msg; member in struct:sbus_talloc_msg
36 if (talloc_msg->msg == NULL) {
43 dbus_message_set_data(talloc_msg->msg, talloc_msg->data_slot, NULL, NULL);
44 dbus_message_unref(talloc_msg->msg);
65 errno_t sbus_talloc_bound_message(TALLOC_CTX *mem_ctx, DBusMessage *msg) argument
92 bret = dbus_message_set_data(msg, data_slot, talloc_msg, free_fn);
100 talloc_msg->msg = msg;
181 DBusMessage *msg; local
185 msg
216 DBusMessage *msg; local
227 sbus_parse_message_valist(DBusMessage *msg, bool check_reply, int first_arg_type, va_list va) argument
264 _sbus_parse_message(DBusMessage *msg, bool check_reply, int first_arg_type, ...) argument
[all...]
/sssd/src/tests/cmocka/
H A Dcommon_mock_resp_dp.c64 void mock_account_recv(uint16_t dp_err, uint32_t dp_ret, char *msg, argument
69 will_return(sss_dp_get_account_recv, msg);
/sssd/src/providers/ipa/
H A Dipa_auth.c317 struct ldb_message *msg; local
339 state->pd->user, attrs, &msg);
345 dn = ldb_msg_find_attr_as_string(msg, SYSDB_ORIG_DN, NULL);

Completed in 369 milliseconds

1234