diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 04:36:37 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 04:36:37 +0200 |
commit | 251f6bd99159337b24b8aa8298a5c98de153bce0 (patch) | |
tree | ab221cbd1fc6a42fd0abb74876be37741dfd77be /source4/scripting/python/samba/tests | |
parent | 8c926a34c8a74e446aa3c07536c1289704c6bc7a (diff) | |
download | samba-251f6bd99159337b24b8aa8298a5c98de153bce0.tar.gz samba-251f6bd99159337b24b8aa8298a5c98de153bce0.tar.xz samba-251f6bd99159337b24b8aa8298a5c98de153bce0.zip |
make sure to always use string version of uuid rather than object.
(This used to be commit bcd5fc7dc9899deb9fa84fdeeb21ed2ddb921308)
Diffstat (limited to 'source4/scripting/python/samba/tests')
-rw-r--r-- | source4/scripting/python/samba/tests/samdb.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/tests/samdb.py b/source4/scripting/python/samba/tests/samdb.py index 9da33585272..0d4f7bde0e9 100644 --- a/source4/scripting/python/samba/tests/samdb.py +++ b/source4/scripting/python/samba/tests/samdb.py @@ -29,18 +29,18 @@ import uuid class SamDBTestCase(TestCaseInTempDir): def setUp(self): super(SamDBTestCase, self).setUp() - invocationid = uuid.uuid4() + invocationid = str(uuid.uuid4()) domaindn = "DC=COM,DC=EXAMPLE" self.domaindn = domaindn configdn = "CN=Configuration," + domaindn schemadn = "CN=Schema," + configdn - domainguid = uuid.uuid4() - policyguid = uuid.uuid4() + domainguid = str(uuid.uuid4()) + policyguid = str(uuid.uuid4()) setup_path = lambda x: os.path.join("setup", x) creds = Credentials() creds.set_anonymous() domainsid = security.random_sid() - hostguid = uuid.uuid4() + hostguid = str(uuid.uuid4()) path = os.path.join(self.tempdir, "samdb.ldb") self.samdb = setup_samdb(path, setup_path, system_session(), creds, cmdline_loadparm, schemadn, configdn, |