{"id":1514,"date":"2013-11-25T18:50:33","date_gmt":"2013-11-25T17:50:33","guid":{"rendered":"http:\/\/www.zarrelli.org\/blog\/?p=1514"},"modified":"2013-11-25T18:50:33","modified_gmt":"2013-11-25T17:50:33","slug":"ldap-sso-linux-used-glpi","status":"publish","type":"post","link":"https:\/\/www.zarrelli.org\/blog\/ldap-sso-linux-used-glpi\/","title":{"rendered":"LDAP SSO on Linux &#8211; Used for GLPI"},"content":{"rendered":"<p>Note to myself:<\/p>\n<p><a href=\"https:\/\/www.zarrelli.org\/blog\/wp-content\/uploads\/2013\/11\/apache-logo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-1517\" alt=\"apache-logo\" src=\"https:\/\/www.zarrelli.org\/blog\/wp-content\/uploads\/2013\/11\/apache-logo.png\" width=\"320\" height=\"220\" srcset=\"https:\/\/www.zarrelli.org\/blog\/wp-content\/uploads\/2013\/11\/apache-logo.png 320w, https:\/\/www.zarrelli.org\/blog\/wp-content\/uploads\/2013\/11\/apache-logo-300x206.png 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a><\/p>\n<p># This configuration file allows the manual to be accessed at<br \/>\n# http:\/\/localhost\/manual\/<br \/>\n#<br \/>\n#Loglevel debug<br \/>\nKeepAlive On<\/p>\n<p>Alias \/glpi &#8220;\/var\/www\/glpi&#8221;<\/p>\n<p>&lt;Directory &#8220;\/var\/www\/glpi&#8221;&gt;<\/p>\n<p>PerlAuthenHandler <span style=\"color: #ff0000;\">Apache2::AuthenNTLM<\/span><br \/>\nAuthType ntlm,basic<br \/>\nAuthName Access<br \/>\nrequire valid-user<br \/>\nPerlAddVar ntdomain &#8220;DOMAIN PDO \u00a0BDO&#8221;<br \/>\nPerlSetVar defaultdomain DOMAIN<br \/>\nPerlSetVar splitdomainprefix 1<br \/>\nPerlSetVar ntlmdebug 0<br \/>\nPerlSetVar ntlmauthoritative off<\/p>\n<p># Uncomment following to force use of HTTPS in Administration Server<\/p>\n<p>#SSLRequireSSL<\/p>\n<p># PHP tuning (not working on all distribution, use php.ini instead)<br \/>\nAddType application\/x-httpd-php .php<br \/>\nphp_flag file_uploads on<br \/>\n# Some PHP tuning for deployement feature up to 8 MB<br \/>\n# post_max_size must be greater than upload_max_filesize<br \/>\n# because of HTTP headers<br \/>\nphp_value post_max_size 9m<br \/>\nphp_value upload_max_filesize 8m<br \/>\n# You may have to uncomment following on errors<br \/>\n#php_value max_execution_time -1<br \/>\n#php_value max_input_time -1<\/p>\n<p># Uncomment following to allow HTTP body request up to 4 MB<br \/>\n# instead default 512 KB<br \/>\n#LimitRequestBody 4194304<\/p>\n<p>&lt;\/Directory&gt;<\/p>\n<p>Install\u00a0<a href=\"http:\/\/search.cpan.org\/~speeves\/Apache2-AuthenNTLM-0.02\/AuthenNTLM.pm\" target=\"_blank\">Apache2::AuthenNTLM<\/a> Perl module. In Debian just type:<\/p>\n<p>aptitude install libapache2-authenntlm-perl<\/p>\n<p><strong>Remember to enable ntlm authentication on Windows machines. Not all versions (xp does), have it enabled.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note to myself: # This configuration file allows the manual to be accessed at # http:\/\/localhost\/manual\/ # #Loglevel debug KeepAlive On Alias \/glpi &#8220;\/var\/www\/glpi&#8221; &lt;Directory &#8220;\/var\/www\/glpi&#8221;&gt; PerlAuthenHandler Apache2::AuthenNTLM AuthType ntlm,basic AuthName Access require valid-user PerlAddVar ntdomain &#8220;DOMAIN PDO \u00a0BDO&#8221; PerlSetVar defaultdomain DOMAIN PerlSetVar splitdomainprefix 1 PerlSetVar ntlmdebug 0 PerlSetVar ntlmauthoritative off # Uncomment following to &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[179,430,429,139,427,428,486,151],"class_list":{"0":"post-1514","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-sysadmin","7":"tag-apache","8":"tag-authentication","9":"tag-glpi","10":"tag-linux","11":"tag-ntlm","12":"tag-sso","13":"tag-sysadmin","14":"tag-web","16":"without-featured-image"},"_links":{"self":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/comments?post=1514"}],"version-history":[{"count":0,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1514\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/media?parent=1514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/categories?post=1514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/tags?post=1514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}