Views: 497 (Data available since 06.02.2017)
Last Modified: 14.08.2014

The AD/LDAP module of version 11.5.0 and higher is required in order to support NTLM authorization feature by Bitrix Site Manager and Bitrix24 Self-hosted.

After enabling and setup, the new NTLM authorization feature starts working as follows:

  • An unauthorized user comes to the project to be redirected to an open Apache port (8890 for http or 8891 for https) by the event handler;
  • Apache performs NTLM authorization of the user, and the user is redirected back to port 80 or 443 (for http and https, accordingly);
  • The user performs the next hits normally.

Let us consider the setup procedure for Bitrix24 Self-hosted.


User NTLM Authorization Setup in Bitrix24 Self-hosted

  • During installation, select Allow Active Directory users to authorize in portal in the Wizard:

  • Next, enter AD domain connection settings and check the connection:

  • Indicate the relation of AD groups to the corporate portal groups:

Bitrix24 is ready to use the NTLM authorization. The next step is to set up the virtual machine.


User NTLM Authorization Setup in Bitrix Virtual Appliance

In order to set up the virtual machine, please connect to it as a root user, select the menu option of 6. Mange sites in the pool > 7. Configure NTLM auth for all sites, and enter the necessary data.

After confirmation that the data entered are correct, the Wizard will set up and start all the necessary services and also connect the virtual machine to the domain.

Note: The following command may be used to check the successful introduction of the computer into the domain:
net ads testjoin

The setup is complete. The next step is to check browser settings to ensure successful NTLM authorization.


NTLM Authorization Setup in Browsers

  • Internet Explorer

    To make sure NTLM authorization is successful, the web server must be located in the Local Intranet zone (if necessary it must be added there):

  • Mozilla Firefox:

    Add a web server to the list of trusted URI for automatic NTLM authorization (using the parameter network.automatic-ntlm-auth.trusted-uris on the Firefox page: about:config)

Note: The procedure for enabling NTLM authorization in the already installed Bitrix24 product and also in Bitrix Site Manager is the same as that described above, except that the Active Directory server shall be added manually in the administrative section.



Courses developed by «Bitrix», Inc.