Answer the question
In order to leave comments, you need to log in
How to build NTLM plugin for apache2?
Hello!
I am installing Redmine according to the article:
habrahabr.ru/company/monandco/blog/198496
Stuck on the step:
rvmsudo /usr/local/rvm/gems/[email protected]/gems/passenger-4.0.48/bin/passenger-install-apache2-module
Sanity checking Apache installation...
AH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/redmine.conf:
Invalid command 'NTLMAuth', perhaps misspelled or defined by a module not included in the server configuration
AH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/redmine.conf:
Invalid command 'NTLMAuth', perhaps misspelled or defined by a module not included in the server configuration
Your Apache installation might be broken
apxs2 -i -a -c mod_ntlm.c
Line 16: mod_ntlm.c:78:5: error: format not a string literal and no format arguments [-Werror=format-security]
Line 20: mod_ntlm.c:95:5: error: format not a string literal and no format arguments [-Werror=format-security]
Line 34: /usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
Line 55: /usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
Line 76: /usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
Line 97: /usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
Line 118: /usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
Line 139: /usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
Line 160: /usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
Line 181: /usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
Line 202: /usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
Line 223: /usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
Line 244: /usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
Line 265: /usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
Line 286: /usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
Line 307: /usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
Line 328: /usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
Line 349: /usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
Line 370: /usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
Line 391: /usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
Line 412: /usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
Line 433: /usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
Line 469: cc1: some warnings being treated as errors
Line 5: ntlmssp.inc.c:307:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Line 9: mod_ntlm.c:66:13: warning: conflicting types for built-in function 'log' [enabled by default]
Line 13: mod_ntlm.c:74:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Line 24: mod_ntlm.c:214:2: warning: implicit declaration of function 'unixd_set_global_mutex_perms' [-Wimplicit-function-declaration]
Line 28: mod_ntlm.c:455:2: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
Line 455: mod_ntlm.c:779:3: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
Line 459: mod_ntlm.c:833:5: warning: implicit declaration of function 'ap_requires' [-Wimplicit-function-declaration]
Line 462: mod_ntlm.c:833:42: warning: initialization makes pointer from integer without a cast [enabled by default]
Line 466: mod_ntlm.c:202:8: warning: ignoring return value of 'tmpnam', declared with attribute warn_unused_result [-Wunused-result]
Line 469: cc1: some warnings being treated as errors
Answer the question
In order to leave comments, you need to log in
I abandoned this bearded plugin in the direction of LDAP authorization.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question