/sssd/src/providers/ldap/ |
H A D | sdap_fd_events.c | 69 int lret; local 75 lret = ldap_get_option(cb_data->sh->ldap, LDAP_OPT_CONNECT_CB, conncb); 76 if (lret != LDAP_OPT_SUCCESS) {
|
H A D | sdap_async_connection.c | 137 int lret; local 183 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_PROTOCOL_VERSION, &ver); 184 if (lret != LDAP_OPT_SUCCESS) { 199 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_NETWORK_TIMEOUT, &tv); 200 if (lret != LDAP_OPT_SUCCESS) { 209 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_TIMEOUT, &tv); 210 if (lret != LDAP_OPT_SUCCESS) { 218 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_REFERRALS, 220 if (lret != LDAP_OPT_SUCCESS) { 239 lret 730 int lret; local 2091 int lret; local [all...] |
H A D | sdap_async.c | 800 int lret; local 807 lret = ldap_parse_result(state->sh->ldap, reply->msg, 810 if (lret != LDAP_SUCCESS) { 1317 int lret; local 1352 lret = ldap_create_page_control(state->sh->ldap, 1359 if (lret != LDAP_SUCCESS) { 1367 lret = ldap_search_ext(state->sh->ldap, state->search_base, 1375 if (lret != LDAP_SUCCESS) { 1377 "ldap_search_ext failed: %s\n", sss_ldap_err2string(lret)); 1378 if (lret 1464 int lret; local [all...] |
/sssd/src/db/ |
H A D | sysdb_idmap.c | 56 int lret; local 108 lret = ldb_msg_add_empty(update_msg, SYSDB_OBJECTCLASS, 111 if (lret != LDB_SUCCESS) { 112 ret = sysdb_error_to_errno(lret); 116 lret = ldb_msg_add_string(update_msg, SYSDB_OBJECTCLASS, 118 if (lret != LDB_SUCCESS) { 119 ret = sysdb_error_to_errno(lret); 124 lret = ldb_msg_add_empty(update_msg, SYSDB_IDMAP_SID_ATTR, 127 if (lret != LDB_SUCCESS) { 128 ret = sysdb_error_to_errno(lret); [all...] |
H A D | sysdb_gpo.c | 57 int lret; local 103 lret = ldb_msg_add_empty(update_msg, SYSDB_OBJECTCLASS, 106 if (lret != LDB_SUCCESS) { 107 ret = sysdb_error_to_errno(lret); 111 lret = ldb_msg_add_string(update_msg, SYSDB_OBJECTCLASS, 113 if (lret != LDB_SUCCESS) { 114 ret = sysdb_error_to_errno(lret); 119 lret = ldb_msg_add_empty(update_msg, SYSDB_GPO_GUID_ATTR, 122 if (lret != LDB_SUCCESS) { 123 ret = sysdb_error_to_errno(lret); 247 int lret; local 306 int lret; local 388 int lret; local 540 int lret; local [all...] |
H A D | sysdb_services.c | 441 int lret; local 477 lret = ldb_msg_add_empty(msg, SYSDB_NAME_ALIAS, 479 if (lret != LDB_SUCCESS) { 480 ret = sysdb_error_to_errno(lret); 484 lret = ldb_msg_add_string(msg, SYSDB_NAME_ALIAS, aliases[i]); 485 if (lret != LDB_SUCCESS) { 486 ret = sysdb_error_to_errno(lret); 493 lret = ldb_msg_add_empty(msg, SYSDB_SVC_PROTO, 495 if (lret != LDB_SUCCESS) { 496 ret = sysdb_error_to_errno(lret); 536 int lret; local 611 int lret; local [all...] |
H A D | sysdb_sudo.c | 492 int lret; local 508 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, 510 if (lret != LDB_SUCCESS) { 511 ret = sysdb_error_to_errno(lret); 523 lret = ldb_msg_add_string(msg, "cn", SUDORULE_SUBDIR); 524 if (lret != LDB_SUCCESS) { 525 ret = sysdb_error_to_errno(lret); 534 lret = ldb_msg_add_empty(msg, attr_name, LDB_FLAG_MOD_REPLACE, NULL); 535 if (lret != LDB_SUCCESS) { 536 ret = sysdb_error_to_errno(lret); 573 int lret; local [all...] |
H A D | sysdb_search.c | 1054 int ret, lret; local 1108 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn, 1110 if (lret != LDB_SUCCESS) { 1111 ret = sysdb_error_to_errno(lret);
|
H A D | sysdb_upgrade.c | 110 int lret; local 113 lret = ldb_transaction_commit((*ctx)->ldb); 114 ret = sysdb_error_to_errno(lret); 121 lret = ldb_transaction_cancel((*ctx)->ldb); 122 if (lret != LDB_SUCCESS) { 125 ldb_strerror(lret));
|
H A D | sysdb.c | 1053 int lret; local 1062 lret = ldb_search(sysdb->ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, 1064 if (lret != LDB_SUCCESS) { 1065 ret = sysdb_error_to_errno(lret); 1112 int lret; local 1123 lret = ldb_search(sysdb->ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, 1125 if (lret != LDB_SUCCESS) { 1126 ret = sysdb_error_to_errno(lret); 1138 lret = ldb_msg_add_string(msg, "cn", cn_value); 1139 if (lret ! 1899 int lret; local [all...] |
H A D | sysdb_ops.c | 825 int lret; local 848 lret = ldb_add(sysdb->ldb_ts, msg); 849 if (lret != LDB_SUCCESS) { 852 ldb_strerror(lret), lret, ldb_errstring(sysdb->ldb_ts)); 855 ret = sysdb_error_to_errno(lret); 1145 int lret; local 1164 lret = ldb_modify(ldb, msg); 1165 if (lret != LDB_SUCCESS) { 1168 ldb_strerror(lret), lre 4386 int lret; local [all...] |
/sssd/src/util/ |
H A D | sss_ldap.c | 205 int lret; local 218 lret = ldap_init_fd(state->sd, LDAP_PROTO_TCP, state->uri, &state->ldap); 219 if (lret != LDAP_SUCCESS) { 222 sss_ldap_err2string(lret), state->sd, state->uri); 223 ret = lret == LDAP_SERVER_DOWN ? ETIMEDOUT : EIO; 228 lret = ldap_install_tls(state->ldap); 229 if (lret != LDAP_SUCCESS) { 230 if (lret == LDAP_LOCAL_ERROR) { 239 sss_ldap_err2string(lret), tlserr); 245 sss_ldap_err2string(lret)); [all...] |
/sssd/src/providers/ad/ |
H A D | ad_gpo_child.c | 474 int lret; local 482 lret = ini_config_get_errors(ini_config, &errors); 483 if (lret != 0) { 485 "Failed to get specific parse error [%d][%s]\n", lret, 486 strerror(lret));
|
H A D | ad_gpo.c | 1150 int lret; local 1158 lret = ini_config_get_errors(ini_config, &errors); 1159 if (lret != 0) { 1161 "Failed to get specific parse error [%d][%s]\n", lret, 1162 strerror(lret)); 1202 int lret; local 1210 lret = ini_config_get_errors(ini_config, &errors); 1211 if (lret != 0) { 1213 "Failed to get specific parse error [%d][%s]\n", lret, 1214 strerror(lret)); [all...] |
/sssd/src/confdb/ |
H A D | confdb.c | 309 int ret, lret; local 335 lret = ldb_msg_add_empty(msg, attribute, LDB_FLAG_MOD_REPLACE, NULL); 336 if (lret != LDB_SUCCESS) { 338 "ldb_msg_add_empty failed: [%s]\n", ldb_strerror(lret)); 343 lret = ldb_msg_add_string(msg, attribute, val); 344 if (lret != LDB_SUCCESS) { 346 "ldb_msg_add_string failed: [%s]\n", ldb_strerror(lret)); 351 lret = ldb_modify(cdb->ldb, msg); 352 if (lret != LDB_SUCCESS) { 355 ldb_strerror(lret), lre [all...] |