<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yedidia</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yedidia"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/Special:Contributions/Yedidia"/>
	<updated>2026-10-06T09:16:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Chat_Console_Block&amp;diff=86419</id>
		<title>Chat Console Block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Chat_Console_Block&amp;diff=86419"/>
		<updated>2011-07-25T19:12:59Z</updated>

		<summary type="html">&lt;p&gt;Yedidia: added download and installation section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Chat Console&#039;&#039;&#039; block is a convenience method of communication between users. Designed to be similar to a standard Gmail/Facebook chat, this block will show connected users a list of all other users who are currently connected to the site. When clicking on the name of another user, a chat area will pop up and the users will be able to communicate.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot.png]]&lt;br /&gt;
&lt;br /&gt;
=Download and Installation=&lt;br /&gt;
* Download from https://github.com/atarplusplus/Moodle_2.x_chat_console&lt;br /&gt;
* Install like any other block by putting &#039;&#039;&#039;chat_console&#039;&#039;&#039; directory in &#039;&#039;&#039;blocks&#039;&#039;&#039; directory, then going to &#039;&#039;&#039;Notification&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Settings=&lt;br /&gt;
&lt;br /&gt;
The global settings for this block are these:&lt;br /&gt;
&lt;br /&gt;
* Remove after inactivity - If a user is inactive for this period of time he will be removed from the list.&lt;br /&gt;
* Highlight color - The color used to highlight the names in the block. The color name should be entered here in standard color name format (e.g. lightgreen).&lt;br /&gt;
* Send to history period - Periodically the chats are sent to history. You decide the period here. When the chat is sent to history you no longer see it in the chat area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Tweaks, Tips and Tricks=&lt;br /&gt;
&lt;br /&gt;
==Appearance==&lt;br /&gt;
&lt;br /&gt;
Since appearance is largely subjective, configuration features like location were not included in the global settings of the block. If nonetheless you are interested in changing the default location of the chat area, it can be done quite easily through the code.&lt;br /&gt;
&lt;br /&gt;
What you need to do is this: In the Console.js.php file in the function Open_Div_Chat, enter the default height from the bottom instead of 0 in the line which looks like this:&lt;br /&gt;
&lt;br /&gt;
    chat_obj[num_chats].element.style.bottom = 0;&lt;br /&gt;
&lt;br /&gt;
Setting the distance from the horizontal edge of the screen is just a little more complex. In the same function you must change the 20 in the following line:&lt;br /&gt;
&lt;br /&gt;
    left = 20 + (curr_chat*310);&lt;br /&gt;
&lt;br /&gt;
but you must also change in the function Close_Div_Chat the 20 in the line:&lt;br /&gt;
&lt;br /&gt;
        left = 20 + (i*310);&lt;br /&gt;
&lt;br /&gt;
That is all. You change those numbers as you need and you can overcome problems like a Moodlebar blocking your chat area.&lt;br /&gt;
&lt;br /&gt;
==Turning Pages==&lt;br /&gt;
&lt;br /&gt;
There is an interesting feature in Moodle that can slightly inconvenience your chat experience. Since every time you enter a page it loads a new page you will find that you will lose your chat in such cases (which tend to be rather abundant). There is no direct way to confront this problem yet, but there are two thing that must be taken into account:&lt;br /&gt;
&lt;br /&gt;
1. Use site-wide blocks: If you confine your chat to a small area in your site, your users will be much more greatly inconvenienced because they will lose their chat as soon as they leave the chat &amp;quot;region&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
2. Ignore the problem: As long as one side continues to chat, the chat area will open automatically for the other side if it happens to have closed as soon as he re-enters a chat &amp;quot;region&amp;quot; and a message has been sent to him.&lt;br /&gt;
&lt;br /&gt;
At present the solution is mainly psychological, but we hope to find a better one soon.&lt;/div&gt;</summary>
		<author><name>Yedidia</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=NTLM_authentication&amp;diff=74997</id>
		<title>NTLM authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=NTLM_authentication&amp;diff=74997"/>
		<updated>2010-08-21T20:23:53Z</updated>

		<summary type="html">&lt;p&gt;Yedidia: /* Using the NTLM part of Samba for Apache on Linux */  - keepalive on redhat/centos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 1.9}}This document describes how to set up &#039;&#039;&#039;NTLM/Windows Integrated Authentication&#039;&#039;&#039; in Moodle. &lt;br /&gt;
&lt;br /&gt;
This is integrated into Moodle 1.9 onwards.&lt;br /&gt;
&lt;br /&gt;
For earlier versions, it uses a modified version of LDAP Authentication.&lt;br /&gt;
The NTLM Authentication module is available in the Modules and Plugins database here:&lt;br /&gt;
http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=314&lt;br /&gt;
&lt;br /&gt;
Note: When a particular note is specific to earlier versions of the NTLM plugin, this is noted by: &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
Integrated Windows Authentication uses the security features of Windows clients and servers. It does not prompt users for a user name and password. The current Windows user information on the client computer is supplied by the browser through a challenge/response authentication process with the Web server for the Moodle site. &lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
#You are running MS [[Active Directory]] for Authentication.&lt;br /&gt;
#The Server hosting your website is a member of the Active Directory Domain that your users are also members of.&lt;br /&gt;
#You are able to define people inside your Network (and authenticated to the Domain) from an IP range of computers.&lt;br /&gt;
#&#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; You have &amp;quot;some&amp;quot; basic knowledge of php and are able to configure the index.php with the range of internal IP addresses.&lt;br /&gt;
#You are familar with or have read the LDAP authentication documentation.&lt;br /&gt;
#The Active Directory domain credentials of your users are returned as &#039;&#039;&#039;DOMAINNAME\username&#039;&#039;&#039; from your authentication service. If you are using the Winbind service from the Samba project, this can be untrue, depending on your Winbind configuration settings.&lt;br /&gt;
&lt;br /&gt;
If you can not modify your settings to satisfy this last assumption, then you will need to remove or comment out the line that reads:&lt;br /&gt;
    $username = substr(strrchr($username, &#039;\\&#039;), 1); //strip domain info&lt;br /&gt;
and add the relevant lines of code to extract the username part from the domain user credentials and store it in $username.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;VERY IMPORTANT&#039;&#039;&#039;: In Moodle 1.9 and onwards, NTLM authentication depends on [[LDAP authentication]], and NTLM configuration is specified in the LDAP authentication settings page (Administration &amp;gt;&amp;gt; Users &amp;gt;&amp;gt; Authentication &amp;gt;&amp;gt; LDAP Server). So before trying to configure NTLM, make sure you have LDAP_authentication properly setup and working.&lt;br /&gt;
&lt;br /&gt;
==Installation on 1.9==&lt;br /&gt;
&lt;br /&gt;
No installation needed. See the Administration &amp;gt;&amp;gt; Users &amp;gt;&amp;gt; Authentication &amp;gt;&amp;gt; LDAP Server for the NTLM config options. You only have to&lt;br /&gt;
&lt;br /&gt;
*Enable NTLM SSO&lt;br /&gt;
*Set the IP/Subnet mask for the clients (see below)&lt;br /&gt;
*On IIS: turn on Windows Authentication&lt;br /&gt;
*On Apache - use one of the 3 methods outlined below&lt;br /&gt;
*On the client pc&#039;s, you might need to set the moodle server ip/moodle url as being in &amp;quot;local intranet&amp;quot; (From IE, tools -&amp;gt; options -&amp;gt; security -&amp;gt; local intranet)&lt;br /&gt;
&lt;br /&gt;
If you have used previous versions of NTLM in your Moodle database you will need to make two further changes. &lt;br /&gt;
&lt;br /&gt;
#The type of authentication held against each user now needs to be LDAP, as NTLM will not be recognised. To edit the fields open up a SQL query for your Moodle server and use the following query &amp;quot;update mdl_user set auth = &#039;ldap&#039; where auth = &#039;ntlm&#039; &amp;quot;&lt;br /&gt;
#If you had a previous .htaccess file in the auth/ntlm directory, you will need to move it to the auth/ldap directory. Regardless of whether it is in a .htaccess file of the httpd.conf, the &amp;lt;Files&amp;gt; line now needs to refer to ntlmsso_magic.php. If it is in the httpd.conf, the &amp;lt;Directory&amp;gt; will need to change too. This is covered later on for new installs, but is one of the fundamental changes that needs to be made for those upgrading.&lt;br /&gt;
&lt;br /&gt;
==Installation on 1.6/1.7==&lt;br /&gt;
#Copy the folder AUTH/NTLM into the AUTH folder of your moodle installation.&lt;br /&gt;
#Configure IP/Subnet Mask in the Config screen  [[#Configuring_IP.2FSubnet_Mask|see below for more help]]. If the IP/Subnet Mask does not give enough complexity for your network, Modify the auth/ntlm/index.php file - for instructions on doing this, view the comments in the file.&lt;br /&gt;
#Turn Integrated Authentication ON and Anonymous Authentication OFF for the moodle\auth\ntlm\oncampuslogin.php file. [[#How_to_Turn_Integrated_Authentication_on|See below for more detailed instructions]]&lt;br /&gt;
#Visit the admin page of your moodle installation - you should see notification that the NTLM_AUTH module has been installed.&lt;br /&gt;
#go to the configuration &amp;gt; variables page, find the dbsessions setting (in 1.8 on admin page server \ sessions page), and set it to &amp;quot;YES&amp;quot; then save the page.&lt;br /&gt;
#go to the Authentication admin page and select auth_ntlmtitle as your authentication method Note: - this doesn&#039;t display full text as I haven&#039;t created a language file for this module - you will also see auth_ntlmdescription instead of a proper description - you don&#039;t need to worry about this, as you will be the only one who ever sees this.&lt;br /&gt;
#Configure this page with your normal LDAP settings. NOTE: the Alternate Login URL at the bottom of this page (or on the main authentication page in 1.8 - and needs to be set manually to the oncampus url)has been set to the NTLM page. - if you wish uninstall this auth module, you must reset this variable on the new authentication type page. eg - if you wish to revert back to manual authentication, then change to manual, and then make sure you delete the alternate login url at the bottom of the page.&lt;br /&gt;
#(OPTIONAL) modify the offcampuslogin page to give errors when students try to prefix their usercode with your domain.&lt;br /&gt;
around line 216 find this code, uncomment all the lines and replace the letters &#039;DOM&#039; with your domain:&lt;br /&gt;
&lt;br /&gt;
    if (empty($errormsg)) {&lt;br /&gt;
        if (strstr(strtolower($frm-&amp;gt;username), &amp;quot;DOM\\&amp;quot;) &amp;lt;&amp;gt; false) { //NAD - DOM messages.&lt;br /&gt;
            $errormsg = get_string(&amp;quot;invalidlogin&amp;quot;) . &amp;quot; DOM\\ is not required!&amp;quot;;&lt;br /&gt;
        } else if (strpos($frm-&amp;gt;username, &amp;quot;@&amp;quot;) &amp;lt;&amp;gt; false) {&lt;br /&gt;
            $errormsg = get_string(&amp;quot;invalidlogin&amp;quot;) . &amp;quot; enter your username - not your e-mail address.&amp;quot;;&lt;br /&gt;
        } else {&lt;br /&gt;
            $errormsg = get_string(&amp;quot;invalidlogin&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
==Installation on 1.5==&lt;br /&gt;
&lt;br /&gt;
See the README in the auth/ntml package.&lt;br /&gt;
&lt;br /&gt;
==How to Turn Integrated Authentication on==&lt;br /&gt;
The File ntlmsso_magic.php (1.9 or above) or oncampuslogin.php (1.8 or below) MUST have NTLM/Integrated Authentication enabled at the server or the page will not work.&lt;br /&gt;
===IIS Configuration===&lt;br /&gt;
Open up IIS, and find the auth/ldap/ntlmsso_magic.php (1.9 or above) or auth/ntlm/oncampuslogin.php (1.8 or below) file, &lt;br /&gt;
#right click on the file, choose properties&lt;br /&gt;
#under the &amp;quot;file security&amp;quot; tab, click on the Authentication and Access control &amp;quot;edit&amp;quot; button&lt;br /&gt;
#untick &amp;quot;Enable Anonymous Access&amp;quot; and tick &amp;quot;Integrated Windows Authentication&amp;quot;&lt;br /&gt;
#According to [http://moodle.org/mod/forum/discuss.php?d=145171#p634027 this post], if you are using IIS 7.5 (it comes with Windows Server 2008 R2), you have to select &#039;Windows Authentication&#039; and click on &#039;Providers&#039;. This shows a list of enabled providers (Negotiate and NTLM, by default). Change the order so that NTLM is at the top of the list.&lt;br /&gt;
&lt;br /&gt;
===APACHE Configuration===&lt;br /&gt;
There are currently 3 possible methods for this:&lt;br /&gt;
&lt;br /&gt;
====Using the NTLM part of Samba for Apache on Linux====&lt;br /&gt;
&lt;br /&gt;
* Get the plugin here: http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/ . You need to download all the files from the link, but not the &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;debian&amp;lt;/code&amp;gt; directories. Then follow the instructions given inside the &amp;lt;code&amp;gt;README&amp;lt;/code&amp;gt; file. If you are using Debian/Ubuntu, you can follow these [[#Compiling_mod_auth_ntlm_winbind_on_Debian.2FUbuntu|compilation instructions]].&lt;br /&gt;
* Once you have compiled it, put it inside Apache&#039;s modules subdirectory (this location depends on a number of factors, like compiling Apache yourself, using different Linux distributions packages, an so on), and load and enable the module in Apache&#039;s configuration. For example, if your Apache modules are under &amp;lt;tt&amp;gt;/usr/lib/apache2/modules&amp;lt;/tt&amp;gt;, you&#039;ll need something like this in your Apache configuration file (usually called &amp;lt;tt&amp;gt;apache2.conf&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;http2.conf&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;IfModule !mod_auth_ntlm_winbind.c&amp;gt;&lt;br /&gt;
       LoadModule auth_ntlm_winbind_module /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install the Samba &amp;lt;tt&amp;gt;winbind&amp;lt;/tt&amp;gt; daemon package. This packages relies on Samba&#039;s configuration file to get some important settings (like the Windows domain name, uid and gid range mappings, and so on). In addition to that, you&#039;ll need to make your Linux/Unix machine part of the domain. Otherwise winbind won&#039;t be able to pull user and groups informationi from the domain controllers. You should read the Samba documentation to perform this step, but the most important part is having something like the following lines in your &amp;lt;code&amp;gt;smb.conf&amp;lt;/code&amp;gt; file (in addition to what you already have there):&lt;br /&gt;
&lt;br /&gt;
  workgroup = DOMAINNAME&lt;br /&gt;
  password server = *&lt;br /&gt;
  security = domain&lt;br /&gt;
  encrypt passwords = true&lt;br /&gt;
  idmap uid = 10000-20000&lt;br /&gt;
  idmap gid = 10000-20000&lt;br /&gt;
&lt;br /&gt;
: and executing the command (as root):&lt;br /&gt;
&lt;br /&gt;
  # net join DOMAINNAME -U Administrator&lt;br /&gt;
&lt;br /&gt;
: where &#039;&#039;&#039;DOMAINNAME&#039;&#039;&#039; is the NetBIOS windows domain name, and &#039;&#039;&#039;Administrator&#039;&#039;&#039; an account with enough privileges to add new machines to the domain.&amp;lt;br/&amp;gt; You&#039;ll need to type this account&#039;s password for the command to succeed.&lt;br /&gt;
&lt;br /&gt;
: Also, make sure you have disabled &amp;quot;Microsoft Network Server: digitally sign communications (always)&amp;quot; in your Domain Controllers Security Policy, unless you are using a version of Samba that can sign SMB packets.&lt;br /&gt;
&lt;br /&gt;
* Restart the &amp;lt;tt&amp;gt;winbind&amp;lt;/tt&amp;gt; service to apply the changes and test that it&#039;s running ok by executing:&lt;br /&gt;
&lt;br /&gt;
  $ wbinfo -u&lt;br /&gt;
&lt;br /&gt;
: You should get the full list of Windows domain users. If you use &#039;&#039;&#039;&amp;lt;tt&amp;gt;-g&amp;lt;/tt&amp;gt;&#039;&#039;&#039; instead, you&#039;ll get the domain groups list.&lt;br /&gt;
&lt;br /&gt;
* Check that your &amp;lt;tt&amp;gt;winbind&amp;lt;/tt&amp;gt; package installed the authentication helper command &amp;lt;tt&amp;gt;ntlm_auth&amp;lt;/tt&amp;gt;, as we&#039;ll need it later. We&#039;ll assume the helper is located at &amp;lt;tt&amp;gt;/usr/bin/ntlm_auth&amp;lt;/tt&amp;gt;. If yours is at a different location, make sure you adjust the path in the example below.&lt;br /&gt;
&lt;br /&gt;
* Add something like this to your Apache configuration file (usually called &amp;lt;tt&amp;gt;apache2.conf&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;http2.conf&amp;lt;/tt&amp;gt;). We&#039;ll assume that your Moodle &amp;lt;tt&amp;gt;$CFG-&amp;gt;dirroot&amp;lt;/tt&amp;gt; directory is located at &amp;lt;tt&amp;gt;/var/www/moodle&amp;lt;/tt&amp;gt; in the example:&lt;br /&gt;
: &#039;&#039;&#039;For 1.9 or above use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;/var/www/moodle/auth/ldap/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
            NTLMAuth on&lt;br /&gt;
            AuthType NTLM&lt;br /&gt;
            AuthName &amp;quot;Moodle NTLM Authentication&amp;quot;&lt;br /&gt;
            NTLMAuthHelper &amp;quot;/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp&amp;quot;&lt;br /&gt;
            NTLMBasicAuthoritative on&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
: &#039;&#039;&#039;For 1.8 or below use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;/var/www/moodle/auth/ntlm/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files oncampuslogin.php&amp;gt;&lt;br /&gt;
            NTLMAuth on&lt;br /&gt;
            AuthType NTLM&lt;br /&gt;
            AuthName &amp;quot;Moodle NTLM Authentication&amp;quot;&lt;br /&gt;
            NTLMAuthHelper &amp;quot;/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp&amp;quot;&lt;br /&gt;
            NTLMBasicAuthoritative on&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
* Check the permissions of the Winbind pipe directory (Ubuntu places it under &amp;lt;tt&amp;gt;/var/run/samba/winbindd_privileged&amp;lt;/tt&amp;gt;, yours may be placed at a different location). Apache will need to be able to enter that directory, so we need to make sure it has the right permissions. So have a look at the permissions of that directory and note the name of the group assigned to it. The following example is from a Ubuntu 7.10 machine:&lt;br /&gt;
&lt;br /&gt;
  $ ls -ald /var/run/samba/winbindd_privileged&lt;br /&gt;
  drwxr-x--- 2 root winbindd_priv 60 2007-11-17 16:18 /var/run/samba/winbindd_privileged/&lt;br /&gt;
&lt;br /&gt;
:so we see the group is &amp;lt;tt&amp;gt;winbindd_priv&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* Instead of modifying the directory permissions (which could break other services that use winbind) we are going to make the Apache user (&amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; in our example, but could be &amp;lt;tt&amp;gt;httpd&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;nobody&amp;lt;/tt&amp;gt;, etc.) is part of the appropiate group. Execute the following as root:&lt;br /&gt;
&lt;br /&gt;
  # adduser www-data winbindd_priv&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;tt&amp;gt;adduser&amp;lt;/tt&amp;gt; is available in Debian and Ubuntu at least. If your distribution doesn&#039;t have &amp;lt;tt&amp;gt;adduser&amp;lt;/tt&amp;gt;, you can edit &amp;lt;tt&amp;gt;/etc/group&amp;lt;/tt&amp;gt; manually to achive the same effect.&lt;br /&gt;
&lt;br /&gt;
* Stop and start the Apache service to apply the changes. Have a look at Apache&#039;s error log to see that everything is ok.&lt;br /&gt;
&lt;br /&gt;
* Couple of gotchas - in Fedora Core (and also in Redhat/Centos), keep alive is turned OFF by default in the httpd.conf - see this bug for further info: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188138&amp;lt;br /&amp;gt;&lt;br /&gt;
simply change the line to that was:&lt;br /&gt;
 KeepAlive Off&lt;br /&gt;
to:&lt;br /&gt;
 KeepAlive On&lt;br /&gt;
and restart apache (/etc/init.d/http restart)&lt;br /&gt;
* Email Dan if you get this working - I&#039;m keen to hear how people go using the samba winbind option!&lt;br /&gt;
::-- Hi Dan! I made it work using Ubuntu 7.04. That&#039;s what I&#039;ve used to update the documentation. [[User:Iñaki Arenaza|Iñaki Arenaza]] 10:43, 30 September 2007 (CDT)&lt;br /&gt;
::-- Hi Dan! I have this working on Ubuntu 8.04 LTS in an RM CC4 Active Directory Domain. [[User:munk3h|Ian]] 16:31 15 December 2009 (GMT)&lt;br /&gt;
&lt;br /&gt;
====Using the NTLM Auth Module for Apache on Linux====&lt;br /&gt;
The NTLM Auth module is a bit stale and even its authors suggest that you use the [[#Using_the_NTLM_part_of_Samba_for_Apache_on_Linux|NTLM part of Samba with Apache on Linux]]&lt;br /&gt;
&lt;br /&gt;
Get it from here &lt;br /&gt;
# get the Module from: http://modntlm.sourceforge.net/&lt;br /&gt;
# follow the instructions given there and inside the README that comes with the package.&lt;br /&gt;
&lt;br /&gt;
I (Iñaki Arenaza) strongly recommend using the [[#Using_the_NTLM_part_of_Samba_for_Apache_on_Linux|NTLM part of Samba with Apache on Linux]] over this module. It&#039;s better maintained, more robust and has more features.&lt;br /&gt;
&lt;br /&gt;
====Using the mod_auth_sspi Module for Apache 2 on Windows====&lt;br /&gt;
NOTE: This setup is currently being used in a live production environment, and is therefore suitable for such use provided it is correctly configured and tested.&lt;br /&gt;
&lt;br /&gt;
This is the recommended method for Apache 2 on Windows, however it will &#039;&#039;&#039;not&#039;&#039;&#039; work on Linux/UNIX systems.&lt;br /&gt;
It provides better stability and higher performance than other NTLM modules.&lt;br /&gt;
&lt;br /&gt;
* Download the mod_auth_sspi Module from: http://sourceforge.net/projects/mod-auth-sspi/. At the moment of writing this (2007.09.30), the current version is mod_auth_sspi 1.0.4, which has two different ZIP files to download:&lt;br /&gt;
&lt;br /&gt;
::* mod_auth_sspi-1.0.4-2.0.58.zip :   Use this file if you are using Apache 2.0.x.&lt;br /&gt;
::* mod_auth_sspi-1.0.4-2.2.2.zip :   Use this file if you are using Apache 2.2.x.&lt;br /&gt;
&lt;br /&gt;
* Unzip the right file and copy mod_auth_sspi.so (it&#039;s inside &#039;&#039;&#039;bin&#039;&#039;&#039; subdirectory) to your Apache modules directory.&lt;br /&gt;
* Edit your Apache 2 configuration file (httpd.conf) to load the module.&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;IfModule !mod_auth_sspi.c&amp;gt;&lt;br /&gt;
        LoadModule sspi_auth_module modules/mod_auth_sspi.so&lt;br /&gt;
    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Choose one of the two methods below&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Method 1&#039;&#039;&#039;: This method is recommended for servers that will host a single Moodle instance. Configure NTLM from the main configuration file, add the following to httpd.conf (substitute &amp;quot;C:\moodle&amp;quot; with the path to your Moodle installation e.g. &amp;quot;C:\my-moodle&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;For 1.9 or above use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;C:\moodle\auth\ldap&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
            AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
            AuthType SSPI&lt;br /&gt;
            SSPIAuth On&lt;br /&gt;
            SSPIOfferBasic Off&lt;br /&gt;
            SSPIAuthoritative On&lt;br /&gt;
            SSPIDomain mycollege.ac.uk&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
:: &#039;&#039;&#039;For 1.8 or below use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;C:\moodle\auth\ntlm&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files oncampuslogin.php&amp;gt;&lt;br /&gt;
            AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
            AuthType SSPI&lt;br /&gt;
            SSPIAuth On&lt;br /&gt;
            SSPIOfferBasic Off&lt;br /&gt;
            SSPIAuthoritative On&lt;br /&gt;
            SSPIDomain mycollege.ac.uk&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Method 2&#039;&#039;&#039;: The alternative method is to use a .htaccess file&lt;br /&gt;
:This method is recommended for servers that will host multiple Moodle instances. It allows additional Moodle instances to be configured without restarting apache, and also makes the solution a little more portable. We need to add a directive to the main httpd.conf to allow configuration of authentication within .htaccess files.&lt;br /&gt;
    &amp;lt;Directory C:\moodle&amp;gt;&lt;br /&gt;
        AllowOverride AuthConfig&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;For 1.9 or above&#039;&#039;&#039;:&lt;br /&gt;
:::Create a new text file named &#039;.htaccess&#039; in the directory &#039;C:\moodle\moodle\auth\ldap&#039; and add the following directives:&lt;br /&gt;
    &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
        AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
        AuthType SSPI&lt;br /&gt;
        SSPIAuth On&lt;br /&gt;
        SSPIOfferBasic Off&lt;br /&gt;
        SSPIAuthoritative On&lt;br /&gt;
        SSPIDomain mycollege.ac.uk&lt;br /&gt;
        require valid-user&lt;br /&gt;
    &amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;For 1.8 or below&#039;&#039;&#039;:&lt;br /&gt;
:::Create a new text file named &#039;.htaccess&#039; in the directory &#039;C:\moodle\moodle\auth\ntlm&#039; and add the following directives:&lt;br /&gt;
    &amp;lt;Files oncampuslogin.php&amp;gt;&lt;br /&gt;
        AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
        AuthType SSPI&lt;br /&gt;
        SSPIAuth On&lt;br /&gt;
        SSPIOfferBasic Off&lt;br /&gt;
        SSPIAuthoritative On&lt;br /&gt;
        SSPIDomain mycollege.ac.uk&lt;br /&gt;
        require valid-user&lt;br /&gt;
    &amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This enables the Moodle folder to be moved to any apache webserver that is configured to allow authentication configuration through .htaccess&lt;br /&gt;
&lt;br /&gt;
For further help and discussion: http://moodle.org/mod/forum/discuss.php?d=56565&lt;br /&gt;
&lt;br /&gt;
====Using the Kerberos Auth Module for Apache on Linux/UNIX (mod_auth_kerb)====&lt;br /&gt;
*Install and configure http://modauthkerb.sourceforge.net/&lt;br /&gt;
*Configuration of mod_auth_kerb in a Microsoft Windows Active Directory environment (AD 2003 and above) (http://grolmsnet.de/kerbtut/)&lt;br /&gt;
&lt;br /&gt;
Environment details in this example:&lt;br /&gt;
#&#039;&#039;&#039;Active Directory Domain:&#039;&#039;&#039; EXAMPLE.AC.UK&lt;br /&gt;
#&#039;&#039;&#039;Active Directory Domain Controller:&#039;&#039;&#039; dc.example.ac.uk&lt;br /&gt;
#&#039;&#039;&#039;Linux/UNIX web server:&#039;&#039;&#039; moodle.example.ac.uk&lt;br /&gt;
#&#039;&#039;&#039;Active Directory user account for web server service principal:&#039;&#039;&#039; moodlekerb&lt;br /&gt;
&lt;br /&gt;
Install kerberos on moodle.example.ac.uk and enter the following in krb5.conf (by default: /etc/krb5.conf)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[libdefaults]&lt;br /&gt;
    default_realm = EXAMPLE.AC.UK&lt;br /&gt;
[domain_realm]&lt;br /&gt;
    example.ac.uk = EXAMPLE.AC.UK&lt;br /&gt;
[realms]&lt;br /&gt;
     EXAMPLE.AC.UK = {&lt;br /&gt;
                      admin_server = dc.example.ac.uk&lt;br /&gt;
                      kdc          = dc.example.ac.uk&lt;br /&gt;
                    }:&lt;br /&gt;
* Test kerberos&lt;br /&gt;
Issue the following command at the shell prompt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$&amp;gt; kinit user@EXAMPLE.AC.UK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;user&#039; is an Active Directory account for which you know the password.&lt;br /&gt;
&lt;br /&gt;
Next, issue the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;$&amp;gt;klist&amp;lt;/pre&amp;gt;&lt;br /&gt;
If all is OK it will list the Kerberos ticket you were granted from the domain controller (KDC)&lt;br /&gt;
&lt;br /&gt;
* Create HTTP service principal for moodle.example.ac.uk&lt;br /&gt;
#Create the &#039;moodlekerb&#039; &#039;&#039;&#039;user&#039;&#039;&#039; account in Active Directory (NOT a machine account) to map to the web server service principal (HTTP/moodle.example.ac.uk@EXAMPLE.AC.UK)&lt;br /&gt;
NOTE: moodle.example.ac.uk MUST be the canonical DNS name of the server i.e. an A record (NOT a CNAME). Additionally a valid PTR (reverse DNS) record must exist and match the corresponding A record.&lt;br /&gt;
&lt;br /&gt;
#Use the ktpass.exe utility to map the service principal and create a keytab file&lt;br /&gt;
Apache requires a keytab file, which is generated with ktpass.exe on the Windows Active Directory Domain Controller.&lt;br /&gt;
Shockingly, this component of Windows Server 2003 SP1 does not function correctly so one must obtain a hot fix: http://support.microsoft.com/kb/919557&lt;br /&gt;
&lt;br /&gt;
Run the following command on the domain controller:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\path\to\hotfix\ktpass.exe -princ HTTP/moodle.example.ac.uk@EXAMPLE.AC.UK -mapuser EXAMPLE\moodlekerb -crypto DES-CBC-MD5 +DesOnly +setPass +rndPass -ptype KRB5_NT_PRINCIPAL -out moodle.example.ac.uk.keytab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy C:\path\to\hotfix\moodle.example.ac.uk.keytab to the moodle web server and remember the location (/etc/httpd/moodle.example.ac.uk.keytab or similar)&lt;br /&gt;
&lt;br /&gt;
* Configure Apache / mod_auth_kerb&lt;br /&gt;
Edit the Apache configuration for the moodle host and add the following directives:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;lt;Directory /path/to/moodle/docs/auth/ldap/&amp;gt;&lt;br /&gt;
                &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
                        AuthName &amp;quot;Moodle&amp;quot;&lt;br /&gt;
                        AuthType Kerberos&lt;br /&gt;
                        KrbAuthRealms EXAMPLE.AC.UK&lt;br /&gt;
                        KrbServiceName HTTP&lt;br /&gt;
                        Krb5Keytab /etc/httpd/moodle.example.ac.uk.keytab&lt;br /&gt;
                        KrbMethodNegotiate on&lt;br /&gt;
                        KrbMethodK5Passwd on&lt;br /&gt;
                        KrbAuthoritative on&lt;br /&gt;
                        require valid-user&lt;br /&gt;
                &amp;lt;/Files&amp;gt;&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Replace the &#039;&#039;&#039;ntlmsso_magic&#039;&#039;&#039; function in &#039;&#039;&#039;/auth/ldap/auth.php&#039;&#039;&#039; (1.9 and later only?) with the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    function ntlmsso_magic($sesskey) {&lt;br /&gt;
        if (isset($_SERVER[&#039;REMOTE_USER&#039;]) &amp;amp;&amp;amp; !empty($_SERVER[&#039;REMOTE_USER&#039;])) {&lt;br /&gt;
			&lt;br /&gt;
            $username = $_SERVER[&#039;REMOTE_USER&#039;];&lt;br /&gt;
&lt;br /&gt;
			/**&lt;br /&gt;
			  * begin kerberos - afhole@wortech.ac.uk 21-04-2009&lt;br /&gt;
			  */&lt;br /&gt;
			if ( $pos = strpos($username, &amp;quot;@&amp;quot;) )&lt;br /&gt;
			{&lt;br /&gt;
				$username = substr($username, 0, $pos);&lt;br /&gt;
			} else {&lt;br /&gt;
				$username = substr(strrchr($username, &#039;\\&#039;), 1); //strip domain info&lt;br /&gt;
			}&lt;br /&gt;
			/**&lt;br /&gt;
			  * end kerberos&lt;br /&gt;
			  */&lt;br /&gt;
			&lt;br /&gt;
            $username = moodle_strtolower($username); //compatibility hack&lt;br /&gt;
            set_cache_flag(&#039;auth/ldap/ntlmsess&#039;, $sesskey, $username, AUTH_NTLMTIMEOUT);&lt;br /&gt;
            return true;&lt;br /&gt;
        }&lt;br /&gt;
        return false;&lt;br /&gt;
    }&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above code change will account for the fact that Kerberos presents the username to REMOTE_USER in the format user@DOMAIN, rather than NTLM&#039;s DOMAIN\user&lt;br /&gt;
&lt;br /&gt;
==Configuring IP/Subnet Mask==&lt;br /&gt;
Subnet masks are based on binary patterns so need a bit of knowledge to understand. The best way to find out what IP/Subnet masks to use is to ask your Network Admin. &lt;br /&gt;
* &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; Once you have configured your IP/Subnet masks, you can use the check_ip.php page to test if you have set these ranges up correctly.&lt;br /&gt;
* The new way of specifiying subnets is even easier/more flexible than before 1.9. Just type them one after the other, separated by commas. You can use several syntaxes:&lt;br /&gt;
** Type the network-number/prefix-length combination. E.g. 192.168.1.0/24&lt;br /&gt;
** Type the network &#039;prefix&#039;, ending in a period character. E.g. 192.168.1.&lt;br /&gt;
** Type the network address range (&#039;&#039;&#039;this only works for the last address octect&#039;&#039;&#039;). E.g. 192.168.1.1-254&lt;br /&gt;
:All the three examples refer to the same subnetwork. So assuming you need to specify the following subnetworks:&lt;br /&gt;
::* 10.1.0/255.255.0.0&lt;br /&gt;
::* 10.2.0.0/255.255.0.0&lt;br /&gt;
::* 172.16.0.0/255.255.0.0&lt;br /&gt;
::* 192.168.100.0/255.255.255.240&lt;br /&gt;
:You can type:&lt;br /&gt;
 10.1.0.0/16, 10.2.0.0/16, 172.16.0.0/16, 192.168.100.0/28&lt;br /&gt;
: or:&lt;br /&gt;
  10.1.0.0/16, 10.2.0.0/16, 172.16.0.0/16, 192.168.100.240-255&lt;br /&gt;
:or even:&lt;br /&gt;
  10.1., 10.2., 172.16., 192.168.100.0/28&lt;br /&gt;
:(the last one cannot be expressed as a network &#039;prefix&#039; as the netmask does not fall on an octect boundary).&lt;br /&gt;
&lt;br /&gt;
==Notes/Tips==&lt;br /&gt;
# &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; When using IIS, dbsessions is required to be set to &amp;quot;YES&amp;quot; because when Integrated authentication is turned on for the oncampuslogin.php page, and dbsessions is set to &amp;quot;NO&amp;quot; then the server impersonates the user to write the session in the moodledata\sessions folder. The recommended fix is to set dbsessions to &amp;quot;YES&amp;quot; so that sessions are stored in the db. The non-recommended alternative method is to allow domain users write access to the sessions directory.&lt;br /&gt;
# &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; If you forget to change the internal IP addresses in index.php to your own, you can just use the offcampuslogin url to login using your admin account. eg: http://yoursite.com/moodle/auth/ntlm/offcampuslogin.php&lt;br /&gt;
#If you are using Firefox, you will need to follow these steps:&lt;br /&gt;
:*Load Firefox and type about:config in the address box. The configuration settings page should be displayed.&lt;br /&gt;
:*In the Filter box, type the word &amp;quot;ntlm&amp;quot; to filter the NTLM strings. You should see three settings displayed.&lt;br /&gt;
:*Double-click on &amp;quot;network.automatic-ntlm-auth.trusted-uris&amp;quot;.&lt;br /&gt;
:*In the box, enter the full URL of your Moodle server. For example &amp;lt;pre&amp;gt;http://moodle.mydomain.com, (the comma is important)&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Close Firefox and restart.&lt;br /&gt;
# NTLM seems to not work at all when BASIC authentication is enabled. (this was using the Kerberos method, other ways may work)&lt;br /&gt;
# If the account in your AD management console shows like &amp;quot;First Last&amp;quot;, you better change the ldap settings parameter &#039;User Attribute&#039; from its default of {blank} / &#039;cn&#039; to &#039;sAMAccountName&#039; as indicated in [http://moodle.org/mod/forum/discuss.php?d=132364#p682173 this post]. The reason is that the cn name generally looks like &amp;quot;First Last&amp;quot;, once you done the ldap sync, the user name in moodle will be &amp;quot;first last&amp;quot;, but IE passes the account of &amp;quot;domain\first.last&amp;quot; to moodle which does not exist in moodle.&lt;br /&gt;
&lt;br /&gt;
==Specific File information (pre-1.9 only)== &lt;br /&gt;
(mainly for developers)&lt;br /&gt;
#auth\ntlm\index.php&amp;lt;br /&amp;gt;This is the page used for the Alternate Login URL setting on the config page for the NTLM plugin.&amp;lt;br&amp;gt;The index.php file handles which login page to use based on the IP address of the user.&amp;lt;br&amp;gt;if inside your network, they should be directed to the oncampuslogin.php screen.&amp;lt;br&amp;gt;if outside your network, they should be directed to the offcampuslogin.php screen.&amp;lt;br&amp;gt;you will need to modify the if statements in this file to match the IP ranges inside your network.&lt;br /&gt;
#auth\ntlm\index_form.html&amp;lt;br /&amp;gt;this is a copy of the file login\index_form.php.&amp;lt;br /&amp;gt; The only change in this file from the standard one is that the form action=&amp;quot;index.php&amp;quot; is changed to form action=&amp;quot;offcampuslogin.php&amp;quot; this is because anyone who is displayed the form will be an offcampus user.&lt;br /&gt;
#auth\ntlm\offcampuslogin.php&amp;lt;br /&amp;gt;this is a copy of the file moodle\login\index.php with a couple of minor modifications.&amp;lt;br /&amp;gt;the modifications to this file involve the setting of a variable ($onoroffcampus = &amp;quot;offcampus&amp;quot;;) this is used by the auth plugin to define which page is being used for authentication. the other modification is for displaying extra error messages to the user. - with all the authentication methods we have students are constantly confused about how to enter their credentials if you use NTLM authentication elsewhere at your site you will be aware of the users having to enter the domain\username when authenticating. - this code block sits around line 215 in the file.&lt;br /&gt;
#auth\ntlm\oncampuslogin.php&amp;lt;br /&amp;gt;this is a copy of the file login\index.php&amp;lt;br /&amp;gt;This file has been modified to get the details of the authenticated user via NTLM.&lt;br /&gt;
&lt;br /&gt;
==Compiling mod_auth_ntlm_winbind on Debian/Ubuntu==&lt;br /&gt;
You need to install the following packages (and all of their dependencies) by using aptitude, synaptic, etc.:&lt;br /&gt;
&lt;br /&gt;
  autoconf apache2-threaded-dev debian-builder&lt;br /&gt;
&lt;br /&gt;
Once you have them installed, open up a text console, go to the directory where you downloaded the mod_auth_ntlm_winbind files an execute the following commands (as a normal user):&lt;br /&gt;
&lt;br /&gt;
  autoconf&lt;br /&gt;
  ./configure --with-apxs=/usr/bin/apxs2 --with-apache=/usr/sbin/apache2&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
That should compile it without errors. Then as a user that can run commands as root via sudo, execute the following command from the same directory:&lt;br /&gt;
&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
This will create the final mod_auth_ntlm_winbind.so file and install it under /usr/lib/apache2/modules, with the rest of the Apache 2 modules (the size of the file and last modification time shown below may differ from your install):&lt;br /&gt;
&lt;br /&gt;
  ls -l /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so&lt;br /&gt;
  -rw-r--r-- 1 root root 20921 2009-02-17 04:27 /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=45887 NTLM Authentication] forum discussion&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=314 Download the NTLM Authentication Module]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=80104 Merging AD NTLM SSO into auth/ldap] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Authentification NTLM]]&lt;/div&gt;</summary>
		<author><name>Yedidia</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=NTLM_authentication&amp;diff=74996</id>
		<title>NTLM authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=NTLM_authentication&amp;diff=74996"/>
		<updated>2010-08-21T20:20:17Z</updated>

		<summary type="html">&lt;p&gt;Yedidia: /* Using the NTLM part of Samba for Apache on Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 1.9}}This document describes how to set up &#039;&#039;&#039;NTLM/Windows Integrated Authentication&#039;&#039;&#039; in Moodle. &lt;br /&gt;
&lt;br /&gt;
This is integrated into Moodle 1.9 onwards.&lt;br /&gt;
&lt;br /&gt;
For earlier versions, it uses a modified version of LDAP Authentication.&lt;br /&gt;
The NTLM Authentication module is available in the Modules and Plugins database here:&lt;br /&gt;
http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=314&lt;br /&gt;
&lt;br /&gt;
Note: When a particular note is specific to earlier versions of the NTLM plugin, this is noted by: &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
Integrated Windows Authentication uses the security features of Windows clients and servers. It does not prompt users for a user name and password. The current Windows user information on the client computer is supplied by the browser through a challenge/response authentication process with the Web server for the Moodle site. &lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
#You are running MS [[Active Directory]] for Authentication.&lt;br /&gt;
#The Server hosting your website is a member of the Active Directory Domain that your users are also members of.&lt;br /&gt;
#You are able to define people inside your Network (and authenticated to the Domain) from an IP range of computers.&lt;br /&gt;
#&#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; You have &amp;quot;some&amp;quot; basic knowledge of php and are able to configure the index.php with the range of internal IP addresses.&lt;br /&gt;
#You are familar with or have read the LDAP authentication documentation.&lt;br /&gt;
#The Active Directory domain credentials of your users are returned as &#039;&#039;&#039;DOMAINNAME\username&#039;&#039;&#039; from your authentication service. If you are using the Winbind service from the Samba project, this can be untrue, depending on your Winbind configuration settings.&lt;br /&gt;
&lt;br /&gt;
If you can not modify your settings to satisfy this last assumption, then you will need to remove or comment out the line that reads:&lt;br /&gt;
    $username = substr(strrchr($username, &#039;\\&#039;), 1); //strip domain info&lt;br /&gt;
and add the relevant lines of code to extract the username part from the domain user credentials and store it in $username.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&#039;&#039;&#039;VERY IMPORTANT&#039;&#039;&#039;: In Moodle 1.9 and onwards, NTLM authentication depends on [[LDAP authentication]], and NTLM configuration is specified in the LDAP authentication settings page (Administration &amp;gt;&amp;gt; Users &amp;gt;&amp;gt; Authentication &amp;gt;&amp;gt; LDAP Server). So before trying to configure NTLM, make sure you have LDAP_authentication properly setup and working.&lt;br /&gt;
&lt;br /&gt;
==Installation on 1.9==&lt;br /&gt;
&lt;br /&gt;
No installation needed. See the Administration &amp;gt;&amp;gt; Users &amp;gt;&amp;gt; Authentication &amp;gt;&amp;gt; LDAP Server for the NTLM config options. You only have to&lt;br /&gt;
&lt;br /&gt;
*Enable NTLM SSO&lt;br /&gt;
*Set the IP/Subnet mask for the clients (see below)&lt;br /&gt;
*On IIS: turn on Windows Authentication&lt;br /&gt;
*On Apache - use one of the 3 methods outlined below&lt;br /&gt;
*On the client pc&#039;s, you might need to set the moodle server ip/moodle url as being in &amp;quot;local intranet&amp;quot; (From IE, tools -&amp;gt; options -&amp;gt; security -&amp;gt; local intranet)&lt;br /&gt;
&lt;br /&gt;
If you have used previous versions of NTLM in your Moodle database you will need to make two further changes. &lt;br /&gt;
&lt;br /&gt;
#The type of authentication held against each user now needs to be LDAP, as NTLM will not be recognised. To edit the fields open up a SQL query for your Moodle server and use the following query &amp;quot;update mdl_user set auth = &#039;ldap&#039; where auth = &#039;ntlm&#039; &amp;quot;&lt;br /&gt;
#If you had a previous .htaccess file in the auth/ntlm directory, you will need to move it to the auth/ldap directory. Regardless of whether it is in a .htaccess file of the httpd.conf, the &amp;lt;Files&amp;gt; line now needs to refer to ntlmsso_magic.php. If it is in the httpd.conf, the &amp;lt;Directory&amp;gt; will need to change too. This is covered later on for new installs, but is one of the fundamental changes that needs to be made for those upgrading.&lt;br /&gt;
&lt;br /&gt;
==Installation on 1.6/1.7==&lt;br /&gt;
#Copy the folder AUTH/NTLM into the AUTH folder of your moodle installation.&lt;br /&gt;
#Configure IP/Subnet Mask in the Config screen  [[#Configuring_IP.2FSubnet_Mask|see below for more help]]. If the IP/Subnet Mask does not give enough complexity for your network, Modify the auth/ntlm/index.php file - for instructions on doing this, view the comments in the file.&lt;br /&gt;
#Turn Integrated Authentication ON and Anonymous Authentication OFF for the moodle\auth\ntlm\oncampuslogin.php file. [[#How_to_Turn_Integrated_Authentication_on|See below for more detailed instructions]]&lt;br /&gt;
#Visit the admin page of your moodle installation - you should see notification that the NTLM_AUTH module has been installed.&lt;br /&gt;
#go to the configuration &amp;gt; variables page, find the dbsessions setting (in 1.8 on admin page server \ sessions page), and set it to &amp;quot;YES&amp;quot; then save the page.&lt;br /&gt;
#go to the Authentication admin page and select auth_ntlmtitle as your authentication method Note: - this doesn&#039;t display full text as I haven&#039;t created a language file for this module - you will also see auth_ntlmdescription instead of a proper description - you don&#039;t need to worry about this, as you will be the only one who ever sees this.&lt;br /&gt;
#Configure this page with your normal LDAP settings. NOTE: the Alternate Login URL at the bottom of this page (or on the main authentication page in 1.8 - and needs to be set manually to the oncampus url)has been set to the NTLM page. - if you wish uninstall this auth module, you must reset this variable on the new authentication type page. eg - if you wish to revert back to manual authentication, then change to manual, and then make sure you delete the alternate login url at the bottom of the page.&lt;br /&gt;
#(OPTIONAL) modify the offcampuslogin page to give errors when students try to prefix their usercode with your domain.&lt;br /&gt;
around line 216 find this code, uncomment all the lines and replace the letters &#039;DOM&#039; with your domain:&lt;br /&gt;
&lt;br /&gt;
    if (empty($errormsg)) {&lt;br /&gt;
        if (strstr(strtolower($frm-&amp;gt;username), &amp;quot;DOM\\&amp;quot;) &amp;lt;&amp;gt; false) { //NAD - DOM messages.&lt;br /&gt;
            $errormsg = get_string(&amp;quot;invalidlogin&amp;quot;) . &amp;quot; DOM\\ is not required!&amp;quot;;&lt;br /&gt;
        } else if (strpos($frm-&amp;gt;username, &amp;quot;@&amp;quot;) &amp;lt;&amp;gt; false) {&lt;br /&gt;
            $errormsg = get_string(&amp;quot;invalidlogin&amp;quot;) . &amp;quot; enter your username - not your e-mail address.&amp;quot;;&lt;br /&gt;
        } else {&lt;br /&gt;
            $errormsg = get_string(&amp;quot;invalidlogin&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
==Installation on 1.5==&lt;br /&gt;
&lt;br /&gt;
See the README in the auth/ntml package.&lt;br /&gt;
&lt;br /&gt;
==How to Turn Integrated Authentication on==&lt;br /&gt;
The File ntlmsso_magic.php (1.9 or above) or oncampuslogin.php (1.8 or below) MUST have NTLM/Integrated Authentication enabled at the server or the page will not work.&lt;br /&gt;
===IIS Configuration===&lt;br /&gt;
Open up IIS, and find the auth/ldap/ntlmsso_magic.php (1.9 or above) or auth/ntlm/oncampuslogin.php (1.8 or below) file, &lt;br /&gt;
#right click on the file, choose properties&lt;br /&gt;
#under the &amp;quot;file security&amp;quot; tab, click on the Authentication and Access control &amp;quot;edit&amp;quot; button&lt;br /&gt;
#untick &amp;quot;Enable Anonymous Access&amp;quot; and tick &amp;quot;Integrated Windows Authentication&amp;quot;&lt;br /&gt;
#According to [http://moodle.org/mod/forum/discuss.php?d=145171#p634027 this post], if you are using IIS 7.5 (it comes with Windows Server 2008 R2), you have to select &#039;Windows Authentication&#039; and click on &#039;Providers&#039;. This shows a list of enabled providers (Negotiate and NTLM, by default). Change the order so that NTLM is at the top of the list.&lt;br /&gt;
&lt;br /&gt;
===APACHE Configuration===&lt;br /&gt;
There are currently 3 possible methods for this:&lt;br /&gt;
&lt;br /&gt;
====Using the NTLM part of Samba for Apache on Linux====&lt;br /&gt;
&lt;br /&gt;
* Get the plugin here: http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/ . You need to download all the files from the link, but not the &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;debian&amp;lt;/code&amp;gt; directories. Then follow the instructions given inside the &amp;lt;code&amp;gt;README&amp;lt;/code&amp;gt; file. If you are using Debian/Ubuntu, you can follow these [[#Compiling_mod_auth_ntlm_winbind_on_Debian.2FUbuntu|compilation instructions]].&lt;br /&gt;
* Once you have compiled it, put it inside Apache&#039;s modules subdirectory (this location depends on a number of factors, like compiling Apache yourself, using different Linux distributions packages, an so on), and load and enable the module in Apache&#039;s configuration. For example, if your Apache modules are under &amp;lt;tt&amp;gt;/usr/lib/apache2/modules&amp;lt;/tt&amp;gt;, you&#039;ll need something like this in your Apache configuration file (usually called &amp;lt;tt&amp;gt;apache2.conf&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;http2.conf&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;IfModule !mod_auth_ntlm_winbind.c&amp;gt;&lt;br /&gt;
       LoadModule auth_ntlm_winbind_module /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install the Samba &amp;lt;tt&amp;gt;winbind&amp;lt;/tt&amp;gt; daemon package. This packages relies on Samba&#039;s configuration file to get some important settings (like the Windows domain name, uid and gid range mappings, and so on). In addition to that, you&#039;ll need to make your Linux/Unix machine part of the domain. Otherwise winbind won&#039;t be able to pull user and groups informationi from the domain controllers. You should read the Samba documentation to perform this step, but the most important part is having something like the following lines in your &amp;lt;code&amp;gt;smb.conf&amp;lt;/code&amp;gt; file (in addition to what you already have there):&lt;br /&gt;
&lt;br /&gt;
  workgroup = DOMAINNAME&lt;br /&gt;
  password server = *&lt;br /&gt;
  security = domain&lt;br /&gt;
  encrypt passwords = true&lt;br /&gt;
  idmap uid = 10000-20000&lt;br /&gt;
  idmap gid = 10000-20000&lt;br /&gt;
&lt;br /&gt;
: and executing the command (as root):&lt;br /&gt;
&lt;br /&gt;
  # net join DOMAINNAME -U Administrator&lt;br /&gt;
&lt;br /&gt;
: where &#039;&#039;&#039;DOMAINNAME&#039;&#039;&#039; is the NetBIOS windows domain name, and &#039;&#039;&#039;Administrator&#039;&#039;&#039; an account with enough privileges to add new machines to the domain.&amp;lt;br/&amp;gt; You&#039;ll need to type this account&#039;s password for the command to succeed.&lt;br /&gt;
&lt;br /&gt;
: Also, make sure you have disabled &amp;quot;Microsoft Network Server: digitally sign communications (always)&amp;quot; in your Domain Controllers Security Policy, unless you are using a version of Samba that can sign SMB packets.&lt;br /&gt;
&lt;br /&gt;
* Restart the &amp;lt;tt&amp;gt;winbind&amp;lt;/tt&amp;gt; service to apply the changes and test that it&#039;s running ok by executing:&lt;br /&gt;
&lt;br /&gt;
  $ wbinfo -u&lt;br /&gt;
&lt;br /&gt;
: You should get the full list of Windows domain users. If you use &#039;&#039;&#039;&amp;lt;tt&amp;gt;-g&amp;lt;/tt&amp;gt;&#039;&#039;&#039; instead, you&#039;ll get the domain groups list.&lt;br /&gt;
&lt;br /&gt;
* Check that your &amp;lt;tt&amp;gt;winbind&amp;lt;/tt&amp;gt; package installed the authentication helper command &amp;lt;tt&amp;gt;ntlm_auth&amp;lt;/tt&amp;gt;, as we&#039;ll need it later. We&#039;ll assume the helper is located at &amp;lt;tt&amp;gt;/usr/bin/ntlm_auth&amp;lt;/tt&amp;gt;. If yours is at a different location, make sure you adjust the path in the example below.&lt;br /&gt;
&lt;br /&gt;
* Add something like this to your Apache configuration file (usually called &amp;lt;tt&amp;gt;apache2.conf&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;http2.conf&amp;lt;/tt&amp;gt;). We&#039;ll assume that your Moodle &amp;lt;tt&amp;gt;$CFG-&amp;gt;dirroot&amp;lt;/tt&amp;gt; directory is located at &amp;lt;tt&amp;gt;/var/www/moodle&amp;lt;/tt&amp;gt; in the example:&lt;br /&gt;
: &#039;&#039;&#039;For 1.9 or above use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;/var/www/moodle/auth/ldap/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
            NTLMAuth on&lt;br /&gt;
            AuthType NTLM&lt;br /&gt;
            AuthName &amp;quot;Moodle NTLM Authentication&amp;quot;&lt;br /&gt;
            NTLMAuthHelper &amp;quot;/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp&amp;quot;&lt;br /&gt;
            NTLMBasicAuthoritative on&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
: &#039;&#039;&#039;For 1.8 or below use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;/var/www/moodle/auth/ntlm/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files oncampuslogin.php&amp;gt;&lt;br /&gt;
            NTLMAuth on&lt;br /&gt;
            AuthType NTLM&lt;br /&gt;
            AuthName &amp;quot;Moodle NTLM Authentication&amp;quot;&lt;br /&gt;
            NTLMAuthHelper &amp;quot;/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp&amp;quot;&lt;br /&gt;
            NTLMBasicAuthoritative on&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
* Check the permissions of the Winbind pipe directory (Ubuntu places it under &amp;lt;tt&amp;gt;/var/run/samba/winbindd_privileged&amp;lt;/tt&amp;gt;, yours may be placed at a different location). Apache will need to be able to enter that directory, so we need to make sure it has the right permissions. So have a look at the permissions of that directory and note the name of the group assigned to it. The following example is from a Ubuntu 7.10 machine:&lt;br /&gt;
&lt;br /&gt;
  $ ls -ald /var/run/samba/winbindd_privileged&lt;br /&gt;
  drwxr-x--- 2 root winbindd_priv 60 2007-11-17 16:18 /var/run/samba/winbindd_privileged/&lt;br /&gt;
&lt;br /&gt;
:so we see the group is &amp;lt;tt&amp;gt;winbindd_priv&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* Instead of modifying the directory permissions (which could break other services that use winbind) we are going to make the Apache user (&amp;lt;tt&amp;gt;www-data&amp;lt;/tt&amp;gt; in our example, but could be &amp;lt;tt&amp;gt;httpd&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;nobody&amp;lt;/tt&amp;gt;, etc.) is part of the appropiate group. Execute the following as root:&lt;br /&gt;
&lt;br /&gt;
  # adduser www-data winbindd_priv&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;tt&amp;gt;adduser&amp;lt;/tt&amp;gt; is available in Debian and Ubuntu at least. If your distribution doesn&#039;t have &amp;lt;tt&amp;gt;adduser&amp;lt;/tt&amp;gt;, you can edit &amp;lt;tt&amp;gt;/etc/group&amp;lt;/tt&amp;gt; manually to achive the same effect.&lt;br /&gt;
&lt;br /&gt;
* Stop and start the Apache service to apply the changes. Have a look at Apache&#039;s error log to see that everything is ok.&lt;br /&gt;
&lt;br /&gt;
* Couple of gotchas - in Fedora Core (and also in Redhat/Centos), keep alive is turned OFF by default in the httpd.conf - see this bug for further info: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188138&amp;lt;br /&amp;gt;&lt;br /&gt;
* Email Dan if you get this working - I&#039;m keen to hear how people go using the samba winbind option!&lt;br /&gt;
::-- Hi Dan! I made it work using Ubuntu 7.04. That&#039;s what I&#039;ve used to update the documentation. [[User:Iñaki Arenaza|Iñaki Arenaza]] 10:43, 30 September 2007 (CDT)&lt;br /&gt;
::-- Hi Dan! I have this working on Ubuntu 8.04 LTS in an RM CC4 Active Directory Domain. [[User:munk3h|Ian]] 16:31 15 December 2009 (GMT)&lt;br /&gt;
&lt;br /&gt;
====Using the NTLM Auth Module for Apache on Linux====&lt;br /&gt;
The NTLM Auth module is a bit stale and even its authors suggest that you use the [[#Using_the_NTLM_part_of_Samba_for_Apache_on_Linux|NTLM part of Samba with Apache on Linux]]&lt;br /&gt;
&lt;br /&gt;
Get it from here &lt;br /&gt;
# get the Module from: http://modntlm.sourceforge.net/&lt;br /&gt;
# follow the instructions given there and inside the README that comes with the package.&lt;br /&gt;
&lt;br /&gt;
I (Iñaki Arenaza) strongly recommend using the [[#Using_the_NTLM_part_of_Samba_for_Apache_on_Linux|NTLM part of Samba with Apache on Linux]] over this module. It&#039;s better maintained, more robust and has more features.&lt;br /&gt;
&lt;br /&gt;
====Using the mod_auth_sspi Module for Apache 2 on Windows====&lt;br /&gt;
NOTE: This setup is currently being used in a live production environment, and is therefore suitable for such use provided it is correctly configured and tested.&lt;br /&gt;
&lt;br /&gt;
This is the recommended method for Apache 2 on Windows, however it will &#039;&#039;&#039;not&#039;&#039;&#039; work on Linux/UNIX systems.&lt;br /&gt;
It provides better stability and higher performance than other NTLM modules.&lt;br /&gt;
&lt;br /&gt;
* Download the mod_auth_sspi Module from: http://sourceforge.net/projects/mod-auth-sspi/. At the moment of writing this (2007.09.30), the current version is mod_auth_sspi 1.0.4, which has two different ZIP files to download:&lt;br /&gt;
&lt;br /&gt;
::* mod_auth_sspi-1.0.4-2.0.58.zip :   Use this file if you are using Apache 2.0.x.&lt;br /&gt;
::* mod_auth_sspi-1.0.4-2.2.2.zip :   Use this file if you are using Apache 2.2.x.&lt;br /&gt;
&lt;br /&gt;
* Unzip the right file and copy mod_auth_sspi.so (it&#039;s inside &#039;&#039;&#039;bin&#039;&#039;&#039; subdirectory) to your Apache modules directory.&lt;br /&gt;
* Edit your Apache 2 configuration file (httpd.conf) to load the module.&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;IfModule !mod_auth_sspi.c&amp;gt;&lt;br /&gt;
        LoadModule sspi_auth_module modules/mod_auth_sspi.so&lt;br /&gt;
    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Choose one of the two methods below&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Method 1&#039;&#039;&#039;: This method is recommended for servers that will host a single Moodle instance. Configure NTLM from the main configuration file, add the following to httpd.conf (substitute &amp;quot;C:\moodle&amp;quot; with the path to your Moodle installation e.g. &amp;quot;C:\my-moodle&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;For 1.9 or above use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;C:\moodle\auth\ldap&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
            AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
            AuthType SSPI&lt;br /&gt;
            SSPIAuth On&lt;br /&gt;
            SSPIOfferBasic Off&lt;br /&gt;
            SSPIAuthoritative On&lt;br /&gt;
            SSPIDomain mycollege.ac.uk&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
:: &#039;&#039;&#039;For 1.8 or below use&#039;&#039;&#039;:&lt;br /&gt;
    &amp;lt;Directory &amp;quot;C:\moodle\auth\ntlm&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Files oncampuslogin.php&amp;gt;&lt;br /&gt;
            AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
            AuthType SSPI&lt;br /&gt;
            SSPIAuth On&lt;br /&gt;
            SSPIOfferBasic Off&lt;br /&gt;
            SSPIAuthoritative On&lt;br /&gt;
            SSPIDomain mycollege.ac.uk&lt;br /&gt;
            require valid-user&lt;br /&gt;
        &amp;lt;/Files&amp;gt;&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Method 2&#039;&#039;&#039;: The alternative method is to use a .htaccess file&lt;br /&gt;
:This method is recommended for servers that will host multiple Moodle instances. It allows additional Moodle instances to be configured without restarting apache, and also makes the solution a little more portable. We need to add a directive to the main httpd.conf to allow configuration of authentication within .htaccess files.&lt;br /&gt;
    &amp;lt;Directory C:\moodle&amp;gt;&lt;br /&gt;
        AllowOverride AuthConfig&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;For 1.9 or above&#039;&#039;&#039;:&lt;br /&gt;
:::Create a new text file named &#039;.htaccess&#039; in the directory &#039;C:\moodle\moodle\auth\ldap&#039; and add the following directives:&lt;br /&gt;
    &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
        AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
        AuthType SSPI&lt;br /&gt;
        SSPIAuth On&lt;br /&gt;
        SSPIOfferBasic Off&lt;br /&gt;
        SSPIAuthoritative On&lt;br /&gt;
        SSPIDomain mycollege.ac.uk&lt;br /&gt;
        require valid-user&lt;br /&gt;
    &amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &#039;&#039;&#039;For 1.8 or below&#039;&#039;&#039;:&lt;br /&gt;
:::Create a new text file named &#039;.htaccess&#039; in the directory &#039;C:\moodle\moodle\auth\ntlm&#039; and add the following directives:&lt;br /&gt;
    &amp;lt;Files oncampuslogin.php&amp;gt;&lt;br /&gt;
        AuthName &amp;quot;Moodle at My College&amp;quot;&lt;br /&gt;
        AuthType SSPI&lt;br /&gt;
        SSPIAuth On&lt;br /&gt;
        SSPIOfferBasic Off&lt;br /&gt;
        SSPIAuthoritative On&lt;br /&gt;
        SSPIDomain mycollege.ac.uk&lt;br /&gt;
        require valid-user&lt;br /&gt;
    &amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This enables the Moodle folder to be moved to any apache webserver that is configured to allow authentication configuration through .htaccess&lt;br /&gt;
&lt;br /&gt;
For further help and discussion: http://moodle.org/mod/forum/discuss.php?d=56565&lt;br /&gt;
&lt;br /&gt;
====Using the Kerberos Auth Module for Apache on Linux/UNIX (mod_auth_kerb)====&lt;br /&gt;
*Install and configure http://modauthkerb.sourceforge.net/&lt;br /&gt;
*Configuration of mod_auth_kerb in a Microsoft Windows Active Directory environment (AD 2003 and above) (http://grolmsnet.de/kerbtut/)&lt;br /&gt;
&lt;br /&gt;
Environment details in this example:&lt;br /&gt;
#&#039;&#039;&#039;Active Directory Domain:&#039;&#039;&#039; EXAMPLE.AC.UK&lt;br /&gt;
#&#039;&#039;&#039;Active Directory Domain Controller:&#039;&#039;&#039; dc.example.ac.uk&lt;br /&gt;
#&#039;&#039;&#039;Linux/UNIX web server:&#039;&#039;&#039; moodle.example.ac.uk&lt;br /&gt;
#&#039;&#039;&#039;Active Directory user account for web server service principal:&#039;&#039;&#039; moodlekerb&lt;br /&gt;
&lt;br /&gt;
Install kerberos on moodle.example.ac.uk and enter the following in krb5.conf (by default: /etc/krb5.conf)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[libdefaults]&lt;br /&gt;
    default_realm = EXAMPLE.AC.UK&lt;br /&gt;
[domain_realm]&lt;br /&gt;
    example.ac.uk = EXAMPLE.AC.UK&lt;br /&gt;
[realms]&lt;br /&gt;
     EXAMPLE.AC.UK = {&lt;br /&gt;
                      admin_server = dc.example.ac.uk&lt;br /&gt;
                      kdc          = dc.example.ac.uk&lt;br /&gt;
                    }:&lt;br /&gt;
* Test kerberos&lt;br /&gt;
Issue the following command at the shell prompt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$&amp;gt; kinit user@EXAMPLE.AC.UK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;user&#039; is an Active Directory account for which you know the password.&lt;br /&gt;
&lt;br /&gt;
Next, issue the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;$&amp;gt;klist&amp;lt;/pre&amp;gt;&lt;br /&gt;
If all is OK it will list the Kerberos ticket you were granted from the domain controller (KDC)&lt;br /&gt;
&lt;br /&gt;
* Create HTTP service principal for moodle.example.ac.uk&lt;br /&gt;
#Create the &#039;moodlekerb&#039; &#039;&#039;&#039;user&#039;&#039;&#039; account in Active Directory (NOT a machine account) to map to the web server service principal (HTTP/moodle.example.ac.uk@EXAMPLE.AC.UK)&lt;br /&gt;
NOTE: moodle.example.ac.uk MUST be the canonical DNS name of the server i.e. an A record (NOT a CNAME). Additionally a valid PTR (reverse DNS) record must exist and match the corresponding A record.&lt;br /&gt;
&lt;br /&gt;
#Use the ktpass.exe utility to map the service principal and create a keytab file&lt;br /&gt;
Apache requires a keytab file, which is generated with ktpass.exe on the Windows Active Directory Domain Controller.&lt;br /&gt;
Shockingly, this component of Windows Server 2003 SP1 does not function correctly so one must obtain a hot fix: http://support.microsoft.com/kb/919557&lt;br /&gt;
&lt;br /&gt;
Run the following command on the domain controller:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\path\to\hotfix\ktpass.exe -princ HTTP/moodle.example.ac.uk@EXAMPLE.AC.UK -mapuser EXAMPLE\moodlekerb -crypto DES-CBC-MD5 +DesOnly +setPass +rndPass -ptype KRB5_NT_PRINCIPAL -out moodle.example.ac.uk.keytab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy C:\path\to\hotfix\moodle.example.ac.uk.keytab to the moodle web server and remember the location (/etc/httpd/moodle.example.ac.uk.keytab or similar)&lt;br /&gt;
&lt;br /&gt;
* Configure Apache / mod_auth_kerb&lt;br /&gt;
Edit the Apache configuration for the moodle host and add the following directives:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;lt;Directory /path/to/moodle/docs/auth/ldap/&amp;gt;&lt;br /&gt;
                &amp;lt;Files ntlmsso_magic.php&amp;gt;&lt;br /&gt;
                        AuthName &amp;quot;Moodle&amp;quot;&lt;br /&gt;
                        AuthType Kerberos&lt;br /&gt;
                        KrbAuthRealms EXAMPLE.AC.UK&lt;br /&gt;
                        KrbServiceName HTTP&lt;br /&gt;
                        Krb5Keytab /etc/httpd/moodle.example.ac.uk.keytab&lt;br /&gt;
                        KrbMethodNegotiate on&lt;br /&gt;
                        KrbMethodK5Passwd on&lt;br /&gt;
                        KrbAuthoritative on&lt;br /&gt;
                        require valid-user&lt;br /&gt;
                &amp;lt;/Files&amp;gt;&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Replace the &#039;&#039;&#039;ntlmsso_magic&#039;&#039;&#039; function in &#039;&#039;&#039;/auth/ldap/auth.php&#039;&#039;&#039; (1.9 and later only?) with the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    function ntlmsso_magic($sesskey) {&lt;br /&gt;
        if (isset($_SERVER[&#039;REMOTE_USER&#039;]) &amp;amp;&amp;amp; !empty($_SERVER[&#039;REMOTE_USER&#039;])) {&lt;br /&gt;
			&lt;br /&gt;
            $username = $_SERVER[&#039;REMOTE_USER&#039;];&lt;br /&gt;
&lt;br /&gt;
			/**&lt;br /&gt;
			  * begin kerberos - afhole@wortech.ac.uk 21-04-2009&lt;br /&gt;
			  */&lt;br /&gt;
			if ( $pos = strpos($username, &amp;quot;@&amp;quot;) )&lt;br /&gt;
			{&lt;br /&gt;
				$username = substr($username, 0, $pos);&lt;br /&gt;
			} else {&lt;br /&gt;
				$username = substr(strrchr($username, &#039;\\&#039;), 1); //strip domain info&lt;br /&gt;
			}&lt;br /&gt;
			/**&lt;br /&gt;
			  * end kerberos&lt;br /&gt;
			  */&lt;br /&gt;
			&lt;br /&gt;
            $username = moodle_strtolower($username); //compatibility hack&lt;br /&gt;
            set_cache_flag(&#039;auth/ldap/ntlmsess&#039;, $sesskey, $username, AUTH_NTLMTIMEOUT);&lt;br /&gt;
            return true;&lt;br /&gt;
        }&lt;br /&gt;
        return false;&lt;br /&gt;
    }&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above code change will account for the fact that Kerberos presents the username to REMOTE_USER in the format user@DOMAIN, rather than NTLM&#039;s DOMAIN\user&lt;br /&gt;
&lt;br /&gt;
==Configuring IP/Subnet Mask==&lt;br /&gt;
Subnet masks are based on binary patterns so need a bit of knowledge to understand. The best way to find out what IP/Subnet masks to use is to ask your Network Admin. &lt;br /&gt;
* &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; Once you have configured your IP/Subnet masks, you can use the check_ip.php page to test if you have set these ranges up correctly.&lt;br /&gt;
* The new way of specifiying subnets is even easier/more flexible than before 1.9. Just type them one after the other, separated by commas. You can use several syntaxes:&lt;br /&gt;
** Type the network-number/prefix-length combination. E.g. 192.168.1.0/24&lt;br /&gt;
** Type the network &#039;prefix&#039;, ending in a period character. E.g. 192.168.1.&lt;br /&gt;
** Type the network address range (&#039;&#039;&#039;this only works for the last address octect&#039;&#039;&#039;). E.g. 192.168.1.1-254&lt;br /&gt;
:All the three examples refer to the same subnetwork. So assuming you need to specify the following subnetworks:&lt;br /&gt;
::* 10.1.0/255.255.0.0&lt;br /&gt;
::* 10.2.0.0/255.255.0.0&lt;br /&gt;
::* 172.16.0.0/255.255.0.0&lt;br /&gt;
::* 192.168.100.0/255.255.255.240&lt;br /&gt;
:You can type:&lt;br /&gt;
 10.1.0.0/16, 10.2.0.0/16, 172.16.0.0/16, 192.168.100.0/28&lt;br /&gt;
: or:&lt;br /&gt;
  10.1.0.0/16, 10.2.0.0/16, 172.16.0.0/16, 192.168.100.240-255&lt;br /&gt;
:or even:&lt;br /&gt;
  10.1., 10.2., 172.16., 192.168.100.0/28&lt;br /&gt;
:(the last one cannot be expressed as a network &#039;prefix&#039; as the netmask does not fall on an octect boundary).&lt;br /&gt;
&lt;br /&gt;
==Notes/Tips==&lt;br /&gt;
# &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; When using IIS, dbsessions is required to be set to &amp;quot;YES&amp;quot; because when Integrated authentication is turned on for the oncampuslogin.php page, and dbsessions is set to &amp;quot;NO&amp;quot; then the server impersonates the user to write the session in the moodledata\sessions folder. The recommended fix is to set dbsessions to &amp;quot;YES&amp;quot; so that sessions are stored in the db. The non-recommended alternative method is to allow domain users write access to the sessions directory.&lt;br /&gt;
# &#039;&#039;&#039;(pre-1.9 only)&#039;&#039;&#039; If you forget to change the internal IP addresses in index.php to your own, you can just use the offcampuslogin url to login using your admin account. eg: http://yoursite.com/moodle/auth/ntlm/offcampuslogin.php&lt;br /&gt;
#If you are using Firefox, you will need to follow these steps:&lt;br /&gt;
:*Load Firefox and type about:config in the address box. The configuration settings page should be displayed.&lt;br /&gt;
:*In the Filter box, type the word &amp;quot;ntlm&amp;quot; to filter the NTLM strings. You should see three settings displayed.&lt;br /&gt;
:*Double-click on &amp;quot;network.automatic-ntlm-auth.trusted-uris&amp;quot;.&lt;br /&gt;
:*In the box, enter the full URL of your Moodle server. For example &amp;lt;pre&amp;gt;http://moodle.mydomain.com, (the comma is important)&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Close Firefox and restart.&lt;br /&gt;
# NTLM seems to not work at all when BASIC authentication is enabled. (this was using the Kerberos method, other ways may work)&lt;br /&gt;
# If the account in your AD management console shows like &amp;quot;First Last&amp;quot;, you better change the ldap settings parameter &#039;User Attribute&#039; from its default of {blank} / &#039;cn&#039; to &#039;sAMAccountName&#039; as indicated in [http://moodle.org/mod/forum/discuss.php?d=132364#p682173 this post]. The reason is that the cn name generally looks like &amp;quot;First Last&amp;quot;, once you done the ldap sync, the user name in moodle will be &amp;quot;first last&amp;quot;, but IE passes the account of &amp;quot;domain\first.last&amp;quot; to moodle which does not exist in moodle.&lt;br /&gt;
&lt;br /&gt;
==Specific File information (pre-1.9 only)== &lt;br /&gt;
(mainly for developers)&lt;br /&gt;
#auth\ntlm\index.php&amp;lt;br /&amp;gt;This is the page used for the Alternate Login URL setting on the config page for the NTLM plugin.&amp;lt;br&amp;gt;The index.php file handles which login page to use based on the IP address of the user.&amp;lt;br&amp;gt;if inside your network, they should be directed to the oncampuslogin.php screen.&amp;lt;br&amp;gt;if outside your network, they should be directed to the offcampuslogin.php screen.&amp;lt;br&amp;gt;you will need to modify the if statements in this file to match the IP ranges inside your network.&lt;br /&gt;
#auth\ntlm\index_form.html&amp;lt;br /&amp;gt;this is a copy of the file login\index_form.php.&amp;lt;br /&amp;gt; The only change in this file from the standard one is that the form action=&amp;quot;index.php&amp;quot; is changed to form action=&amp;quot;offcampuslogin.php&amp;quot; this is because anyone who is displayed the form will be an offcampus user.&lt;br /&gt;
#auth\ntlm\offcampuslogin.php&amp;lt;br /&amp;gt;this is a copy of the file moodle\login\index.php with a couple of minor modifications.&amp;lt;br /&amp;gt;the modifications to this file involve the setting of a variable ($onoroffcampus = &amp;quot;offcampus&amp;quot;;) this is used by the auth plugin to define which page is being used for authentication. the other modification is for displaying extra error messages to the user. - with all the authentication methods we have students are constantly confused about how to enter their credentials if you use NTLM authentication elsewhere at your site you will be aware of the users having to enter the domain\username when authenticating. - this code block sits around line 215 in the file.&lt;br /&gt;
#auth\ntlm\oncampuslogin.php&amp;lt;br /&amp;gt;this is a copy of the file login\index.php&amp;lt;br /&amp;gt;This file has been modified to get the details of the authenticated user via NTLM.&lt;br /&gt;
&lt;br /&gt;
==Compiling mod_auth_ntlm_winbind on Debian/Ubuntu==&lt;br /&gt;
You need to install the following packages (and all of their dependencies) by using aptitude, synaptic, etc.:&lt;br /&gt;
&lt;br /&gt;
  autoconf apache2-threaded-dev debian-builder&lt;br /&gt;
&lt;br /&gt;
Once you have them installed, open up a text console, go to the directory where you downloaded the mod_auth_ntlm_winbind files an execute the following commands (as a normal user):&lt;br /&gt;
&lt;br /&gt;
  autoconf&lt;br /&gt;
  ./configure --with-apxs=/usr/bin/apxs2 --with-apache=/usr/sbin/apache2&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
That should compile it without errors. Then as a user that can run commands as root via sudo, execute the following command from the same directory:&lt;br /&gt;
&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
This will create the final mod_auth_ntlm_winbind.so file and install it under /usr/lib/apache2/modules, with the rest of the Apache 2 modules (the size of the file and last modification time shown below may differ from your install):&lt;br /&gt;
&lt;br /&gt;
  ls -l /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so&lt;br /&gt;
  -rw-r--r-- 1 root root 20921 2009-02-17 04:27 /usr/lib/apache2/modules/mod_auth_ntlm_winbind.so&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=45887 NTLM Authentication] forum discussion&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=314 Download the NTLM Authentication Module]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=80104 Merging AD NTLM SSO into auth/ldap] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Authentification NTLM]]&lt;/div&gt;</summary>
		<author><name>Yedidia</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Moodle_manuals&amp;diff=70418</id>
		<title>Moodle manuals</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Moodle_manuals&amp;diff=70418"/>
		<updated>2010-03-31T06:33:09Z</updated>

		<summary type="html">&lt;p&gt;Yedidia: /* Other Languages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page contains some links to manuals, tutorials and other multimedia documentation produced by moodlers all over the world. Please feel free to submit your contribution by adding a link to this page or sending the file to [mailto:docs@moodle.org docs@moodle.org].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Teacher manuals==&lt;br /&gt;
&lt;br /&gt;
===English===&lt;br /&gt;
*[http://courses.isucomm.iastate.edu/course/view.php?id=698 ISUComm Moodle Tutorials] - Moodle 1.9 video tutorials by &#039;&#039;&#039;Ruslan Suvorov&#039;&#039;&#039;, [http://www.iastate.edu &#039;&#039;&#039;Iowa State University&#039;&#039;&#039;]&lt;br /&gt;
*[http://moodle.bath.ac.uk/faq Moodle 1.9 FAQs] - from the [http://www.bath.ac.uk &#039;&#039;&#039;University of Bath&#039;&#039;&#039;] (web based, fully searchable - updated frequently)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Outcomes] - by &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.94 MB, Oct 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Understanding Groups and Groupings] - by &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.9 MB, Sep 2009)&lt;br /&gt;
*[http://online-edu.cc.muroran-it.ac.jp/ Learning to Moodle] A free Moodle course that has step by step video tutorials on how to create online content using Moodle. It is being updated regularly. - by &#039;&#039;&#039;Eric Hagley&#039;&#039;&#039;&#039;&#039;&#039;Muroran Institute of Technology&#039;&#039;&#039;&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 How to fix corrupted Labels Moodle] - by &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.84 MB, Sep 2009)&lt;br /&gt;
*[http://www.lynda.com/home/DisplayCourse.aspx?lpk2=47547 Moodle Essential Training for Teachers 1.9] - by &#039;&#039;&#039;Chris Mattia - Lynda.com&#039;&#039;&#039; Video Based Training&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.9] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 264 pages Print  £20, Ebook £8.69 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Administrator Reference Manual 1.8] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 69 pages Print  £12, Ebook £6.95 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.9 and Administrator Reference Manual 1.8 - Buy both offer] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; Ebook only £13.04 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.8] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 191 pages Print  £15, Ebook £8.69 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.8 and Administrator Reference Manual 1.8 - Buy both offer] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; Ebook only £13.04 excl. VAT&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/en/moodle_1.4.3_for_teachers_and_trainers.pdf Moodle 1.4.3 For Teachers and Trainers] - by &#039;&#039;&#039;Bryan Williams&#039;&#039;&#039; (PDF, 2.4MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/en/using-your-moodle.pdf Using Your Moodle (1.4.3)] by [[User:Darren_Smith Darren Smith]] (PDF, 2MB, Published Jan 2005)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/en/teacher-manual.pdf Moodle 1.4 Teacher Manual] - by &#039;&#039;&#039;Matt Riordan&#039;&#039;&#039; (PDF, 3.5MB)&lt;br /&gt;
*[http://www.staff.sbc.edu/tmarcais/classfiles/moodle/Moodle1.5.3.pdf Moodle 1.5.3 Teacher Manual] - Original Documentation by &#039;&#039;&#039;Matt Riordan&#039;&#039;&#039;, updated to version 1.5.3 by &#039;&#039;&#039;Tom Marcais&#039;&#039;&#039; (PDF, 9.1MB)&lt;br /&gt;
*[http://www.packtpub.com/moodle-course-conversion/book Moodle Course Conversion: Beginner&#039;s Guide] - by &#039;&#039;&#039;Ian Wild&#039;&#039;&#039;, [http://www.packtpub.com/ Packt Publishing], November 2008, Print 264 pages £24.99, PDF version £16.99&lt;br /&gt;
*[http://www.packtpub.com/moodle/book Moodle E-Learning Course Development] - by William Rice, [http://www.packtpub.com/ Packt Publishing], May 2006, 250 pages, €33.29/$35.99&lt;br /&gt;
*[http://moodle.fct.unl.pt/mod/resource/view.php?id=24107 A Visual Introduction to Moodle - for teachers and page creators] - by &#039;&#039;&#039;João Fernandes&#039;&#039;&#039; (PDF, 4MB), 43 pages, [http://creativecommons.org/licenses/by-nc-sa/2.5/ Creative Commons Non-Comercial Share Alike 2.5 License]&lt;br /&gt;
*[http://moodle.tokem.fi/mod/book/index.php?id=1 Illustrated on-line Beginner, Student and Teacher manuals for Moodle 1.5.4, 1.6.4, 1.8.3 and 1.9.2] (including some third-party tools and Flash demos as well as a concise Hot Potatoes manual) by &#039;&#039;&#039;Paul Nijbakker&#039;&#039;&#039;, eLearning Centre of Kemi-Tornio University of Applied Sciences.&lt;br /&gt;
*[http://moodle.sbc.edu/mod/resource/view.php?id=8088 Moodle Upgrading from 1.5.3 to 1.8, Changes for Teachers] - by &#039;&#039;&#039;Tom Marcais&#039;&#039;&#039; (PDF, 3.5MB)&lt;br /&gt;
*[http://moodle.sbc.edu/mod/resource/view.php?id=8087 Moodle 1.8 Teacher Manual] - by &#039;&#039;&#039;Tom Marcais&#039;&#039;&#039; (based in part on documentation by &#039;&#039;&#039;Matt Riordan&#039;&#039;&#039;) (PDF, 10.6MB)&lt;br /&gt;
*[http://moodle.de/mod/resource/view.php?id=2092 Moodle Teacher Handbook (Moodle 1.9)] - by &#039;&#039;&#039;Renate Jirmann and Ralf Hilgenstock&#039;&#039;&#039;, 163 pages, 30,- € plus mailing expenses, customized versions and online licence available&lt;br /&gt;
*[http://www.oreilly.com/catalog/9780596529185/ Using Moodle, Second Edition] - by &#039;&#039;&#039;Jason Cole&#039;&#039;&#039; and &#039;&#039;&#039;Helen Foster&#039;&#039;&#039;, 282 pages, $27,99 for the PDF version, each chapter available as a PDF for $3,99 a piece&lt;br /&gt;
*[http://www.schoolanywhere.co.uk/moodle_book.php Teacher&#039;s Beginners Guide to Using Moodle] - by &#039;&#039;&#039;SchoolAnywhere&#039;&#039;&#039; , 24 pages, FREE for the PDF version&lt;br /&gt;
*[http://www.elearning.org.nz MoodleBites online training] - by &#039;&#039;&#039;HRDNZ&#039;&#039;&#039; 8 week teachers course NZ$199 (free introduction to Moodle available)&lt;br /&gt;
*[https://www.packtpub.com/moodle-1-9-multimedia/book Moodle 1.9 Multimedia] - by &#039;&#039;&#039;João Pedro Soares Fernandes&#039;&#039;&#039;, [http://www.packtpub.com/ Packt Publishing], May 2009, Print 272 pages £25.19, PDF version £15.57&lt;br /&gt;
&lt;br /&gt;
===Other Languages===&lt;br /&gt;
*[http://www20.gencat.cat/docs/Educacio/Home/Departament/Publicacions/Moodle_com_plataforma_educativa_centre/ARXIUS/TAC_2.pdf Moodle com a plataforma educativa de centre (catalan)] - by &#039;&#039;&#039;Irene Martínez Pérez, Joaquim Vilar Sais, Joan Queralt Gil, Àngels Mustienes Montero and Jordi Fontich Vicens&#039;&#039;&#039; (PDF, 3.7 MB, March 2010)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/subir_archivo_a_moodle.html Enlazando un archivo Doc como recurso (Spanish)] - by &#039;&#039;&#039;Victor Manuel Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/restaurar%20un%20curso%20en%20moodle.htm Como restaurar un Curso en Moodle (Spanish)] - by &#039;&#039;&#039;Victor Manuel Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/por%20que%20no%20se%20veian%20los%20cuestionarios.htm Como ocultar temas a los estudiantes (Spanish)] - by &#039;&#039;&#039;Victor M Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/Guardar%20curso%20maestro%20en%20moodle.htm Creando Copia de Seguridad (Spanish)] - by &#039;&#039;&#039;Victor Manuel Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Resultados(outcomes) (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 2.27 MB, Oct 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Como crear una Base de Datos (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.83 MB, Sep 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Arreglando Etiquetas que no se pueden editar (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.55 MB, Sep 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Grupos y Agrupamientos (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.58 MB, Sep 2009)&lt;br /&gt;
*[http://www.sfm.pt/e-learning/manual-moodle.php Moodle 1.9 Manual para professores (Português)] - por &#039;&#039;&#039;SFM&#039;&#039;&#039;, Pequenos manuais visuais ou manual completo com 17 MB)&lt;br /&gt;
*[http://www.e-lisa-academy.at/dl/MoodleHandbuchLehrerInnen-1.9.pdf Kostenloses Moodle 1.9 Anwenderhandbuch] - in deutscher Sprache (2.6 MB/PDF) und zum Ausdrucken. Erstellt von Kathrin Lind, Florian und Peter Sereinigg im Auftrag von [http://http://www.e-lisa-academy.at/ e-LISA academy]&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FTamil%2FMoodle_Teacher_Manual_TA.pdf Moodle 1.8+ Teacher Manual (Tamil - Sri Lanka)] - by &#039;&#039;&#039;Kengatharaiyer Sarveswaran&#039;&#039;&#039; ,LAKapps project, University of Moratuwa, Sri Lanka. (PDF, 1.54MB)&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FSinhala%2FMoodle_Teacher_Manual_SI.pdf Moodle 1.8+ Teacher Manual (Sinhala)] - by &#039;&#039;&#039;Sulochana Sooriyaarachchi&#039;&#039;&#039; ,LAKapps project, University of Moratuwa, Sri Lanka. (PDF, 2.79MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/nl/teacher-manual-1.5-nl.pdf Moodle 1.5 Teacher Manual (Dutch)] - (PDF, 3MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/it/teacher-manual-it.pdf Moodle 1.3 Teacher Manual (Italian)] - (PDF, 3.1MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/fr/teacher-manual-fr.pdf Moodle 1.3 Teacher Manual (French)] - (PDF, 5MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/teacher-manual-es.pdf Moodle Teacher Manual (Spanish)] - by &#039;&#039;&#039;Enrique Castro Lopez&#039;&#039;&#039; (PDF, 5.4MB)&lt;br /&gt;
*[http://www.lasalle.es/descargas/ManualMoodle2006.zip Moodle 1.5 Teacher Manual (Spanish)] - by &#039;&#039;&#039;Jesús Martín&#039;&#039;&#039; (PDF, 5.2MB)&lt;br /&gt;
*[http://moodle.de/file.php/1/Moodle_Trainer_18_public.pdf Moodle 1.8 Trainerhandbuch (German) Inhaltsverzeichnis/Content] - von Renate Jirmann und Ralf Hilgenstock 30,- € (gedruckt 155 Seiten)&lt;br /&gt;
*[http://moodle.de//mod/resource/view.php?id=1294 moodle @ work (German) Praxisberichte /Use Cases Inhaltsverzeichnis/Content] 12,50 €(gedruckt 150 Seiten)&lt;br /&gt;
*[http://moodle.de/mod/resource/view.php?id=1645 moodle- Praxisbuch (German) Info] - von Fredi Gertsch, Addison&amp;amp;Wesley 540 pages, 44,95 €&lt;br /&gt;
*[http://file024r.mylivepage.com/chunk24/390895/255/Arb_MOODLE.pdf Moodle Teacher Manual (Arabic)] - by &#039;&#039;&#039;Jamil Itmazi&#039;&#039;&#039; (PDF, 6.4MB)  استعمال موودل للمعلمين باللغة العربية من إعداد: د.جميل إطميزي&lt;br /&gt;
*[http://moodle.fct.unl.pt/mod/resource/view.php?id=24107 Uma introdução visual ao Moodle - pa] - by &#039;&#039;&#039;João Fernandes&#039;&#039;&#039; ra professores e criadores de páginas (PDF, 4MB), 43 pages, [http://creativecommons.org/licenses/by-nc-sa/2.5/ Creative Commons Non-Comercial Share Alike 2.5 License]&lt;br /&gt;
*[http://www.open.hr/request.php?5 Moodle 1.6 Teacher Manual (Croatian)] - by &#039;&#039;&#039;Ivana Bosnić&#039;&#039;&#039; (PDF, 3MB)&lt;br /&gt;
*[http://www.moodle.si/moodle/mod/wiki/view.php?id=22 Moodle 1.6 Teacher Manual (Slovenian)] - by &#039;&#039;&#039;Alja Sulčič&#039;&#039;&#039; and &#039;&#039;&#039;Viktorija Sulčič&#039;&#039;&#039;, Center for e-learning, Faculty of management Koper, Slovenia (Wiki version, requires free site registration)&lt;br /&gt;
*[http://195.148.254.152/moodle/mod/book/index.php?id=1 Moodle opiskelijan ja opettajan opas 1.5.4 ja 1.6.4] &#039;&#039;&#039;Sanna Saukkoriipi&#039;&#039;&#039;, Kemi-Tornion ammattikorkeakoulun eOppimiskeskus.&lt;br /&gt;
*[http://moodle.de German DVD] 8 Stunden Anleitungsvideos- von &#039;&#039;&#039;Ralf Hilgenstock&#039;&#039;&#039;&lt;br /&gt;
*[http://aulavirtual2.educa.madrid.org/mod/resource/view.php?inpopup=true&amp;amp;id=5659 Moodle versión 1.8 Manual de consulta para el profesorado (Spanish)] - &#039;&#039;&#039;Jesús Baños Sancho&#039;&#039;&#039; (16.5MB)&lt;br /&gt;
*[http://www.cdp.tti.sfedu.ru/index.php?option=com_content&amp;amp;task=view&amp;amp;id=451&amp;amp;Itemid=426 Практика электронного обучения с использованием Moodle (Russian)] - &#039;&#039;&#039;Андреев А.В.&#039;&#039;&#039;, &#039;&#039;&#039;Андреева С.В.&#039;&#039;&#039;, &#039;&#039;&#039;Доценко И.Б.&#039;&#039;&#039;, ЦДП ТТИ ЮФУ&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_profesor.pdf Guía Moodle 1.9.4 usuario profesor (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 6.7MB)&lt;br /&gt;
*[http://www.ksame.kharkov.ua/moodle/course/view.php?id=2 Работа в системе дистанционного обучения Moodle.(Russian)] - &#039;&#039;&#039;Анисимов А.М.&#039;&#039;&#039;, Учебное пособие.2-е изд. испр. и дополн.– Харьков, ХНАГХ, 2009. - 292 стр.&lt;br /&gt;
*[http://www.ceo.edu.rs/images/stories/publikacije/Racunarski_testovi_znanja_u_softverskom_paketu_Moodle.pdf Computer-based Testing in Moodle: Teachers&#039; Manual (Serbian)] - by &#039;&#039;&#039;Srdjan Verbić&#039;&#039;&#039; and &#039;&#039;&#039;Boris Tomić&#039;&#039;&#039; (PDF, 3MB)&lt;br /&gt;
* [http://atarplpl.co.il/moodle_teacher_hebrew_Atarplpl.co.il.pdf Moodle 1.9 - Hebrew Teachers Manual מדריך למרצה בעברית ] - By [[user:Yedidia_Klein|Yedidia Klein]] and Atar + Plus LTD (PDF, 1 MB  47 Pages)&lt;br /&gt;
&lt;br /&gt;
==Administration manuals==&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Administrator Reference Manual 1.8] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 69 pages Print  £12, Ebook £6.95 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Administrator Reference Manual 1.8 and Course Creator Reference Manual 1.9 - Buy both offer] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; Ebook only £13.30 excl. VAT&lt;br /&gt;
*[http://moodle.de//mod/resource/view.php?id=1191 Handbuch Installation und Administration (German) Inhaltsverzeichnis/Content] - von André Krüger, Urs Hunkler, Ralf Hilgenstock 30,- € (gedruckt 110 Seiten)&lt;br /&gt;
*[http://moodle.org/file.php/16/moddata/forum/160/234243/Install_Moodle.pdf Moodle Administrator Manual (Arabic)] - by &#039;&#039;&#039;Jamil Itmazi&#039;&#039;&#039; (PDF, 0.3MB)  تنزيل موودل باللغة العربية من إعداد: د.جميل إطميزي&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_administrador.pdf Guía Moodle 1.9.4 usuario administrador (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 5.3MB)&lt;br /&gt;
&lt;br /&gt;
==Student manuals==&lt;br /&gt;
*[http://www.lynda.com/home/DisplayCourse.aspx?lpk2=47544 Moodle Essential Training for Students 1.9] - by &#039;&#039;&#039;Chris Mattia - Lynda.com&#039;&#039;&#039; Video Based Training&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FTamil%2FMoodle_Student_Manual_TA.pdf Moodle 1.8+ Student Manual (Tamil - Sri Lanka)] - by &#039;&#039;&#039;Kengatharaiyer Sarveswaran ,LAKapps project, University of Moratuwa, Sri Lanka.&#039;&#039;&#039; (PDF, 700KB)&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FSinhala%2FMoodle_Student_Manual_SI.pdf Moodle  1.8+ Student Manual (Sinhala)] - by &#039;&#039;&#039;Sulochana Sooriyaarachchi ,LAKapps project, University of Moratuwa, Sri Lanka.&#039;&#039;&#039; (PDF, 2 MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/user-manual-es.pdf Moodle User Manual (Spanish)] - by &#039;&#039;&#039;Enrique Castro&#039;&#039;&#039; (PDF, 3.1MB)&lt;br /&gt;
*[http://moodle.de//file.php?file=/1/Bestellblatt.pdf Teilnehmerhandbuch (German) Info und Bestellformular] - von Ralf Hilgenstock und Renate Jirmann (gedruckt  63 Seiten)&lt;br /&gt;
*[http://jamildepalestina.mylivepage.com/file/?fileid=882 Moodle Student Manual (Arabic)] - by &#039;&#039;&#039;Jamil Itmazi&#039;&#039;&#039; (PDF, 3 MB)   استعمال موودل للطلاب باللغة العربية من إعداد: د.جميل إطميزي&lt;br /&gt;
*[http://moodle.tokem.fi/mod/book/index.php?id=1 Illustrated on-line Beginner, Student and Teacher manuals for Moodle 1.5.4, 1.6.4, 1.8.3 and 1.9.2] (including descriptions of some contrib tools) in English and Finnish by &#039;&#039;&#039;Paul Nijbakker&#039;&#039;&#039; and &#039;&#039;&#039;Sanna Saukkoriipi&#039;&#039;&#039;, eLearning Centre of Kemi-Tornio University of Applied Sciences.&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_alumno.pdf Guía Moodle 1.9.4 usuario alumno (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 2.9MB)&lt;br /&gt;
&lt;br /&gt;
==Developer manuals==&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_desarrollador.pdf Guía Moodle 1.9.4 usuario desarrollador (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 2.8MB)&lt;br /&gt;
&lt;br /&gt;
==Moodledocs in pdf==&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Grades] Compiled by [[User:Maryel_Mendiola]] (PDF, 1.06 MB)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Moodle presentations]]&lt;br /&gt;
*[http://moodle.org/books Moodle Books database]&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[es:Manuales de Moodle]]&lt;/div&gt;</summary>
		<author><name>Yedidia</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Moodle_manuals&amp;diff=70417</id>
		<title>Moodle manuals</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Moodle_manuals&amp;diff=70417"/>
		<updated>2010-03-31T06:31:09Z</updated>

		<summary type="html">&lt;p&gt;Yedidia: /* Other Languages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page contains some links to manuals, tutorials and other multimedia documentation produced by moodlers all over the world. Please feel free to submit your contribution by adding a link to this page or sending the file to [mailto:docs@moodle.org docs@moodle.org].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Teacher manuals==&lt;br /&gt;
&lt;br /&gt;
===English===&lt;br /&gt;
*[http://courses.isucomm.iastate.edu/course/view.php?id=698 ISUComm Moodle Tutorials] - Moodle 1.9 video tutorials by &#039;&#039;&#039;Ruslan Suvorov&#039;&#039;&#039;, [http://www.iastate.edu &#039;&#039;&#039;Iowa State University&#039;&#039;&#039;]&lt;br /&gt;
*[http://moodle.bath.ac.uk/faq Moodle 1.9 FAQs] - from the [http://www.bath.ac.uk &#039;&#039;&#039;University of Bath&#039;&#039;&#039;] (web based, fully searchable - updated frequently)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Outcomes] - by &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.94 MB, Oct 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Understanding Groups and Groupings] - by &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.9 MB, Sep 2009)&lt;br /&gt;
*[http://online-edu.cc.muroran-it.ac.jp/ Learning to Moodle] A free Moodle course that has step by step video tutorials on how to create online content using Moodle. It is being updated regularly. - by &#039;&#039;&#039;Eric Hagley&#039;&#039;&#039;&#039;&#039;&#039;Muroran Institute of Technology&#039;&#039;&#039;&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 How to fix corrupted Labels Moodle] - by &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.84 MB, Sep 2009)&lt;br /&gt;
*[http://www.lynda.com/home/DisplayCourse.aspx?lpk2=47547 Moodle Essential Training for Teachers 1.9] - by &#039;&#039;&#039;Chris Mattia - Lynda.com&#039;&#039;&#039; Video Based Training&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.9] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 264 pages Print  £20, Ebook £8.69 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Administrator Reference Manual 1.8] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 69 pages Print  £12, Ebook £6.95 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.9 and Administrator Reference Manual 1.8 - Buy both offer] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; Ebook only £13.04 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.8] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 191 pages Print  £15, Ebook £8.69 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Course Creator Reference Manual 1.8 and Administrator Reference Manual 1.8 - Buy both offer] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; Ebook only £13.04 excl. VAT&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/en/moodle_1.4.3_for_teachers_and_trainers.pdf Moodle 1.4.3 For Teachers and Trainers] - by &#039;&#039;&#039;Bryan Williams&#039;&#039;&#039; (PDF, 2.4MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/en/using-your-moodle.pdf Using Your Moodle (1.4.3)] by [[User:Darren_Smith Darren Smith]] (PDF, 2MB, Published Jan 2005)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/en/teacher-manual.pdf Moodle 1.4 Teacher Manual] - by &#039;&#039;&#039;Matt Riordan&#039;&#039;&#039; (PDF, 3.5MB)&lt;br /&gt;
*[http://www.staff.sbc.edu/tmarcais/classfiles/moodle/Moodle1.5.3.pdf Moodle 1.5.3 Teacher Manual] - Original Documentation by &#039;&#039;&#039;Matt Riordan&#039;&#039;&#039;, updated to version 1.5.3 by &#039;&#039;&#039;Tom Marcais&#039;&#039;&#039; (PDF, 9.1MB)&lt;br /&gt;
*[http://www.packtpub.com/moodle-course-conversion/book Moodle Course Conversion: Beginner&#039;s Guide] - by &#039;&#039;&#039;Ian Wild&#039;&#039;&#039;, [http://www.packtpub.com/ Packt Publishing], November 2008, Print 264 pages £24.99, PDF version £16.99&lt;br /&gt;
*[http://www.packtpub.com/moodle/book Moodle E-Learning Course Development] - by William Rice, [http://www.packtpub.com/ Packt Publishing], May 2006, 250 pages, €33.29/$35.99&lt;br /&gt;
*[http://moodle.fct.unl.pt/mod/resource/view.php?id=24107 A Visual Introduction to Moodle - for teachers and page creators] - by &#039;&#039;&#039;João Fernandes&#039;&#039;&#039; (PDF, 4MB), 43 pages, [http://creativecommons.org/licenses/by-nc-sa/2.5/ Creative Commons Non-Comercial Share Alike 2.5 License]&lt;br /&gt;
*[http://moodle.tokem.fi/mod/book/index.php?id=1 Illustrated on-line Beginner, Student and Teacher manuals for Moodle 1.5.4, 1.6.4, 1.8.3 and 1.9.2] (including some third-party tools and Flash demos as well as a concise Hot Potatoes manual) by &#039;&#039;&#039;Paul Nijbakker&#039;&#039;&#039;, eLearning Centre of Kemi-Tornio University of Applied Sciences.&lt;br /&gt;
*[http://moodle.sbc.edu/mod/resource/view.php?id=8088 Moodle Upgrading from 1.5.3 to 1.8, Changes for Teachers] - by &#039;&#039;&#039;Tom Marcais&#039;&#039;&#039; (PDF, 3.5MB)&lt;br /&gt;
*[http://moodle.sbc.edu/mod/resource/view.php?id=8087 Moodle 1.8 Teacher Manual] - by &#039;&#039;&#039;Tom Marcais&#039;&#039;&#039; (based in part on documentation by &#039;&#039;&#039;Matt Riordan&#039;&#039;&#039;) (PDF, 10.6MB)&lt;br /&gt;
*[http://moodle.de/mod/resource/view.php?id=2092 Moodle Teacher Handbook (Moodle 1.9)] - by &#039;&#039;&#039;Renate Jirmann and Ralf Hilgenstock&#039;&#039;&#039;, 163 pages, 30,- € plus mailing expenses, customized versions and online licence available&lt;br /&gt;
*[http://www.oreilly.com/catalog/9780596529185/ Using Moodle, Second Edition] - by &#039;&#039;&#039;Jason Cole&#039;&#039;&#039; and &#039;&#039;&#039;Helen Foster&#039;&#039;&#039;, 282 pages, $27,99 for the PDF version, each chapter available as a PDF for $3,99 a piece&lt;br /&gt;
*[http://www.schoolanywhere.co.uk/moodle_book.php Teacher&#039;s Beginners Guide to Using Moodle] - by &#039;&#039;&#039;SchoolAnywhere&#039;&#039;&#039; , 24 pages, FREE for the PDF version&lt;br /&gt;
*[http://www.elearning.org.nz MoodleBites online training] - by &#039;&#039;&#039;HRDNZ&#039;&#039;&#039; 8 week teachers course NZ$199 (free introduction to Moodle available)&lt;br /&gt;
*[https://www.packtpub.com/moodle-1-9-multimedia/book Moodle 1.9 Multimedia] - by &#039;&#039;&#039;João Pedro Soares Fernandes&#039;&#039;&#039;, [http://www.packtpub.com/ Packt Publishing], May 2009, Print 272 pages £25.19, PDF version £15.57&lt;br /&gt;
&lt;br /&gt;
===Other Languages===&lt;br /&gt;
*[http://www20.gencat.cat/docs/Educacio/Home/Departament/Publicacions/Moodle_com_plataforma_educativa_centre/ARXIUS/TAC_2.pdf Moodle com a plataforma educativa de centre (catalan)] - by &#039;&#039;&#039;Irene Martínez Pérez, Joaquim Vilar Sais, Joan Queralt Gil, Àngels Mustienes Montero and Jordi Fontich Vicens&#039;&#039;&#039; (PDF, 3.7 MB, March 2010)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/subir_archivo_a_moodle.html Enlazando un archivo Doc como recurso (Spanish)] - by &#039;&#039;&#039;Victor Manuel Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/restaurar%20un%20curso%20en%20moodle.htm Como restaurar un Curso en Moodle (Spanish)] - by &#039;&#039;&#039;Victor Manuel Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/por%20que%20no%20se%20veian%20los%20cuestionarios.htm Como ocultar temas a los estudiantes (Spanish)] - by &#039;&#039;&#039;Victor M Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://blografia.net/vicm3/docs/manuales/Guardar%20curso%20maestro%20en%20moodle.htm Creando Copia de Seguridad (Spanish)] - by &#039;&#039;&#039;Victor Manuel Mtz Mtz UPNmx&#039;&#039;&#039; (Flash Nov 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Resultados(outcomes) (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 2.27 MB, Oct 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Como crear una Base de Datos (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.83 MB, Sep 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Arreglando Etiquetas que no se pueden editar (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.55 MB, Sep 2009)&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 Grupos y Agrupamientos (Spanish)] - por &#039;&#039;&#039;Maryel Mendiola &#039;&#039;&#039; (PDF, 1.58 MB, Sep 2009)&lt;br /&gt;
*[http://www.sfm.pt/e-learning/manual-moodle.php Moodle 1.9 Manual para professores (Português)] - por &#039;&#039;&#039;SFM&#039;&#039;&#039;, Pequenos manuais visuais ou manual completo com 17 MB)&lt;br /&gt;
*[http://www.e-lisa-academy.at/dl/MoodleHandbuchLehrerInnen-1.9.pdf Kostenloses Moodle 1.9 Anwenderhandbuch] - in deutscher Sprache (2.6 MB/PDF) und zum Ausdrucken. Erstellt von Kathrin Lind, Florian und Peter Sereinigg im Auftrag von [http://http://www.e-lisa-academy.at/ e-LISA academy]&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FTamil%2FMoodle_Teacher_Manual_TA.pdf Moodle 1.8+ Teacher Manual (Tamil - Sri Lanka)] - by &#039;&#039;&#039;Kengatharaiyer Sarveswaran&#039;&#039;&#039; ,LAKapps project, University of Moratuwa, Sri Lanka. (PDF, 1.54MB)&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FSinhala%2FMoodle_Teacher_Manual_SI.pdf Moodle 1.8+ Teacher Manual (Sinhala)] - by &#039;&#039;&#039;Sulochana Sooriyaarachchi&#039;&#039;&#039; ,LAKapps project, University of Moratuwa, Sri Lanka. (PDF, 2.79MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/nl/teacher-manual-1.5-nl.pdf Moodle 1.5 Teacher Manual (Dutch)] - (PDF, 3MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/it/teacher-manual-it.pdf Moodle 1.3 Teacher Manual (Italian)] - (PDF, 3.1MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/fr/teacher-manual-fr.pdf Moodle 1.3 Teacher Manual (French)] - (PDF, 5MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/teacher-manual-es.pdf Moodle Teacher Manual (Spanish)] - by &#039;&#039;&#039;Enrique Castro Lopez&#039;&#039;&#039; (PDF, 5.4MB)&lt;br /&gt;
*[http://www.lasalle.es/descargas/ManualMoodle2006.zip Moodle 1.5 Teacher Manual (Spanish)] - by &#039;&#039;&#039;Jesús Martín&#039;&#039;&#039; (PDF, 5.2MB)&lt;br /&gt;
*[http://moodle.de/file.php/1/Moodle_Trainer_18_public.pdf Moodle 1.8 Trainerhandbuch (German) Inhaltsverzeichnis/Content] - von Renate Jirmann und Ralf Hilgenstock 30,- € (gedruckt 155 Seiten)&lt;br /&gt;
*[http://moodle.de//mod/resource/view.php?id=1294 moodle @ work (German) Praxisberichte /Use Cases Inhaltsverzeichnis/Content] 12,50 €(gedruckt 150 Seiten)&lt;br /&gt;
*[http://moodle.de/mod/resource/view.php?id=1645 moodle- Praxisbuch (German) Info] - von Fredi Gertsch, Addison&amp;amp;Wesley 540 pages, 44,95 €&lt;br /&gt;
*[http://file024r.mylivepage.com/chunk24/390895/255/Arb_MOODLE.pdf Moodle Teacher Manual (Arabic)] - by &#039;&#039;&#039;Jamil Itmazi&#039;&#039;&#039; (PDF, 6.4MB)  استعمال موودل للمعلمين باللغة العربية من إعداد: د.جميل إطميزي&lt;br /&gt;
*[http://moodle.fct.unl.pt/mod/resource/view.php?id=24107 Uma introdução visual ao Moodle - pa] - by &#039;&#039;&#039;João Fernandes&#039;&#039;&#039; ra professores e criadores de páginas (PDF, 4MB), 43 pages, [http://creativecommons.org/licenses/by-nc-sa/2.5/ Creative Commons Non-Comercial Share Alike 2.5 License]&lt;br /&gt;
*[http://www.open.hr/request.php?5 Moodle 1.6 Teacher Manual (Croatian)] - by &#039;&#039;&#039;Ivana Bosnić&#039;&#039;&#039; (PDF, 3MB)&lt;br /&gt;
*[http://www.moodle.si/moodle/mod/wiki/view.php?id=22 Moodle 1.6 Teacher Manual (Slovenian)] - by &#039;&#039;&#039;Alja Sulčič&#039;&#039;&#039; and &#039;&#039;&#039;Viktorija Sulčič&#039;&#039;&#039;, Center for e-learning, Faculty of management Koper, Slovenia (Wiki version, requires free site registration)&lt;br /&gt;
*[http://195.148.254.152/moodle/mod/book/index.php?id=1 Moodle opiskelijan ja opettajan opas 1.5.4 ja 1.6.4] &#039;&#039;&#039;Sanna Saukkoriipi&#039;&#039;&#039;, Kemi-Tornion ammattikorkeakoulun eOppimiskeskus.&lt;br /&gt;
*[http://moodle.de German DVD] 8 Stunden Anleitungsvideos- von &#039;&#039;&#039;Ralf Hilgenstock&#039;&#039;&#039;&lt;br /&gt;
*[http://aulavirtual2.educa.madrid.org/mod/resource/view.php?inpopup=true&amp;amp;id=5659 Moodle versión 1.8 Manual de consulta para el profesorado (Spanish)] - &#039;&#039;&#039;Jesús Baños Sancho&#039;&#039;&#039; (16.5MB)&lt;br /&gt;
*[http://www.cdp.tti.sfedu.ru/index.php?option=com_content&amp;amp;task=view&amp;amp;id=451&amp;amp;Itemid=426 Практика электронного обучения с использованием Moodle (Russian)] - &#039;&#039;&#039;Андреев А.В.&#039;&#039;&#039;, &#039;&#039;&#039;Андреева С.В.&#039;&#039;&#039;, &#039;&#039;&#039;Доценко И.Б.&#039;&#039;&#039;, ЦДП ТТИ ЮФУ&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_profesor.pdf Guía Moodle 1.9.4 usuario profesor (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 6.7MB)&lt;br /&gt;
*[http://www.ksame.kharkov.ua/moodle/course/view.php?id=2 Работа в системе дистанционного обучения Moodle.(Russian)] - &#039;&#039;&#039;Анисимов А.М.&#039;&#039;&#039;, Учебное пособие.2-е изд. испр. и дополн.– Харьков, ХНАГХ, 2009. - 292 стр.&lt;br /&gt;
*[http://www.ceo.edu.rs/images/stories/publikacije/Racunarski_testovi_znanja_u_softverskom_paketu_Moodle.pdf Computer-based Testing in Moodle: Teachers&#039; Manual (Serbian)] - by &#039;&#039;&#039;Srdjan Verbić&#039;&#039;&#039; and &#039;&#039;&#039;Boris Tomić&#039;&#039;&#039; (PDF, 3MB)&lt;br /&gt;
* [http://atarplpl.co.il/moodle_teacher_hebrew_Atarplpl.co.il.pdf Moodle 1.9 - Hebrew Teachers Manual מדריך למרצה בעברית ] - By Yedidia Klein and Atar + Plus LTD (PDF, 1 MB  47 Pages)&lt;br /&gt;
&lt;br /&gt;
==Administration manuals==&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Administrator Reference Manual 1.8] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; 69 pages Print  £12, Ebook £6.95 excl. VAT&lt;br /&gt;
*[http://www.howtomoodle.com/index.php/moodle-manuals Administrator Reference Manual 1.8 and Course Creator Reference Manual 1.9 - Buy both offer] - by &#039;&#039;&#039;Ray Lawrence&#039;&#039;&#039; Ebook only £13.30 excl. VAT&lt;br /&gt;
*[http://moodle.de//mod/resource/view.php?id=1191 Handbuch Installation und Administration (German) Inhaltsverzeichnis/Content] - von André Krüger, Urs Hunkler, Ralf Hilgenstock 30,- € (gedruckt 110 Seiten)&lt;br /&gt;
*[http://moodle.org/file.php/16/moddata/forum/160/234243/Install_Moodle.pdf Moodle Administrator Manual (Arabic)] - by &#039;&#039;&#039;Jamil Itmazi&#039;&#039;&#039; (PDF, 0.3MB)  تنزيل موودل باللغة العربية من إعداد: د.جميل إطميزي&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_administrador.pdf Guía Moodle 1.9.4 usuario administrador (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 5.3MB)&lt;br /&gt;
&lt;br /&gt;
==Student manuals==&lt;br /&gt;
*[http://www.lynda.com/home/DisplayCourse.aspx?lpk2=47544 Moodle Essential Training for Students 1.9] - by &#039;&#039;&#039;Chris Mattia - Lynda.com&#039;&#039;&#039; Video Based Training&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FTamil%2FMoodle_Student_Manual_TA.pdf Moodle 1.8+ Student Manual (Tamil - Sri Lanka)] - by &#039;&#039;&#039;Kengatharaiyer Sarveswaran ,LAKapps project, University of Moratuwa, Sri Lanka.&#039;&#039;&#039; (PDF, 700KB)&lt;br /&gt;
*[http://www.lakapps.lk/websvn/filedetails.php?repname=Lakapps&amp;amp;path=%2FMoodle%2FSinhala%2FMoodle_Student_Manual_SI.pdf Moodle  1.8+ Student Manual (Sinhala)] - by &#039;&#039;&#039;Sulochana Sooriyaarachchi ,LAKapps project, University of Moratuwa, Sri Lanka.&#039;&#039;&#039; (PDF, 2 MB)&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/user-manual-es.pdf Moodle User Manual (Spanish)] - by &#039;&#039;&#039;Enrique Castro&#039;&#039;&#039; (PDF, 3.1MB)&lt;br /&gt;
*[http://moodle.de//file.php?file=/1/Bestellblatt.pdf Teilnehmerhandbuch (German) Info und Bestellformular] - von Ralf Hilgenstock und Renate Jirmann (gedruckt  63 Seiten)&lt;br /&gt;
*[http://jamildepalestina.mylivepage.com/file/?fileid=882 Moodle Student Manual (Arabic)] - by &#039;&#039;&#039;Jamil Itmazi&#039;&#039;&#039; (PDF, 3 MB)   استعمال موودل للطلاب باللغة العربية من إعداد: د.جميل إطميزي&lt;br /&gt;
*[http://moodle.tokem.fi/mod/book/index.php?id=1 Illustrated on-line Beginner, Student and Teacher manuals for Moodle 1.5.4, 1.6.4, 1.8.3 and 1.9.2] (including descriptions of some contrib tools) in English and Finnish by &#039;&#039;&#039;Paul Nijbakker&#039;&#039;&#039; and &#039;&#039;&#039;Sanna Saukkoriipi&#039;&#039;&#039;, eLearning Centre of Kemi-Tornio University of Applied Sciences.&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_alumno.pdf Guía Moodle 1.9.4 usuario alumno (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 2.9MB)&lt;br /&gt;
&lt;br /&gt;
==Developer manuals==&lt;br /&gt;
*[http://download.moodle.org/download.php/docs/es/1.9.4_usuario_desarrollador.pdf Guía Moodle 1.9.4 usuario desarrollador (Spanish)] - by &#039;&#039;&#039;AnaT&#039;&#039;&#039; (PDF, 2.8MB)&lt;br /&gt;
&lt;br /&gt;
==Moodledocs in pdf==&lt;br /&gt;
*[http://groups.google.com/group/moodlersLA/files Grades] Compiled by [[User:Maryel_Mendiola]] (PDF, 1.06 MB)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Moodle presentations]]&lt;br /&gt;
*[http://moodle.org/books Moodle Books database]&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[es:Manuales de Moodle]]&lt;/div&gt;</summary>
		<author><name>Yedidia</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=User:Yedidia_Klein&amp;diff=70416</id>
		<title>User:Yedidia Klein</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=User:Yedidia_Klein&amp;diff=70416"/>
		<updated>2010-03-31T06:17:37Z</updated>

		<summary type="html">&lt;p&gt;Yedidia: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
I&#039;m Yedidia Klein from Atar + Plus an Israeli company that is integrating many Open Source solutions.&lt;br /&gt;
&lt;br /&gt;
http://atarplpl.co.il/images/yedidia2.png&lt;/div&gt;</summary>
		<author><name>Yedidia</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=User:Yedidia_Klein&amp;diff=70414</id>
		<title>User:Yedidia Klein</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=User:Yedidia_Klein&amp;diff=70414"/>
		<updated>2010-03-31T06:13:32Z</updated>

		<summary type="html">&lt;p&gt;Yedidia: New page: Hello,  I&amp;#039;m Yedidia Klein from Atar + Plus an Israeli company that is integrating many Open Source solutions. Me&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
I&#039;m Yedidia Klein from Atar + Plus an Israeli company that is integrating many Open Source solutions.&lt;br /&gt;
[[Image:http://atarplpl.co.il/images/yedidia2.png|Me]]&lt;/div&gt;</summary>
		<author><name>Yedidia</name></author>
	</entry>
</feed>