Here an administrator can setup an interconnection with the Active Directory for authentication of application users. The following form is used for configuration:
Meaning of each item in the form is as follows:
Enable connection to Active Directory
This switch activates the integration with the Active Directory. Then the rest of the form needs to be filled, the configuration tested and saved.
Title
This field is used to name the connection. It has no effect on the function, but should multiple AD connections be supported in the future, this will enable the administrator to differentiate between them.
Address
IP or DNS address of the server running the AD service. It is necessary to allow connections from the SOFiE server to this AD server.
SSL
This switch specifies whether to use SSL encryption for connections to the AD or not.
User
Username of the service account used to authenticate on the AD server and perform reads in the AD tree (check for users and groups existence, etc.).
Password
The password of the above mentioned account used for AD access.
User tree
The path to the node in the Active Directory tree, under which all the users, who should have access to the application are located. This set of users can be further filtered by specifying a group, see below.
Allowed group
If we need to further narrow the users from the above specified AD sub-tree, a membership in a specific AD group can be requested. In that case only users, who are members of this group will be able to login, others will not. The group membership may be nested, so a group may contain a group which may contain another group… until at the end there must be the user as a member.
Username attribute
Selects between authenticating usernames in form of “User Principal Name (UPN)” or “sAMAccountName“. The Active Directory must support the selected form of usernames and the users logging in must then use the appropriate format of usernames. The Active Directory administrator should know the details about these forms of usernames.
Default domain
If the default domain name is specified here, the users do not need to enter their fully qualified usernames including the domain when logging in and this default domain is added to their usernames automatically.
Store password hashes
If this is enabled, then after each successful login of a user authenticated in the Active Directory, the hash of his password is saved in the local database of SOFiE application users.
Pokud je funkce zapnuta, je po každém úspěšném přihlášení uživatele proti jeho účtu v Active Directory uložen otisk jeho hesla lokálně v databázi uživatelů aplikace SOFiE. To umožní nouzové přihlášení těchto uživatelů i v situaci, kdy nefunguje (spojení na) AD server a uživatele tak v AD nelze ověřovat. Otisk hesla je samozřejmě uložen ve formě k tomu určeného kryptografického hashe a heslo z něj nelze nikdy zpětně získat, pouze lze ověřit, že se shoduje.
Tlačítko otestovat na konci formuláře s nastavením provede test, zda je přihlášení do AD uvedeným uživatelem funkční. Pokud tedy tento test nefunguje, nebude pravděpodobně fungovat ani ověřování uživatelů v AD.
0 Comments