msad 0.4.4__tar.gz → 0.4.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: msad
3
- Version: 0.4.4
3
+ Version: 0.4.5
4
4
  Summary: msad is a commandline for interacting with Active Directory
5
5
  Project-URL: Homepage, https://github.com/matteoredaelli/msad
6
6
  Project-URL: Issues, https://github.com/matteoredaelli/msad/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "msad"
3
- version = "0.4.4"
3
+ version = "0.4.5"
4
4
  authors = [
5
5
  { name="Matteo Redaelli", email="matteo.redaelli@gmail.com" },
6
6
  ]
@@ -102,7 +102,7 @@ def check_user(conn, search_base:str, user:str, max_age:int, groups=[]):
102
102
  }
103
103
  )
104
104
  yield (
105
- {"password_changed_in_days": password_changed_in_days(conn, search_base, user)}
105
+ {"password_changed_in_days": password_changed_in_days(conn, search_base, user, max_age)}
106
106
  )
107
107
  yield (
108
108
  {"has_expired_password": has_expired_password(conn, search_base, user, max_age)}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes