Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
User directory
Active Directory organizational units or containers are used as user directory. A service account is required to work with directory, in order to read directory users properties.
Creating an account to use with user directory
Каталог пользователей
В качестве каталога пользователей используется домен Active Directory целиком или отдельные контейнеры и подразделения. Для работы с каталогом необходима сервисная учётная запись, которая будет выполнять чтение свойств пользователей находящихся в каталоге.
Создание учётной записи
Запустите оснастку Active Directory - пользователи и компьютеры (- Run the
- Active Directory Users and Computers
- Вызовите контекстное меню домена, контейнера или подразделения.
- Выберите пункт Создать (Create) - Пользователь (User)
- Укажите имя, например, IPAMService
- Заполните обязательные поля и завершите создание учётной записи
Или используйте уже созданную учётную запись, по умолчанию права на чтение есть у всех в домене Active Directory.
Хранилище данных
Для хранения данных Indeed PAM использует СУБД Microsoft SQL Server. Базы данных необходимы для следующих компонентов:
- Indeed PAM Core
- Indeed PAM IDP
- Indeed Log Server
Создание таблиц, чтение и запись данных выполняется от имени сервисной учётной записи с правами:
- db_owner - требуется при первом обращении к БД для создания таблиц
- db_datareader - операции чтения из БД
- db_datawriter - операции записи в БД
Создание баз данных
- Запустите Microsoft SQL Management Studio (SSMS) и выполните подключение к экземпляру Microsoft SQL Server.
- Откройте контекстное меню пункта Базы данных (Databases)
- Выберите пункт Новая база данных (New Database)
- Укажите имя базы данных, например: IPAMCORE, IPAMIDP, ILS
- Нажмите Ок
Создание имени для входа и назначение прав
- snap-in
- Open the context menu of organizational unit or container
- Select Create - User item from the menu
- Specify the user name, say, IPAMManager
- Fill in the mandatory fields and complete the account creation
Alternatively, you can use an existing account. All Active Directory domain users have a right to read the properties of other users by default.
Video storage
Video storage is a network folder with configured access. A service account is required to access video storage. To access the video store you need a service account to perform read and write operations. It is recommended to use the existing IPAMManager account as the service one.
Warning | ||
---|---|---|
| ||
A domain account is required to work with video storage. |
To create a network folder, follow these steps:
- Create a folder on the network store.
- Call the contextual menu of the folder you created, select the item Share with > Specific people.
- Enter the username (IPAMManager) and click Add.
- In the "Permission level" column, click the Read value next to the IPAMManager user and select Read/Write from the menu.
- Finish creating a network folder by clicking Share.
Shadow file storage
Files that the user transfers to the target resource are copied to the storage. It is a network folder similar to a video storage.
Data storage
Indeed PAM uses Microsoft SQL Server or PostgreSQL Pro to store data. The following components require databases:
- Indeed PAM Core (DB IPAMCore, DB IPAMTasks)
- Indeed PAM IdP (DB IPAMIdP)
- Indeed Log Server (DB ILS)
Warning | ||
---|---|---|
| ||
The ILS database is required only for a configuration with event storage in the DBMS. When using Windows Event Log, creating a database is not necessary. |
Table creation, data read and write operations are performed under service account to use with data storage. The account should have the following database rights:
- db_owner - this is required to create tables upon the first request to database
- db_datareader - for read operations from database
- db_datawriter - for write operations to database
Database creation
Microsoft SQL Server
- Run Microsoft SQL Management Studio (SSMS) and connect to Microsoft SQL Server instance
- Open the context menu of Databases item
- Select the New Database item
- Specify a database name, for example IPAMCore, IPAMTasks, IPAMIdP, ILS
- Click ОK
PostgreSQL Pro
- Launch pgAdmin and connect to the PostgreSQL Pro server
- Open the context menu of the Databases item
- Select Create, Database
- Specify a database name, for example: IPAMCore, IPAMTasks, IPAMIdP, ILS
- Click Save
Creating a service account to work with data storage
Microsoft SQL Server
Отметьте права- Start Microsoft SQL Management Studio (SSMS) and connect to the Microsoft SQL Server instance
- Expand the Security item
- Open the context menu of Logins item
- Select the Create login item
- Enter the name, for example IPAMSQLService
- Select SQL Server authentication item and fill in the required fields
- Switch to User Mapping item
- Check IPAMCore, IPAMTasks, IPAMIdP and ILS databases
- Check database roles
- db_owner, db_datareader
- and db_datawriter
Сервисные операции в домене Active Directory
Сервисные операции в домене Active Directory выполняются от имени сервисной учётной записи:
- Проверка соединения с доменом
- Поиск учётных записей доступа
- Проверка пароля учётных записей доступа
- Изменение пароля учётных записей доступа
Создание и настройка сервисной учётной записи
- Запустите оснастку Active Directory - пользователи и компьютеры (Active Directory Users and Computers).
- Откройте контекстное меню домена, контейнера или подразделения.
- Выберите пункт Создать (Create) - Пользователь (User)
- Укажите имя, например, IPAMDomainService
- Заполните обязательные поля и завершите создание учётной записи.
- Откройте контекстное меню домена, контейнера или подразделения, в котором расположены учётные записи доступа.
- Выберите пункт Свойства (Properties)
- Перейдите на вкладку Безопасность (Security)
- Нажмите Добавить (Add)
- Выберите учётную запись IPAMDomainService и нажмите Ок
- Нажмите Дополнительно (Advenced)
- Выберите учётную запись IPAMDomainService и нажмите Изменить (Edit)
- Установите для поля Применяется к: (Applies to:) значение Дочерние объекты: Пользователь (Descendant User objects)
- В разделе Разрешения: (Permissions:) отметьте Сброс пароля (Reset password)
- Сохраните внесённые изменения
Создание группы группы безопасности для учётных записей доступа
- Запустите оснастку Active Directory - пользователи и компьютеры (Active Directory Users and Computers).
- Откройте контекстное меню домена, контейнера или подразделения.
- Выберите пункт Создать (Create) - Группа (Group)
- Укажите имя, например, IPAMPrivilegedAccounts
- В секции Область действия группы (Group scope) выберите Глобальная (Global)
- В секции Тип группы (Group type) выберите Группа безопасности (Security)
- Сохраните внесённые изменения
Сервисные операции для ресурсов Windows
Сервисные операции для ресурсов Windows выполняются от имени доменных или локальных сервисных учётных записей:
- Проверка соединения с доменом
- Поиск учётных записей доступа
- Проверка пароля учётных записей доступа
- Изменение пароля учётных записей доступа
Настройка доменной учётной записи в качестве сервисной
- Выполните вход на ресурс.
- Запустите оснастку Управление компьютером (Computer management)
- Перейдите в раздел Служебные программы (System tools) - Локальные пользователи (Local Users and Groups) - Группы (Groups)
- Откройте контекстное меню группы Администраторы (Administrators)
- Выберите пункт Свойства (Properties)
- Нажмите Добавить (Add)
- Выберите доменную учётную запись, которая будет использоваться в роли сервисной для ресурса и нажмите Ок
Настройка локальной учётной записи в качестве сервисной
Если в качестве сервисной учётной записи будет использоваться локальный встроенный (built-in) администратор, то дополнительная настройка не требуется. Если в качестве сервисной учётной записи будет использоваться не встроенная (built-in) локальная учётная запись состоящая в группе Администраторы (Administrators), то необходимо:
- Click ОK
PostgreSQL Pro
- Launch pgAdmin and connect to the PostgreSQL Pro server
- Open the context menu of the Login/Group Roles item
- Select Create, Login/Group Role
- Specify a Name, for example IPAMSQLService, in the Definition tab, enter the new password, in the Privileges tab, in the Can login? item select Yes, click Save
- Go to the created databases, open the context menu, select Properties, specify the Owner as IPAMSQLService
- Go to the Security tab, in Privileges add a new row, in the Grantee column select IPAMSQLService from the list, click on the cell in the Privileges column and select All and With grant option
- Click Save, repeat for the rest of the databases.
Service operations on Active Directory
Active Directory service operations are performed on behalf of the service account:
- Checking the connection to the Domain
- Domain accounts synchronization
- Checking the domain account password
- Changing the domain account password
Creating and configuring the service account to use with Active Directory
- Start the Active Directory Users and Computers snap-in
- Open the context menu of the Container or Organization Unit
- Select Create - User item
- Enter the name, for example IPAMService
- Fill in the required fields and complete the creation of the account
- Open the context menu of the Container or Organization Unit in which the access accounts are located
- Select Properties item
- Go to Security tab
- Click Add
- Select IPAMService account and click OK
- ClickAdvanced
- Select IPAMService account and click Edit
- For the field Applies to: set value Descendant User objects
- In the Permissions: section check Reset password
- Save the changes
Create a security group for Active Directory Privileged access accounts
- Start the Active Directory Users and Computers snap-in.
- Open the context menu of the Domain, Container or Organization Unit
- Select Create - Group item
- Enter the name, for example IPAMPrivilegedAccounts
- Select Global in the Group scope section
- Select Security in the Group type section
- Save the changes
Service operations for Windows resources
The following service operations are performed at Windows resources on behalf of the domain or local service account:
- Checking of connection to resources
- Synchronization of local accounts
- Checking of local account passwords
- Changing of local account passwords
Configuring a domain account as service one
- Log in to resource
- Run the Computer management snap-in
- Switch to System tools - Local Users and Groups - Groups section
- Open the context menu of Administrators group
- Select Properties item
- Click Add
- Select the domain account to be used as service one for the resource and click OK
Configuring a local account as service one
If you plan to use local built-in administrator account as service account, then no additional configuration is required. Otherwise, proceed as follows:
- Log in to resource
- Run the Computer management snap-in
- Switch to System tools - Local Users and Groups - Groups section
- Open the context menu of Administrators group
- Select Properties item
- Click Add
- Select the local account to be used as service one for the resource and click Ок
- Run Windows registry editor (RegEdit)
- Expand the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\
- branch
- Open the context menu of System section
- Select Create - DWORD (
- 32-bit) Value
- Specify the parameter name - LocalAccountTokenFilterPolicy
- Open the context menu of LocalAccountTokenFilterPolicy parameter
- Select Modify item and set the Value data: equal to 1
Registry editing is required due to restrictions on remote WinRM management for all local accounts except for built-in administrator account.
Configuring a resource to use local accounts as service one
Synchronize accounts operation is performed using remote WinRM management. It is necessary to add the resource to the TrustedHosts list if local resource accounts are used as service ones.
Configuring the TrustedHosts list
- Log in to the server on which Indeed PAM Core will be installed
- Run Command line (CMD) as Administrator
- Execute the following command:
Настройка реестра необходима из-за ограничений удалённого управления WinRM для всех учётных записей, кроме встроенного (built-in) администратора.
Настройка ресурса для использования локальных учётных записей в качестве сервисных
Операция Поиск учётных записей доступа выполняется при помощи удаленного управления WinRM, при использовании локальных учётных записей ресурса в качестве сервисных необходимо добавить ресурс в список TrustedHosts или настроить SSL подключение для WinRM.
Настройка TrustedHosts
Code Block | ||||
---|---|---|---|---|
| ||||
winrm s winrm/config/client @{TrustedHosts="Resource1.demo.local, Resource2.demo.local, Resource3.demo.local"} |
Указанные ресурсы будут добавлены в список доверенныхThe specified resources shall be added to the TrustedHosts list.
Warning | |||||
---|---|---|---|---|---|
| |||||
При добавлении новых ресурсов в список доверенных необходимо указывать добавленные ранее ресурсы и новые, так как новое значение перезаписывает староеWhen adding new resources to the trusted list, you must specify previously added resources and new ones, since the new value overwrites the old one.
|
Настройка SSL
Для настройки SSL потребуется сертификат выданный на имя ресурса. Сертификат должен содержать Расширенное использование ключа (Extended key usage) - Аутентификация сервера (Server authentication).
- Выполните вход на ресурс
- Запустите Командную строку (CMD)
- Выполните команду
Code Block | ||
---|---|---|
| ||
winrm create winrm/config/Listener?Address=*+Transport=HTTPS{Hostname="Resource1.demo.local";CertificateThumbprint="..."} |
Где:
- Hostname - имя ресурса, на чьё имя выдан сертификат
- CertificateThumbprint - отпечаток сертификата ресурса
Если в хранилище сертификатов компьютера всего один сертификат на имя ресурса, то воспользуйтесь автоматической настройкой.
Code Block | ||
---|---|---|
| ||
winrm quickconfig -transport:https |
Сервисные операции для ресурсов *nix
Сервисные операции для ресурсов *nix выполняются от имени локальной сервисной учётной записи:
- Проверка соединения с ресурсом
- Поиск учётных записей доступа
- Проверка пароля учётных записей доступа
- Изменение пароля учётных записей доступа
Создание и настройка сервисной учётной записи
Service operations for *nix resources
The following service operations are performed at *nix resources on behalf of the local service account:
- Checking of connection to resource
- Searching for local accounts
- Checking of local account passwords
- Changing of local account passwords
Creating and configuring a service account
- Log in to resource.
- Run Terminal.
Create a user, for example IPAMService:
Code Block language bash theme RDark adduser
IPAMService
Add the user to SUDO group
Code Block language bash theme RDark usermod -aG sudo
Настройка группы привилегированных учётных записей
Автоматический поиск и добавление учётных записей доступа в Indeed PAM выполняется на основании их права на выполнение команды SUDO. Для предоставления прав на выполнение команды SUDO необходимо внести изменения в файл /etc/sudoers
Настройка SSL для компонентов Indeed PAM
Для защищённого взаимодействия Indeed PAM потребуются сертификаты для серверов, на которых установлены компоненты Indeed PAM. Сертификаты могут быть сформированы по стандартному шаблону Компьютер (Machine).IPAMService
Configuring a group of privileged accounts
Automatic searching and adding of Access accounts to Indeed PAM is performed based on their permission to execute a SUDO command. To grant the permission to execute SUDO command, you need to edit the /etc/sudoers file.
SSL Configuration for Indeed PAM components
Secure interaction will require certificates for servers that have Indeed PAM components installed. The certificates can be generated using the standard Machine template.
Backtotop | ||||
---|---|---|---|---|
|
Divbox | ||||
---|---|---|---|---|
| ||||
|