diff options
author | Garming Sam <garming@catalyst.net.nz> | 2016-01-21 16:58:40 +1300 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2016-02-24 11:43:58 +0100 |
commit | a03e3fa362755405ea5a07f59c1f58f080f63f06 (patch) | |
tree | 25d4f74772e298843c03a635478e32a0678d2dd5 | |
parent | ede159bcdf127e3281eb9391fe1260352780025a (diff) | |
download | samba-a03e3fa362755405ea5a07f59c1f58f080f63f06.tar.gz |
CVE-2016-0771: tests/dns: prepare script for further testing
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11128
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11686
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | python/samba/tests/dns.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py index c9f2bdfbd47..fe0ac3b03ec 100644 --- a/python/samba/tests/dns.py +++ b/python/samba/tests/dns.py @@ -36,6 +36,11 @@ def make_txt_record(records): class DNSTest(TestCase): + def get_loadparm(self): + lp = param.LoadParm() + lp.load(os.getenv("SMB_CONF_PATH")) + return lp + def errstr(self, errcode): "Return a readable error code" string_codes = [ |