title: Debugging for LDAP authentication for Moodle
body: <p>I have configured the LDAP authentication and added <code>/auth/ldap/cli/sync_users.php</code> to the crontab as described in the official manual: <a href="http://docs.moodle.org/26/en/LDAP_authentication" rel="nofollow">http://docs.moodle.org/26/en/LDAP_authentication</a>.</p>
  
  <p>But with no luck the LDAP thingy seemed to be failing to work properly. I believe the cron job has been set up properly, so I suppose I may have made some mistakes, or not providing enough information in the configuration for the LDAP authentication plugin.</p>
  
  <p>As the cron script must be called from the command line, and I only have access to the FTP and MySQL database on the server, I have no idea how to execute the file to check if there are any errors (for debugging purpose).</p>
  
  <p>So, I would like to know the proper way(s) to debug the LDAP authentication. 
  Please let me know if I am not making it clear enough. I could provide more details if needed.<br>
  Thank you. </p>
  
  <ul>
  <li><ul>
  <li><ul>
  <li><ul>
  <li>UPDATES * * * *</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I have tried to run the <code>/admin/cron.php</code> on a browser, and I have found the following lines in the output.</p>
  
  <pre><code>Running auth crons if required...
  ... started 10:24:18. Current memory use 27.9MB.
  </code></pre>
  
  <p>Does it have anything to do with the LDAP authentication? And what does it imply here?</p>