From b601e5eeed11c2bb2e4d40c712c3617bd455654f Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Wed, 3 Nov 2021 14:37:26 -0400 Subject: [PATCH] test --- seafile-ldap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seafile-ldap.py b/seafile-ldap.py index 99673da..0369cec 100644 --- a/seafile-ldap.py +++ b/seafile-ldap.py @@ -253,6 +253,8 @@ for ldapGroup in ldapGroups: ldap.search(ldapBase, '(distinguishedName={0})'.format(ldapGroupMember), attributes=['*']) count = len(ldap.entries) logger.debug("Found {0} LDAP user.".format(count)) + print(ldap.entries) + exit() if count == 1 and [item for item in seafileGroupMembers if ldap.entries[0].mail in item ]: continue else: