Views: 1454
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:
- Load the module mod_auth_sspi.
- Copy it to the folder
c:\\apache\modules\
.
- Add the string in httpd.conf:
LoadModule sspi_auth_module modules/mod_auth_sspi.so.
- 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.
- Load the module auth_ntlm_winbind_module and install it:
LoadModule auth_ntlm_winbind_module modules/mod_auth_ntlm_winbind.so
- For SSL you must add:
LoadModule ssl_module modules/mod_ssl.so
# httpd 2.4
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
- Change
MYDOMAIN
to your domain name in the string SSPIDomain MYDOMAIN
of file .htaccess .
- Save the changes.