Searched refs:ldap_conn (Results 1 - 7 of 7) sorted by relevance

/sssd/src/tests/intg/
H A Dtest_enumeration.py56 def ldap_conn(request, ds_inst): function
58 ldap_conn = ds_inst.bind()
59 ldap_conn.ds_inst = ds_inst
60 request.addfinalizer(lambda: ldap_conn.unbind_s())
61 return ldap_conn
64 def create_ldap_entries(ldap_conn, ent_list=None):
68 ldap_conn.add_s(entry[0], entry[1])
71 def cleanup_ldap_entries(ldap_conn, ent_list=None):
75 for entry in ldap_conn.search_s("ou=" + ou + "," +
76 ldap_conn
[all...]
H A Dtest_ldap.py60 def ldap_conn(request, ds_inst): function
62 ldap_conn = ds_inst.bind()
63 ldap_conn.ds_inst = ds_inst
64 request.addfinalizer(ldap_conn.unbind_s)
65 return ldap_conn
68 def create_ldap_entries(ldap_conn, ent_list=None):
72 ldap_conn.add_s(entry[0], entry[1])
75 def cleanup_ldap_entries(ldap_conn, ent_list=None):
79 for entry in ldap_conn.search_s("ou=" + ou + "," +
80 ldap_conn
[all...]
H A Dtest_ts_cache.py63 def ldap_conn(request, ds_inst): function
65 ldap_conn = ds_inst.bind()
66 ldap_conn.ds_inst = ds_inst
67 request.addfinalizer(lambda: ldap_conn.unbind_s())
68 return ldap_conn
71 def create_ldap_fixture(request, ldap_conn, ent_list):
74 ldap_conn.add_s(entry[0], entry[1])
79 ldap_conn.delete_s(entry[0])
125 def load_data_to_ldap(request, ldap_conn, schema):
126 ent_list = ldap_ent.List(ldap_conn
[all...]
H A Dldap_local_override_test.py71 def ldap_conn(request, ds_inst): function
73 ldap_conn = ds_inst.bind()
74 ldap_conn.ds_inst = ds_inst
75 request.addfinalizer(lambda: ldap_conn.unbind_s())
76 return ldap_conn
79 def create_ldap_fixture(request, ldap_conn, ent_list):
82 ldap_conn.add_s(entry[0], entry[1])
86 ldap_conn.delete_s(entry[0])
142 def prepare_sssd(request, ldap_conn, use_fully_qualified_names=False,
159 ldap_uri = {ldap_conn
[all...]
H A Dtest_netgroup.py56 def ldap_conn(request, ds_inst): function
58 ldap_conn = ds_inst.bind()
59 ldap_conn.ds_inst = ds_inst
60 request.addfinalizer(ldap_conn.unbind_s)
61 return ldap_conn
64 def create_ldap_entries(ldap_conn, ent_list=None):
68 ldap_conn.add_s(entry[0], entry[1])
71 def cleanup_ldap_entries(ldap_conn, ent_list=None):
75 for entry in ldap_conn.search_s("ou=" + ou + "," +
76 ldap_conn
[all...]
H A Dds_openldap.py211 ldap_conn = ldap.initialize(ldapi_url)
212 ldap_conn.simple_bind_s(self.admin_rdn + ",cn=config",
214 ldap_conn.unbind_s()
215 ldap_conn = ldap.initialize(self.ldap_url)
216 ldap_conn.simple_bind_s(self.admin_dn, self.admin_pw)
217 ldap_conn.unbind_s()
241 ldap_conn = ldap.initialize(ldapi_url)
242 ldap_conn.simple_bind_s(self.admin_rdn + ",cn=config", self.admin_pw)
243 ldap_conn.modify_s("cn={0}core,cn=schema,cn=config", modlist)
244 ldap_conn
[all...]
H A Dtest_memory_cache.py53 def ldap_conn(request, ds_inst): function
55 ldap_conn = ds_inst.bind()
56 ldap_conn.ds_inst = ds_inst
57 request.addfinalizer(lambda: ldap_conn.unbind_s())
58 return ldap_conn
61 def create_ldap_fixture(request, ldap_conn, ent_list):
64 ldap_conn.add_s(entry[0], entry[1])
68 ldap_conn.delete_s(entry[0])
110 def load_data_to_ldap(request, ldap_conn):
111 ent_list = ldap_ent.List(ldap_conn
[all...]

Completed in 20 milliseconds