# should be skipped during "make test".
#
# Possible reasons for adding a testsuite here:
-# * Tests functionality not implemented on the server side
+# * Testsuite functionality not implemented on the server side
# * Testsuite crashes during run
# * Testsuite crashes server
+# * Testsuite contains "flapping" tests (sometimes success, sometimes failure)
#
# If a testsuite is partially succeeding, please list the failing bits
# in the samba4-knownfail file rather than disabling the testsuite completely.
samba4.samba3sam.python # Conversion from EJS not yet finished
raw.offline # Samba 4 doesn't have much offline support yet
winreg* #Does not authenticate against the target server
-^samba4.samdb.python #Not working yet
+#^samba4.samdb.python #Not working yet
"""
assert isinstance(domainguid, str)
- hostip6_base_line = ""
- hostip6_host_line = ""
-
if hostip6 is not None:
hostip6_base_line = " IN AAAA " + hostip6
hostip6_host_line = hostname + " IN AAAA " + hostip6
+ else:
+ hostip6_base_line = ""
+ hostip6_host_line = ""
setup_file(setup_path("provision.zone"), path, {
"DNSPASS_B64": b64encode(dnspass),
from samba import security
from unittest import TestCase
import uuid
-import param
+from samba import param
class SamDBTestCase(TestCaseInTempDir):
def setUp(self):
names = guess_names(lp=lp, hostname=hostname,
domain=domain, dnsdomain=dnsdomain,
- serverrole=severrole,
+ serverrole=serverrole,
domaindn=self.domaindn, configdn=configdn,
schemadn=schemadn)
setup_templatesdb(os.path.join(self.tempdir, "templates.ldb"),