<?xml version="1.0" encoding="utf-8"?>
<extension version="3.0" type="plugin" group="authentication">
	<name>plg_authentication_ldap</name>
	<author>Joomla! Project</author>
	<creationDate>November 2005</creationDate>
	<copyright>Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.</copyright>
	<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
	<authorEmail>admin@joomla.org</authorEmail>
	<authorUrl>www.joomla.org</authorUrl>
	<version>3.0.0</version>
	<description>PLG_LDAP_XML_DESCRIPTION</description>
	<files>
		<filename plugin="ldap">ldap.php</filename>
		<filename>index.html</filename>
	</files>
	<languages>
		<language tag="en-GB">en-GB.plg_authentication_ldap.ini</language>
		<language tag="en-GB">en-GB.plg_authentication_ldap.sys.ini</language>
	</languages>
	<config>
		<fields name="params">

			<fieldset name="basic">
				<field name="host" type="text"
					description="PLG_LDAP_FIELD_HOST_DESC"
					label="PLG_LDAP_FIELD_HOST_LABEL"
					size="20"
				/>

				<field name="port" type="text"
					default="389"
					description="PLG_LDAP_FIELD_PORT_DESC"
					label="PLG_LDAP_FIELD_PORT_LABEL"
					size="20"
				/>

				<field name="use_ldapV3" type="radio"
					default="0"
					description="PLG_LDAP_FIELD_V3_DESC"
					label="PLG_LDAP_FIELD_V3_LABEL"
				>
					<option value="0">JNo</option>
					<option value="1">JYes</option>
				</field>

				<field name="negotiate_tls" type="radio"
					default="0"
					description="PLG_LDAP_FIELD_NEGOCIATE_DESC"
					label="PLG_LDAP_FIELD_NEGOCIATE_LABEL"
				>
					<option value="0">JNo</option>
					<option value="1">JYes</option>
				</field>

				<field name="no_referrals" type="radio"
					default="0"
					description="PLG_LDAP_FIELD_REFERRALS_DESC"
					label="PLG_LDAP_FIELD_REFERRALS_LABEL"
				>
					<option value="0">JNo</option>
					<option value="1">JYes</option>
				</field>

				<field name="auth_method" type="list"
					default="bind"
					description="PLG_LDAP_FIELD_AUTHMETHOD_DESC"
					label="PLG_LDAP_FIELD_AUTHMETHOD_LABEL"
				>
					<option value="search">PLG_LDAP_FIELD_VALUE_BINDSEARCH</option>
					<option value="bind">PLG_LDAP_FIELD_VALUE_BINDUSER</option>
				</field>

				<field name="base_dn" type="text"
					description="PLG_LDAP_FIELD_BASEDN_DESC"
					label="PLG_LDAP_FIELD_BASEDN_LABEL"
					size="20"
				/>

				<field name="search_string" type="text"
					description="PLG_LDAP_FIELD_SEARCHSTRING_DESC"
					label="PLG_LDAP_FIELD_SEARCHSTRING_LABEL"
					size="20"
				/>

				<field name="users_dn" type="text"
					description="PLG_LDAP_FIELD_USERSDN_DESC"
					label="PLG_LDAP_FIELD_USERSDN_LABEL"
					size="20"
				/>


				<field name="username" type="text"
					description="PLG_LDAP_FIELD_USERNAME_DESC"
					label="PLG_LDAP_FIELD_USERNAME_LABEL"
					size="20"
				/>

				<field name="password" type="password"
					description="PLG_LDAP_FIELD_PASSWORD_DESC"
					label="PLG_LDAP_FIELD_PASSWORD_LABEL"
					size="20"
				/>


				<field name="ldap_fullname" type="text"
					default="fullName"
					description="PLG_LDAP_FIELD_FULLNAME_DESC"
					label="PLG_LDAP_FIELD_FULLNAME_LABEL"
					size="20"
				/>

				<field name="ldap_email" type="text"
					default="mail"
					description="PLG_LDAP_FIELD_EMAIL_DESC"
					label="PLG_LDAP_FIELD_EMAIL_LABEL"
					size="20"
				/>

				<field name="ldap_uid" type="text"
					default="uid"
					description="PLG_LDAP_FIELD_UID_DESC"
					label="PLG_LDAP_FIELD_UID_LABEL"
					size="20"
				/>
			</fieldset>

		</fields>
	</config>
</extension>
