msad 0.4.3__tar.gz → 0.4.4__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.
- {msad-0.4.3 → msad-0.4.4}/PKG-INFO +1 -1
- {msad-0.4.3 → msad-0.4.4}/pyproject.toml +1 -1
- {msad-0.4.3 → msad-0.4.4}/src/msad/user.py +1 -1
- {msad-0.4.3 → msad-0.4.4}/.gitignore +0 -0
- {msad-0.4.3 → msad-0.4.4}/LICENSE +0 -0
- {msad-0.4.3 → msad-0.4.4}/README.md +0 -0
- {msad-0.4.3 → msad-0.4.4}/build.sh +0 -0
- {msad-0.4.3 → msad-0.4.4}/src/msad/__init__.py +0 -0
- {msad-0.4.3 → msad-0.4.4}/src/msad/__main__.py +0 -0
- {msad-0.4.3 → msad-0.4.4}/src/msad/ad.py +0 -0
- {msad-0.4.3 → msad-0.4.4}/src/msad/group.py +0 -0
- {msad-0.4.3 → msad-0.4.4}/src/msad/main.py +0 -0
- {msad-0.4.3 → msad-0.4.4}/src/msad/search.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: msad
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.4
|
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
|
@@ -69,7 +69,7 @@ def has_never_expires_password(conn, search_base: str, user: str):
|
|
69
69
|
return True if len(result) == 1 else None
|
70
70
|
|
71
71
|
|
72
|
-
def password_changed_in_days(conn, search_base: str, user: str, limit: int = 2000
|
72
|
+
def password_changed_in_days(conn, search_base: str, user: str, max_age: int, limit: int = 2000):
|
73
73
|
# return search(conn, search_base, search_filter, attributes=attributes)
|
74
74
|
search_filter = f"(samaccountname={user})"
|
75
75
|
result = search(
|
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
|