summaryrefslogtreecommitdiff
path: root/source4/dsdb/tests/python/password_lockout.py
AgeCommit message (Expand)AuthorFilesLines
2023-05-16pytest/password_lockout: Use more specific assertion methodsJoseph Sutton1-23/+23
2023-05-16pytest/password_lockout: Remove unused importsJoseph Sutton1-4/+2
2022-09-16pytest/password_lockout: be less verbose by defaultDouglas Bagnall1-9/+9
2022-09-08pytest/password-lockout: fix using samba_tool functionDouglas Bagnall1-7/+5
2022-05-05selftest: Rework password_lockout_base.py to allow logon_basics test to be ru...Andrew Bartlett1-4/+10
2022-03-18tests/password_lockout: Test NTLM and SAMR password changes with Protected UsersJoseph Sutton1-0/+277
2022-03-10dsdb/tests: let all BasePasswordTestCase tests provide self.host_url[_ldaps]Stefan Metzmacher1-4/+3
2021-04-28python: remove all 'from __future__ import print_function'Douglas Bagnall1-1/+0
2020-11-04selftest: add test for new "samba-tool user unlock" commandBjörn Baumbach1-0/+20
2020-02-07pytests: heed assertEquals deprecation warning en-masseDouglas Bagnall1-22/+22
2018-12-14PY3: change shebang to python3 in source4/dsdb dirJoe Guo1-1/+1
2018-12-10s4/dsdb/tests/python: PY3 Port samba4.ldap.password_lockoutNoel Power1-2/+2
2018-12-10PY3: net.change_password & net.set_password take string not bytesNoel Power1-4/+4
2018-11-28CVE-2018-16857 tests: Sanity-check password lockout works with default valuesTim Beale1-0/+30
2018-10-29python: do not use "is" for string equalityDouglas Bagnall1-3/+3
2018-09-03selftest: Split up password_lockout into tests with and without a call to sle...Andrew Bartlett1-142/+157
2018-09-03selftest: Prepare to allow override of lockout duration in password_lockout t...Andrew Bartlett1-5/+4
2018-08-24PEP8: improve formatting around bit-wise OR ("|")Douglas Bagnall1-12/+12
2018-08-24PEP8: fix E703: statement ends with a semicolonJoe Guo1-1/+1
2018-08-24PEP8: fix E305: expected 2 blank lines after class or function definition, fo...Joe Guo1-0/+1
2018-08-24PEP8: fix E302: expected 2 blank lines, found 1Joe Guo1-0/+1
2018-08-24PEP8: fix E251: unexpected spaces around keyword / parameter equalsJoe Guo1-90/+45
2018-08-24PEP8: fix E127: continuation line over-indented for visual indentJoe Guo1-53/+53
2018-08-24PEP8: fix E121: continuation line under-indented for hanging indentJoe Guo1-1/+1
2018-06-20tests: Increase PSO test timeouts to minimise failuresTim Beale1-1/+5
2018-05-12s4/dsdb/tests: py2/py3 compatability always decode result of b64encodeNoel Power1-26/+26
2018-05-11tests: Add test for password-lockout via SAMR RPCTim Beale1-0/+117
2018-05-11tests: Add PSO test case to existing password_lockout testsTim Beale1-0/+47
2018-05-11tests: Add comments to help explain password_lockout testsTim Beale1-0/+11
2018-03-23s3/dsdb: convert print func to be py2/py3 compatibleNoel Power1-5/+6
2018-02-28dsdb python tests: convert 'except X, (tuple)' to 'except X as e'Noel Power1-20/+40
2017-05-30tests/password_lockout: Remove unused users from baseGarming Sam1-0/+14
2017-04-13password_lockout: Move some unnecessary methods from baseGarming Sam1-0/+188
2017-04-13password_lockout: Move lockoutObservationWindow tests from setUpGarming Sam1-0/+25
2017-04-13password_lockout: Factor out a base testcaseGarming Sam1-892/+6
2017-04-13password_lockout: Remove use of global creds variablesGarming Sam1-18/+18
2017-04-13password_lockout: Remove use of global lp and host varsGarming Sam1-21/+24
2017-04-13password_lockout: Move more helper methods to a base classGarming Sam1-74/+75
2017-04-13password_lockout: Move more helper methods to a base classGarming Sam1-330/+0
2017-04-13password_lockout: Begin moving helper methods to a base classGarming Sam1-42/+371
2017-03-29TestBase: move insta_creds from password_lockout.pyGary Lockyer1-42/+21
2016-06-30s4:dsdb/tests: let password_lockout.py verify the logonCount valuesStefan Metzmacher1-2/+91
2016-06-30s4:dsdb/tests: let password_lockout.py validate the lastLogon and lastLogonTi...Stefan Metzmacher1-24/+45
2016-06-30s4:dsdb/tests: let password_lockout.py test with all combinations of krb5, nt...Stefan Metzmacher1-33/+67
2016-06-30s4:dsdb/tests: let password_lockout.py verify more fields in _readd_user()Stefan Metzmacher1-11/+52
2016-06-30s4:dsdb/tests: let password_lockout.py copy user{name,pass} from the template...Stefan Metzmacher1-2/+23
2016-06-30s4:dsdb/tests: let password_lockout.py use creds and other_ldb as function ar...Stefan Metzmacher1-18/+20
2016-06-30s4:dsdb/tests: let password_lockout.py use userpass variables in all functionsStefan Metzmacher1-25/+42
2016-06-30s4:dsdb/tests: let password_lockout.py use other_ldb variables instead of sel...Stefan Metzmacher1-23/+25
2016-06-30s4:dsdb/tests: let password_lockout.py use userdn variables in all functionsStefan Metzmacher1-80/+93