msad 0.4.1__py3-none-any.whl → 0.4.3__py3-none-any.whl

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/search.py CHANGED
@@ -49,7 +49,7 @@ def users(conn, search_base, string, limit, attributes=None):
49
49
  """Search users inside AD
50
50
  filter: is the cn or userPrincipalName or samaccoutnname or mail to be searched. Can contain *
51
51
  """
52
- search_filter = f"(&(objectclass=user)(|(samaccountname={string})(mail={string})(cn={string})(userPrincipalName={string})))"
52
+ search_filter = f"(&(objectclass=user)(|(samaccountname={string})(mail={string})(cn={string}*)(userPrincipalName={string}*)))"
53
53
  return search(conn, search_base, search_filter, limit=limit, attributes=attributes)
54
54
 
55
55
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: msad
3
- Version: 0.4.1
3
+ Version: 0.4.3
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
@@ -9,11 +9,12 @@ License-Expression: GPL-3.0-or-later
9
9
  License-File: LICENSE
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: Python :: 3
12
- Requires-Python: >=3.11
13
- Requires-Dist: cryptography
14
- Requires-Dist: gssapi
15
- Requires-Dist: ldap3
16
- Requires-Dist: typer
12
+ Requires-Python: >=3.9
13
+ Requires-Dist: click==8.1.8
14
+ Requires-Dist: cryptography==44.0.2
15
+ Requires-Dist: gssapi==1.9.0
16
+ Requires-Dist: ldap3==2.9.1
17
+ Requires-Dist: typer==0.15.2
17
18
  Description-Content-Type: text/markdown
18
19
 
19
20
  # msAD
@@ -3,10 +3,10 @@ msad/__main__.py,sha256=RCZmmoCNOWC7rAfIDm_LaymsybXIzE6McYbUEEkf9P8,60
3
3
  msad/ad.py,sha256=C3dknAgRY6Jnotk0RgPSye7uzNxUd-7B3oGloGR674E,5679
4
4
  msad/group.py,sha256=3HNpXfYK4yXxDNsXn72JOZSMEwjj0kMiDvVBca1oVuI,2510
5
5
  msad/main.py,sha256=5wBSPOZPkOnYfe-gow1YFt65FpawJooZ3eOKp_RFP0A,10573
6
- msad/search.py,sha256=j8PedOZVf7eFBG34ZfHoVEfEPbYE0nOtznKTLwu48Eg,3476
6
+ msad/search.py,sha256=ADbUD8j_Tbh2XIWUYiWcgkg6pmKDciIL3DnCHf_Twzs,3478
7
7
  msad/user.py,sha256=MWv-U8_FYP-dsuzQQjKP1T-IToP-kz4VBbX1W6QLliY,4241
8
- msad-0.4.1.dist-info/METADATA,sha256=jL7RkMs6fhK5DXxwDwp-SCUgKlsYFg3n7lbMkQLDoqQ,2321
9
- msad-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- msad-0.4.1.dist-info/entry_points.txt,sha256=UKSjeppC0YX2dfybmBfxLXCqF_HMZFfPX1MRw88rtpI,39
11
- msad-0.4.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
12
- msad-0.4.1.dist-info/RECORD,,
8
+ msad-0.4.3.dist-info/METADATA,sha256=JsLyUqnAXsiSdEk66INx4Ma2FcFacyhVmZJHAE5eRmA,2378
9
+ msad-0.4.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ msad-0.4.3.dist-info/entry_points.txt,sha256=UKSjeppC0YX2dfybmBfxLXCqF_HMZFfPX1MRw88rtpI,39
11
+ msad-0.4.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
12
+ msad-0.4.3.dist-info/RECORD,,
File without changes