diff --git a/ldap_syncer/ldap_user_sync.py b/ldap_syncer/ldap_user_sync.py index 22da4741..cec561a7 100644 --- a/ldap_syncer/ldap_user_sync.py +++ b/ldap_syncer/ldap_user_sync.py @@ -481,6 +481,7 @@ def sync_del_user(self, db_user, email): except Exception as e: logger.warning('Deactive user [%s] failed: %s' % (email, e)) return + self.duser += 1 def sync_data(self, data_db, data_ldap): # sync deleted user in ldap to db