myldapsync 1.0.7__tar.gz → 1.0.8__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.

Potentially problematic release.


This version of myldapsync might be problematic. Click here for more details.

Files changed (21) hide show
  1. {myldapsync-1.0.7/myldapsync.egg-info → myldapsync-1.0.8}/PKG-INFO +1 -1
  2. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/__init__.py +1 -1
  3. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/ldaputils/users.py +1 -2
  4. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/myutils/users.py +1 -2
  5. {myldapsync-1.0.7 → myldapsync-1.0.8/myldapsync.egg-info}/PKG-INFO +1 -1
  6. {myldapsync-1.0.7 → myldapsync-1.0.8}/setup.py +1 -1
  7. {myldapsync-1.0.7 → myldapsync-1.0.8}/LICENSE +0 -0
  8. {myldapsync-1.0.7 → myldapsync-1.0.8}/MANIFEST.in +0 -0
  9. {myldapsync-1.0.7 → myldapsync-1.0.8}/README.md +0 -0
  10. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/config.ini.example +0 -0
  11. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/config_default.ini +0 -0
  12. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/ldaputils/__init__.py +0 -0
  13. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/ldaputils/connection.py +0 -0
  14. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync/myutils/__init__.py +0 -0
  15. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync.egg-info/SOURCES.txt +0 -0
  16. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync.egg-info/dependency_links.txt +0 -0
  17. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync.egg-info/entry_points.txt +0 -0
  18. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync.egg-info/requires.txt +0 -0
  19. {myldapsync-1.0.7 → myldapsync-1.0.8}/myldapsync.egg-info/top_level.txt +0 -0
  20. {myldapsync-1.0.7 → myldapsync-1.0.8}/requirements.txt +0 -0
  21. {myldapsync-1.0.7 → myldapsync-1.0.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: myldapsync
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: Synchronise LDAP users to MySQL and MariaDB
5
5
  Home-page: https://github.com/6eh01der/myldapsync
6
6
  Author: Artur Lebedev
@@ -184,8 +184,8 @@ def main():
184
184
  cur.execute("START TRANSACTION;")
185
185
 
186
186
  # Set authentication plugin
187
- identified = ''
188
187
  if (auth_plugin := config.get('general', 'auth_plugin')) != '':
188
+ identified = ''
189
189
  if auth_plugin == 'simple':
190
190
  identified = 'WITH authentication_ldap_simple'
191
191
  elif auth_plugin == 'sasl':
@@ -66,8 +66,7 @@ def get_filtered_ldap_users(config, conn, admin):
66
66
  Returns:
67
67
  str[]: A filtered list of user names
68
68
  """
69
- users = get_ldap_users(config, conn, admin)
70
- if users is None:
69
+ if (users := get_ldap_users(config, conn, admin)) is None:
71
70
  return None
72
71
 
73
72
  # Remove ignored users
@@ -54,8 +54,7 @@ def get_filtered_my_users(config, conn):
54
54
  Returns:
55
55
  str[]: A filtered list of users
56
56
  """
57
- users = get_my_users(conn)
58
- if users is None:
57
+ if (users := get_my_users(conn)) is None:
59
58
  return None
60
59
 
61
60
  # Remove ignored users
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: myldapsync
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: Synchronise LDAP users to MySQL and MariaDB
5
5
  Home-page: https://github.com/6eh01der/myldapsync
6
6
  Author: Artur Lebedev
@@ -19,7 +19,7 @@ with open('README.md', 'r', encoding='utf-8') as fh:
19
19
 
20
20
  setuptools.setup(
21
21
  name="myldapsync",
22
- version="1.0.7",
22
+ version="1.0.8",
23
23
  author="Artur Lebedev",
24
24
  author_email="ras_atari@mail.ru",
25
25
  description="Synchronise LDAP users to MySQL and MariaDB",
File without changes
File without changes
File without changes
File without changes
File without changes