コード例 #1
0
def rootdn_cleanup(topology_st):
    """Do a cleanup of the config area before the test """
    log.info('Cleaning up the config area')
    plugin = RootDNAccessControlPlugin(topology_st.standalone)
    plugin.remove_all_allow_host()
    plugin.remove_all_deny_host()
    plugin.remove_all_allow_ip()
    plugin.remove_all_deny_ip()
コード例 #2
0
ファイル: rootdn_ac.py プロジェクト: nextoa/389-ds-base
def clear_all_hosts(inst, basedn, log, args):
    plugin = RootDNAccessControlPlugin(inst)
    plugin.remove_all_allow_host()
    plugin.remove_all_deny_host()
    log.info('host-based policy was cleared')