summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/tests/samba3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/samba3.py b/source4/scripting/python/samba/tests/samba3.py
index fb1eb5a14d..782cf37461 100644
--- a/source4/scripting/python/samba/tests/samba3.py
+++ b/source4/scripting/python/samba/tests/samba3.py
@@ -90,7 +90,7 @@ class PassdbTestCase(TestCaseInTempDir):
def test_policy(self):
policy = self.pdb.get_account_policy()
self.assertEquals(0, policy['bad lockout attempt'])
- self.assertEquals(4294967295, policy['disconnect time'])
+ self.assertEquals(-1, policy['disconnect time'])
self.assertEquals(0, policy['lockout duration'])
self.assertEquals(999999999, policy['maximum password age'])
self.assertEquals(0, policy['minimum password age'])