Users get deactivated after LDAP-Sync

Hi @daku1 - to get to the root cause of this I need to debug further. Could you please follow the steps:

1.) Create a file called debug_issue.rb in your Zammad directory (usually /opt/zammad)
2.) Run the file from your Zammad directory via zammad run rails r debug_issue.rb or rails r debug_issue.rb as zammad user, depending on your installation source (package/source)
3.) Send the generated debug_issue.log file to support@zammad.com and let also name the email/login of those accounts that are affected. Please refer to this topic and me :slight_smile: Make sure all sensitive data is anonymized!
4.) Delete the debug_issue.rb file

require 'mixin/rails_logger'

module Mixin
  module RailsLogger
    def self.logger
      @logger ||= Logger.new(log_to).tap do |logger|
        logger.level = :debug
      end
    end

    def self.log_to
      # STDOUT
      'debug_issue.log'
    end
  end
end


ImportJob.create(name: 'Import::Ldap').start