mirror of
https://github.com/samba-team/samba.git
synced 2025-12-10 04:23:50 +03:00
Try to fix up part of the upgrade test.
There are still problems with the upgrade test, but these are not related to the provision system. Andrew Bartlett
This commit is contained in:
@@ -68,6 +68,12 @@ class ProvisionPaths:
|
||||
self.winsdb = None
|
||||
self.private_dir = None
|
||||
|
||||
class ProvisionResult:
|
||||
def __init__(self):
|
||||
self.paths = None
|
||||
self.domaindn = None
|
||||
self.lp = None
|
||||
self.samdb = None
|
||||
|
||||
def check_install(lp, session_info, credentials):
|
||||
"""Check whether the current install seems ok.
|
||||
@@ -991,7 +997,12 @@ def provision(setup_dir, message, session_info,
|
||||
|
||||
message("Please install the phpLDAPadmin configuration located at %s into /etc/phpldapadmin/config.php" % paths.phpldapadminconfig)
|
||||
|
||||
return domaindn
|
||||
result = ProvisionResult()
|
||||
result.domaindn = domaindn
|
||||
result.paths = paths
|
||||
result.lp = lp
|
||||
result.samdb = samdb
|
||||
return result
|
||||
|
||||
def provision_become_dc(setup_dir=None,
|
||||
smbconf=None, targetdir=None, realm=None,
|
||||
|
||||
Reference in New Issue
Block a user