summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-11-18 09:55:38 +1100
committerAmitay Isaacs <amitay@gmail.com>2011-11-18 14:38:28 +1100
commitd0e9f22654be1c9972c5b5ba6b3ebe808f27c678 (patch)
tree67838c9f16cc01c163063390c39a6a8af53d06f1 /source4/scripting/python
parent244ecc844dc36584a01ec5248c68060f6bb97114 (diff)
downloadsamba-d0e9f22654be1c9972c5b5ba6b3ebe808f27c678.tar.gz
samba-d0e9f22654be1c9972c5b5ba6b3ebe808f27c678.tar.bz2
samba-d0e9f22654be1c9972c5b5ba6b3ebe808f27c678.zip
s3-passdb_test: Policy values are converted to signed integer
No need to check value for 0xffffffff (4294967295).
Diffstat (limited to 'source4/scripting/python')
-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'])