示例#1
0
def given_there_s_an_ldap_server_configured_for_reverse(step):
    ldap_filter = 'openldap-dev'
    given_the_ldap_server_is_configured_for_ssl_connections(step)
    for directory_entry in step.hashes:
        ldap_action_webi.add_or_replace_entry(directory_entry)
    _configure_display_filter()
    _configure_ldap_directory(ldap_filter)
    _add_directory_to_direct_directories()
    directory_action_webi.set_reverse_directories(['ldapdirectory'])
    cti_helper.restart_server()
示例#2
0
def given_there_s_an_ldap_server_configured_for_reverse(step):
    ldap_filter = 'openldap-dev'
    given_the_ldap_server_is_configured_for_ssl_connections(step)
    for directory_entry in step.hashes:
        ldap_action_webi.add_or_replace_entry(directory_entry)
    _configure_display_filter()
    _configure_ldap_directory(ldap_filter)
    _add_directory_to_direct_directories()
    directory_action_webi.set_reverse_directories(['ldapdirectory'])
    cti_helper.restart_server()
示例#3
0
def when_i_set_the_following_directories_for_directory_reverse_lookup(step):
    directories = [entry['directory'] for entry in step.hashes]
    directory_action_webi.set_reverse_directories(directories)
def given_the_following_directories_are_used_in_reverse_lookup(step):
    directories = [entry['directory'] for entry in step.hashes]
    directory_action_webi.set_reverse_directories(directories)
    submit.submit_form()
def when_i_set_the_following_directories_for_directory_reverse_lookup(step):
    directories = [entry['directory'] for entry in step.hashes]
    directory_action_webi.set_reverse_directories(directories)
    sysutils.restart_service('xivo-dird')
示例#6
0
def when_i_set_the_following_directories_for_directory_reverse_lookup(step):
    directories = [entry['directory'] for entry in step.hashes]
    directory_action_webi.set_reverse_directories(directories)