summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/samdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/samba/tests/samdb.py')
-rw-r--r--source4/scripting/python/samba/tests/samdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/samdb.py b/source4/scripting/python/samba/tests/samdb.py
index 40e56bebb5..3745dba6fc 100644
--- a/source4/scripting/python/samba/tests/samdb.py
+++ b/source4/scripting/python/samba/tests/samdb.py
@@ -38,6 +38,7 @@ class SamDBTestCase(TestCaseInTempDir):
policyguid = uuid.random()
setup_path = lambda x: os.path.join("setup", x)
creds = Credentials()
+ creds.set_anonymous()
domainsid = security.random_sid()
hostguid = uuid.random()
path = os.path.join(self.tempdir, "samdb.ldb")