mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
get_fqdn() moved to ipaserver.installutils
This commit is contained in:
committed by
Martin Kosek
parent
bd0d858043
commit
4c92d0e729
@@ -28,7 +28,7 @@ from ipalib.parameters import Enum
|
|||||||
from ipalib import Command
|
from ipalib import Command
|
||||||
from ipalib import errors
|
from ipalib import errors
|
||||||
from ipapython import ipautil
|
from ipapython import ipautil
|
||||||
from ipalib import util
|
from ipaserver.install import installutils
|
||||||
|
|
||||||
import os, string, struct, copy
|
import os, string, struct, copy
|
||||||
import uuid
|
import uuid
|
||||||
@@ -269,7 +269,7 @@ class TrustDomainJoins(object):
|
|||||||
ld.creds.set_kerberos_state(credentials.MUST_USE_KERBEROS)
|
ld.creds.set_kerberos_state(credentials.MUST_USE_KERBEROS)
|
||||||
ld.creds.guess(ld.parm)
|
ld.creds.guess(ld.parm)
|
||||||
ld.creds.set_workstation(ld.hostname)
|
ld.creds.set_workstation(ld.hostname)
|
||||||
ld.retrieve(util.get_fqdn())
|
ld.retrieve(installutils.get_fqdn())
|
||||||
self.local_domain = ld
|
self.local_domain = ld
|
||||||
|
|
||||||
def __populate_remote_domain(self, realm, realm_server=None, realm_admin=None, realm_passwd=None):
|
def __populate_remote_domain(self, realm, realm_server=None, realm_admin=None, realm_passwd=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user