Lines Matching defs:session_multihost
1 from sssd.testlib.common.qe_class import session_multihost, create_testdir
25 def multihost(session_multihost, request):
26 return session_multihost
30 def config_authconfig(session_multihost, request):
32 authconfig = RedHatAuthConfig(session_multihost.master[0])
33 session_multihost.master[0].log.info("Take backup of current authconfig")
36 kerberos_server = session_multihost.master[0].sys_hostname
51 def nssdir(session_multihost, request):
52 serverList = [session_multihost.master[0].sys_hostname]
63 def setup_ldap(session_multihost, nssdir, request):
64 ds_obj = DirSrvWrap(session_multihost.master[0], ssl=True, ssldb=nssdir)
73 def setup_kerberos(session_multihost, request):
74 tools = sssdTools(session_multihost.master[0])
76 krb = krb5srv(session_multihost.master[0], 'EXAMPLE.TEST')
85 def setup_sssd(session_multihost, request):
87 ldap_uri = 'ldap://%s' % (session_multihost.master[0].sys_hostname)
88 krb5_server = session_multihost.master[0].sys_hostname
118 session_multihost.master[0].transport.put_file(temp_file_path,
121 session_multihost.master[0].run_command(chg_perm)
124 session_multihost.master[0].service_sssd('restart')
127 session_multihost.master[0].run_command(journalctl_cmd)
129 tools = sssdTools(session_multihost.master[0])
131 session_multihost.master[0].run_command(['systemctl', 'start', 'sssd-kcm'])
134 session_multihost.master[0].service_sssd('stop')
135 session_multihost.master[0].run_command(['systemctl',
142 session_multihost.master[0].run_command(['rm', '-f', db_file])
144 session_multihost.master[0].run_command(['rm', '-f', secrets_db])
149 def create_posix_usersgroups(session_multihost):
150 ldap_uri = 'ldap://%s' % (session_multihost.master[0].sys_hostname)
154 krb = krb5srv(session_multihost.master[0], 'EXAMPLE.TEST')
182 def setup_session(request, session_multihost,
186 tp = TestPrep(session_multihost)