mumble-ldapauth/fs-infmath-mumble-ldapauth/debian/patches/fs-infmath_05_missing_positional_args
2021-06-02 14:48:55 +02:00

19 lines
793 B
Text

--- a/mumble-scripts/Authenticators/LDAP/LDAPauth.py
+++ b/mumble-scripts/Authenticators/LDAP/LDAPauth.py
@@ -5,6 +5,7 @@
# Copyright (C) 2013 Stefan Hacker <dd0t@users.sourceforge.net>
# Copyright (C) 2014 Dominik George <nik@naturalnet.de>
# Copyright (C) 2020 Andreas Valder <a.valder@syseleven.de>
+# Copyright (C) 2020 Bennet Bleßmann <ben@fs.infmath.uni-kiel.de>
#
# All rights reserved.
#
@@ -487,7 +488,7 @@
elif cfg.ldap.discover_dn:
# Use anonymous bind to discover the DN
try:
- ldap_conn.bind_s()
+ ldap_conn.simple_bind_s()
except ldap.INVALID_CREDENTIALS:
ldap_conn.unbind()
warning('Failed anomymous bind for discovering DN')