Searched refs:ldap (Results 1 - 25 of 30) sorted by relevance

12

/sssd-io/src/config/testconfigs/
H A Dsssd-valid.conf24 id_provider = ldap
35 id_provider = ldap
36 auth_provider=ldap
42 id_provider = ldap
43 auth_provider=ldap
50 id_provider = ldap
51 auth_provider=ldap
H A Dsssd-badversion.conf23 id_provider = ldap
33 id_provider = ldap
34 auth_provider = ldap
H A Dsssd-invalid-badbool.conf23 id_provider = ldap
34 id_provider = ldap
35 auth_provider=ldap
H A Dsssd-noversion.conf22 id_provider = ldap
32 id_provider = ldap
33 auth_provider = ldap
/sssd-io/src/examples/
H A Dsssd-example.conf16 ; id_provider = ldap
17 ; auth_provider = ldap
23 ; ldap_uri = ldap://ldap.mydomain.org
38 ; id_provider = ldap
42 ; ldap_uri = ldap://your.ad.example.com
/sssd-io/src/tests/intg/
H A Dds.py20 import ldap namespace
40 self.ldap_url = "ldap://localhost:" + str(self.port)
56 conn = ldap.initialize(self.ldap_url)
H A Dds_openldap.py24 import ldap namespace
64 self.run_dir = self.dir + "/var/run/ldap"
66 self.conf_dir = self.dir + "/etc/ldap"
68 self.data_dir = self.dir + "/var/lib/ldap"
74 "/usr/lib/ldap")
75 dist_conf_dir = first_dir("/etc/ldap",
201 ldap_conn = ldap.initialize(self.ldapi_url)
205 ldap_conn = ldap.initialize(self.ldap_url)
209 except ldap.SERVER_DOWN:
237 (ldap
[all...]
H A Dtest_ts_cache.py29 import ldap namespace
79 except ldap.NO_SUCH_OBJECT:
159 id_provider = ldap
160 auth_provider = ldap
161 sudo_provider = ldap
185 id_provider = ldap
186 auth_provider = ldap
187 sudo_provider = ldap
326 [(ldap.MOD_ADD, "description", b"group one")])
357 [(ldap
[all...]
H A Dtest_netgroup.py25 import ldap namespace
26 import ldap.modlist namespace
78 ldap.SCOPE_ONELEVEL,
114 id_provider = ldap
115 auth_provider = ldap
459 ldif = ldap.modlist.modifyModlist(old, new)
481 ldif = ldap.modlist.modifyModlist(old, new)
H A Dtest_enumeration.py28 import ldap namespace
77 ldap.SCOPE_ONELEVEL,
131 id_provider = ldap
132 auth_provider = ldap
461 [(ldap.MOD_REPLACE, "memberUid", b"user")])
466 [(ldap.MOD_DELETE, "memberUid", None)])
483 [(ldap.MOD_REPLACE, "member",
490 [(ldap.MOD_REPLACE, "member",
497 [(ldap.MOD_DELETE, "member", None)])
503 [(ldap
[all...]
H A Dtest_ldap.py26 import ldap namespace
27 import ldap.modlist namespace
84 ldap.SCOPE_ONELEVEL,
131 id_provider = ldap
132 auth_provider = ldap
838 ldif = ldap.modlist.modifyModlist(old, new)
841 ldap_conn.modify_s(user_dn, [(ldap.MOD_ADD, extra_attribute, given_name)])
913 ldif = ldap.modlist.modifyModlist(old, new)
927 ldif = ldap.modlist.modifyModlist(old, new)
977 ldif = ldap
[all...]
H A Dtest_infopipe.py29 import ldap namespace
30 import ldap.modlist namespace
163 ldap.SCOPE_ONELEVEL,
212 id_provider = ldap
/sssd-io/src/util/
H A Dsss_ldap.c29 #include "providers/ldap/sdap.h"
105 #define LDAP_PROTO_TCP 1 /* ldap:// */
116 LDAP *ldap; member in struct:sss_ldap_init_state
125 if (state->ldap) {
127 "calling ldap_unbind_ext for ldap:[%p] sd:[%d]\n",
128 state->ldap, state->sd);
129 ldap_unbind_ext(state->ldap, NULL, NULL);
159 state->ldap = NULL;
181 ret = ldap_initialize(&state->ldap, uri);
254 lret = ldap_init_fd(state->sd, LDAP_PROTO_TCP, state->uri, &state->ldap);
300 sss_ldap_init_recv(struct tevent_req *req, LDAP **ldap, int *sd) argument
[all...]
H A Dsss_ldap.h26 #include <ldap.h>
82 int sss_ldap_init_recv(struct tevent_req *req, LDAP **ldap, int *sd);
/sssd-io/contrib/ci/
H A Ddeps.sh44 python-ldap
121 python-ldap
125 ldap-utils
/sssd-io/src/tests/python/sssd/testlib/common/
H A Dutils.py14 import ldap namespace
17 from ldap import modlist
391 LDapOperations consists of functions related to ldap operations, like
395 uri(str): ldap server uri(ldap(s):///<hostname/ipaddress>
398 conn: ldap bind object (already initialized)
405 self.conn = ldap.initialize(uri)
411 """ Bind to ldap server
418 except ldap.SERVER_DOWN as err:
420 except ldap
[all...]
H A Dlibdirsrv.py9 import ldap namespace
205 add_tls = [(ldap.MOD_ADD, 'nsTLS1', 'on')]
228 enable_security = [(ldap.MOD_REPLACE, 'nsslapd-security', 'on')]
238 enable_ssl_port = [(ldap.MOD_REPLACE, 'nsslapd-securePort',
511 self.dirsrv_obj.enable_ssl('ldap://%s:%r' % (self.ds_instance_host,
/sssd-io/src/providers/ldap/
H A Dsdap_fd_events.c26 #include "providers/ldap/sdap_async_private.h"
36 int get_fd_from_ldap(LDAP *ldap, int *fd) argument
40 ret = ldap_get_option(ldap, LDAP_OPT_DESC, fd);
42 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to get fd from ldap!!\n");
75 lret = ldap_get_option(cb_data->sh->ldap, LDAP_OPT_CONNECT_CB, conncb);
193 ret = get_fd_from_ldap(sh->ldap, &fd);
205 "Trace: sh[%p], connected[%d], ops[%p], fde[%p], ldap[%p]\n",
207 sh->ldap);
250 ret = ldap_set_option(sh->ldap, LDAP_OPT_CONNECT_CB,
H A Dsdap_async_connection.c30 #include "providers/ldap/sdap_async_private.h"
31 #include "providers/ldap/ldap_common.h"
41 static int sdap_rebind_proc(LDAP *ldap, LDAP_CONST char *url, ber_tag_t request,
152 ret = sss_ldap_init_recv(subreq, &state->sh->ldap, &sd);
181 /* Force ldap version to 3 */
183 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_PROTOCOL_VERSION, &ver);
185 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to set ldap version to 3\n");
191 ret = ldap_set_option(state->sh->ldap, LDAP_OPT_RESTART, LDAP_OPT_ON);
199 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_NETWORK_TIMEOUT, &tv);
209 lret = ldap_set_option(state->sh->ldap, LDAP_OPT_TIMEOU
2089 synchronous_tls_setup(LDAP *ldap) argument
2174 sdap_rebind_proc(LDAP *ldap, LDAP_CONST char *url, ber_tag_t request, ber_int_t msgid, void *params) argument
[all...]
H A Dsdap_async.c27 #include "providers/ldap/sdap_async_private.h"
88 "Trace: sh[%p], connected[%d], ops[%p], ldap[%p], "
90 sh, (int)sh->connected, sh->ops, sh->ldap,
109 if (sh->ldap) {
110 ldap_unbind_ext(sh->ldap, NULL, NULL);
111 sh->ldap = NULL;
157 "Trace: sh[%p], connected[%d], ops[%p], ldap[%p]\n",
158 sh, (int)sh->connected, sh->ops, sh->ldap);
160 if (!sh->connected || !sh->ldap) {
166 ret = ldap_result(sh->ldap, LDAP_RES_AN
[all...]
H A Dsdap_async_private.h27 #include "providers/ldap/sdap_async.h"
53 int get_fd_from_ldap(LDAP *ldap, int *fd);
H A Dsdap.c25 #include "providers/ldap/ldap_common.h"
26 #include "providers/ldap/sdap.h"
27 #include "providers/ldap/sdap_range.h"
416 ret = ldap_set_option(sh->ldap, LDAP_OPT_RESULT_CODE, &lerrno);
428 str = ldap_get_dn(sh->ldap, sm->msg);
430 ldap_get_option(sh->ldap, LDAP_OPT_RESULT_CODE, &lerrno);
443 vals = ldap_get_values_len(sh->ldap, sm->msg, "objectClass");
467 str = ldap_first_attribute(sh->ldap, sm->msg, &ber);
469 ldap_get_option(sh->ldap, LDAP_OPT_RESULT_CODE, &lerrno);
534 vals = ldap_get_values_len(sh->ldap, s
[all...]
/sssd-io/src/config/etc/sssd.api.d/
H A Dsssd-ldap.conf1 [provider/ldap]
42 [provider/ldap/id]
133 [provider/ldap/auth]
136 [provider/ldap/access]
141 [provider/ldap/chpass]
147 [provider/ldap/sudo]
169 [provider/ldap/autofs]
/sssd-io/src/tests/multihost/basic/
H A Dconftest.py12 import ldap namespace
87 ldap_uri = 'ldap://%s' % (session_multihost.master[0].sys_hostname)
98 sssdConfig.set(domain_section, 'id_provider', 'ldap')
150 ldap_uri = 'ldap://%s' % (session_multihost.master[0].sys_hostname)
163 print("Unable to add ldap User %s" % (user_info))
176 add_member = [(ldap.MOD_ADD, 'uniqueMember', user_dn)]
/sssd-io/src/tests/cmocka/
H A Dtest_search_bases.c30 #include <ldap.h>
35 #include "providers/ldap/ldap_common.h"
36 #include "providers/ldap/sdap.h"

Completed in 66 milliseconds

12