<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>LDAP_or_Active_Directory[ Search for &quot;&quot;]</title>
        <description></description>
        <link>http://xataface.com/wiki/index.php?-action=single_record_search&amp;-table=wiki&amp;page_id=%3D65&amp;-cursor=0&amp;-skip=0&amp;-limit=30&amp;-mode=list&amp;--subsearch=</link>
        <lastBuildDate>Tue, 18 Jun 2013 00:36:43 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>LDAP_or_Active_Directory</title>
            <link>http://www.xataface.com/wiki/LDAP_or_Active_Directory</link>
            <description>&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Field&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page name&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;LDAP_or_Active_Directory&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page id&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;65&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page title&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;How to authenticate users with LDAP or Active Directory&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Content&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;&lt;tr&gt;&lt;td&gt;
&lt;div id=&quot;toc&quot;&gt;&lt;strong&gt;Table of Contents&lt;/strong&gt;
	&lt;div style=&quot;margin-left: 1em;&quot;&gt;&lt;a href=&quot;#toc0&quot;&gt;In the conf.ini&lt;/a&gt;&lt;/div&gt;
	&lt;div style=&quot;margin-left: 1em;&quot;&gt;&lt;a href=&quot;#toc1&quot;&gt;See Also&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;It is often easier to use the existing LDAP or Active Directory to authenticate users in Xataface than to create a new password for every user in the table users.&lt;/p&gt;


&lt;h3 id=&quot;toc0&quot;&gt;In the conf.ini&lt;/h3&gt;
&lt;p&gt;In the conf.ini file, in the [auth] part, you need to add your LDAP or AD configuration data :&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;[_auth]
auth_type=ldap
users_table = xata_users
username_column = id
    ldap_host = &amp;quot;xxx.xxx.xxx.xxx&amp;quot;
    ldap_port = &amp;quot;389&amp;quot;
    ldap_base = &amp;quot;OU=blabla,DC=blablabla&amp;quot;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Here in the table users, you need the login but the password can be just &lt;em&gt;PASS&lt;/em&gt;, because the password will be fetched into the LDAP base. You need to add the &lt;a href=&quot;http://weblite.ca/svn/dataface/modules/Auth/ldap/trunk/&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;auth module&lt;/a&gt; in the conf/modules directory.&lt;/p&gt;


&lt;h3 id=&quot;toc1&quot;&gt;See Also&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt; &lt;a href=&quot;/wiki/authentication&quot;&gt;authentication&lt;/a&gt; - Overview of Authenthentication features in Xataface&lt;/li&gt;
&lt;/ul&gt;

&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Keywords&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;LDAP,Active Directory,Authentication&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Language&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;en&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</description>
            <author>LDAP_or_Active_Directory</author>
        </item>
    </channel>
</rss>
