<!-- File: $RCSfile: authen_ldap,v $ -->
<!-- Rev: $Revision:  $ -->

<body class="help">

<!-- This help is for both edit and add  -->

<h2 class="help"><a name="Edit LDAP"></a><a name="Add LDAP"></a>Add or Edit LDAP</h2>

<h4 class="help">To enable integration with LDAP, enter the following:</h4>
<ul>
<li><b><a name="Basic"></a>Basic Parameters:</b>
	<ul>
		<li><b>Base DN</b> &mdash; The Distinguished Name &#40;DN&#41; at which to start the search in the LDAP,
                specified as a sequence of Relative Distinguished Names, connected with commas, with or without
                blank spaces. 
			<p>
			<info><b>Tip:</b> Make the Base DN as specific as possible in order to speed the lookup and avoid timeouts.
              For example, if your domain is <i>yourcompany.com</i>, your search base DN might be as follows: DC=yourcompany, DC=com, OU=sales
            </info>
			</p>
		<li><b>Use SSL</b> &mdash; Select to use SSL for connections to the authentication server.
		<li><b>Server IP</b> &mdash; The LDAP server IP address or name. When using SSL, the server name should be used instead of the IP address. The server name must be resolveable.
		<li><b>Server Port</b> &mdash; The port of the LDAP server &#40;default: 389&#41;.
		<li><b>User Field</b> &mdash; Name of the User field in the LDAP directory.
		<li><b>Password Field</b> &mdash; Name of the Password field in the LDAP directory.
		<li><b>Anonymous</b> &mdash; Set to <b>Yes</b> if authentication is not required &#40;i.e., anonymous is allowed&#41;.
		<li><b>Admin DN</b> &mdash; Name of an administrator who is authorized to perform requests.
		<li><b>Admin Password</b> &mdash; Password for Admin DN.
		<p>
		<info>
			<b>Tip:</b> Rather than use an administrator account, 
			which typically has a short password expiration period, 
			create an account specifically for binding to the LDAP server
			and configure a long password expiration period.
			</br>
			<b>For an Active Directory server:</b></br>
			In most cases, the DN is the full email address &#40;i.e. myemailname@mycompany.com&#41;. 
			If that does not work, try using the short email address &#40;i.e., myemailname&#41;.
			</br>
			<b>For other LDAP servers:</b></br>
			Specify the user account DN as a sequence of relative distinguished names &#40;RDN&#41;, 
			connected with commas &#40;i.e. CN=Jane Smith,OU=Sales,DC=hercompany,DC=com&#41;.
		</info>
		</p>
		
		<li><b>Group Attribute</b> &mdash; Name of the attribute field on the LDAP server containing group information. 
		Note that attribute fields on the LDAP server are customisable. If you are unsure about the required field name, the 
		LDAP server administrator will be able to provide the correct information.
	</ul>
	<li><b><a name="Mail Lookup"></a>Mail Lookup</b> 
	<ul>
            <li><b>Additional Mail Fields</b> &mdash; Comma&ndash;separated additional fields containing email addresses for the users.
    </ul>

<li><b><a name="Extended"></a>Extended</b>
	<ul>
            <li><b>Logon to Authenticate</b> &mdash; When selected, the authenticator will log onto the LDAP server to verify
			user authentication data. Use this option when the LDAP server does not expose user passwords, but hides them even from the administrator.
    </ul>
</ul>
<p>Click <b>Save</b> to save or <b>Cancel</b> to discard the changes.</p>
</body>