Views: 1464
Last Modified: 29.08.2023

NTLM authentication config is supported by Bitrix24 products by default. It's recommended to use Bitrix Virtual Appliance (VMBitrix), and the environment setup for NTLM authentication is performed via the menu.

In case you don't use the distribution package, recommended by Bitrix24, you need to perform the following in your environment settings:

For Centos 6

  1. Load the module mod_auth_sspi.
  2. Copy it to the folder c:\\apache\modules\.
  3. Add the string in httpd.conf:
    LoadModule sspi_auth_module modules/mod_auth_sspi.so.
  4. Add the following strings in .htaccess:
    AuthName "My Intranet"
    AuthType SSPI
    SSPIAuth On
    SSPIPackage NTLM
    SSPIDomain MYDOMAIN
    SSPIPerRequestAuth On 
    SSPIAuthoritative On
    SSPIOfferBasic On
    Require valid-user
    

    With Bitrix Virtual Appliance standard package, the strings indicated in this file shall be commented not created.

For Centos 7

  1. Load the module auth_ntlm_winbind_module and install it:
    
      LoadModule auth_ntlm_winbind_module modules/mod_auth_ntlm_winbind.so
    
  2. For SSL you must add:
    
      LoadModule ssl_module modules/mod_ssl.so
      # httpd 2.4
      LoadModule socache_shmcb_module modules/mod_socache_shmcb.so

For all types of setup

  1. Change MYDOMAIN to your domain name in the string SSPIDomain MYDOMAIN of file .htaccess .
  2. Save the changes.


0


Courses developed by Bitrix24