File: ipadiscovery.py

package info (click to toggle)
freeipa 4.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 367,240 kB
  • sloc: javascript: 562,763; python: 310,289; ansic: 49,809; sh: 7,176; makefile: 2,589; xml: 343; sed: 16
file content (23 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Copyright (C) 2019  FreeIPA Contributors see COPYING for license
#

import warnings

from ipaclient.discovery import (
    NOT_FQDN, NO_LDAP_SERVER, REALM_NOT_FOUND, NOT_IPA_SERVER,
    NO_ACCESS_TO_LDAP, NO_TLS_LDAP, BAD_HOST_CONFIG,
    UNKNOWN_ERROR, IPA_BASEDN_INFO, error_names, get_ipa_basedn,
    IPADiscovery
)

__all__ = (
    'NOT_FQDN', 'NO_LDAP_SERVER', 'REALM_NOT_FOUND',
    'NOT_IPA_SERVER', 'NO_ACCESS_TO_LDAP', 'NO_TLS_LDAP',
    'BAD_HOST_CONFIG', 'UNKNOWN_ERROR', 'IPA_BASEDN_INFO',
    'error_names', 'get_ipa_basedn', 'IPADiscovery')

warnings.warn(
    "ipaclient.install.ipadiscovery is deprecated, use ipaclient.discovery",
    DeprecationWarning
)