{"id":1002,"date":"2012-09-11T22:31:29","date_gmt":"2012-09-11T21:31:29","guid":{"rendered":"https:\/\/myworldofit.net\/?p=1002"},"modified":"2012-09-12T09:43:35","modified_gmt":"2012-09-12T08:43:35","slug":"moodle-error-new-users-ldap-and-sso-ntlm","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=1002","title":{"rendered":"Moodle Error, new users LDAP and SSO (NTLM)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1005\" title=\"\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/moodledatafoldererror.jpg\" alt=\"\" width=\"607\" height=\"134\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/moodledatafoldererror.jpg 607w, https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/moodledatafoldererror-300x66.jpg 300w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/p>\n<p>After recently setting up a <strong>Moodle<\/strong> install (<strong>hosted on IIS<\/strong> on Server 2008 R2) with <strong>SSO<\/strong> (<strong>LDAP<\/strong> server based (good old Microsoft AD) with <strong>NTLM<\/strong> looking after things) we found that <span style=\"text-decoration: underline;\"><strong>any new users were getting this error message<\/strong><\/span> appearing.<\/p>\n<blockquote><p>Fatal error: $CFG-&gt;dataroot is not writable, admin has to fix directory permissions! Exiting.<\/p><\/blockquote>\n<p>The simple solution is to\u00a0this problem is to change the NTFS permissions on the\u00a0moodledata folder to allow write\/modify to any user who is using moodle (I just set ours to domain users).<\/p>\nngg_shortcode_0_placeholder\n","protected":false},"excerpt":{"rendered":"<p>After recently setting up a Moodle install (hosted on IIS on Server 2008 R2) with SSO (LDAP server based (good old Microsoft AD) with NTLM looking after things) we found that any new users were getting this error message appearing. Fatal error: $CFG-&gt;dataroot is not writable, admin has to fix directory permissions! Exiting. The simple solution is to\u00a0this problem is&#8230; <a class=\"read-more\" href=\"https:\/\/myworldofit.net\/?p=1002\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[20],"tags":[138,124,139,102],"series":[],"class_list":["post-1002","post","type-post","status-publish","format-standard","hentry","category-software","tag-iis","tag-moodle","tag-single-sign-on","tag-windows-server-2008-r2"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/1002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1002"}],"version-history":[{"count":5,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/1002\/revisions"}],"predecessor-version":[{"id":1004,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/1002\/revisions\/1004"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1002"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=1002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}