Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VPN IKEv2 авторизация мобильных клиентов

    Scheduled Pinned Locked Moved Russian
    24 Posts 6 Posters 6.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • werterW
      werter
      last edited by werter

      @glifed

      Не удалением учеток, а запретом показывать их и запретом аутентификации в чате.

      Фильтр:

      (&(objectClass=user)(sAMAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(showInAdvancedViewOnly=TRUE)))
      

      showInAdvancedViewOnly=TRUE для того, чтобы отсеивать служебные учетки, к-ым не надо светиться в чате.
      showInAdvancedViewOnly - атрибут в АД при вкл. Показывать расширенные настройки в учетке.

      Зы2. Для принудительного удаления всех данных по пользователям из АД в базе mongo:

      # Batch deletion of users registered in Background Sync
      mongo
      use rocketchat;
      db.users.remove({"ldap": true});
      db.users.find();
      

      2020-09-02 10_25_14-Rocket.Chat.png

      1 Reply Last reply Reply Quote 0
      • werterW
        werter
        last edited by werter

        (&(objectClass=user)(sAMAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(showInAdvancedViewOnly=TRUE)))

        Можно проще:
        (&(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

        J 1 Reply Last reply Reply Quote 1
        • J
          JonnyDy @werter
          last edited by

          @werter Доброго времени суток. Случайно натолкнулся на офтоп. Настраивали блокировку пользователей АД в рокете при их блокировке в АД ?

          werterW 1 Reply Last reply Reply Quote 0
          • werterW
            werter @JonnyDy
            last edited by

            Добрый
            @jonnydy
            Ответил в ЛС.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.