function ldap_servers_help in Lightweight Directory Access Protocol (LDAP) 8.2
Same name and namespace in other branches
- 8.4 ldap_servers/ldap_servers.module \ldap_servers_help()
- 8.3 ldap_servers/ldap_servers.module \ldap_servers_help()
- 7.2 ldap_servers/ldap_servers.module \ldap_servers_help()
- 7 ldap_servers/ldap_servers.module \ldap_servers_help()
File
- ldap_servers/
ldap_servers.module, line 841
Code
function ldap_servers_help($path, $arg) {
$servers_help = '<p>' . t('LDAP Servers store "LDAP server configurations" so other modules can connect to them and leverage their data.') . ' ';
$servers_help .= t('LDAP Authentication and LDAP Authorization are two such modules. Generally, only one LDAP Server configuration is needed.') . ' ' . '</p>';
$servers_help .= '<p>' . t('When multiple LDAP server configurations are needed, each is not necessarily a separate physical LDAP server; they may have different binding users or some other configuration difference.') . ' </p>';
switch ($path) {
case 'admin/config/people/ldap/servers':
return $servers_help;
case 'admin/help#ldap_servers':
$servers_help .= '<h3>' . t('Configuration - Settings') . '</h3>';
$servers_help .= '<dl>';
$servers_help .= '<dt>' . t('REQUIRE HTTPS ON CREDENTIAL PAGES') . '</dt>';
$servers_help .= '<dd>' . t('If checked, modules using LDAP will not allow credentials to be entered on or submitted to HTTP pages, only HTTPS. This option should be used with an approach to get all logon forms to be HTTPS.') . '</dd>';
$servers_help .= '<dt>' . t('ENCRYPTION') . '</dt>';
$servers_help .= '<dd>' . t('With encryption enabled, passwords will be stored in encrypted form. This is two way encryption because the actual password needs to used to bind to LDAP. So it offers minimal defense if someone gets in the filespace. It mainly helps avoid the accidental discovery of a clear text password.') . '</dd>';
$servers_help .= '<dt>' . t('LOG DETAILED LDAP ACTIONS') . '</dt>';
$servers_help .= '<dd>' . t('Enables LDAP logging to the Drupal Watchdog system') . '</dd>';
$servers_help .= '</dl>';
$servers_help .= '<h3>' . t('Configuration - Servers (List)') . '</h3>';
$servers_help .= '<dl>';
$servers_help .= '<dt>' . t('Configuration Table') . '</dt>';
$servers_help .= '<dd>' . t('Provides a list of currently stored LDAP server configuratins.') . '</dd>';
$servers_help .= '<h3>' . t('Configuration - Servers (Add LDAP Server Configuration)') . '</h3>';
$servers_help .= '<dl>';
$servers_help .= '<dt>' . t('CONNECTION SETTINGS') . '</dt>';
$servers_help .= '<dd>' . t('Machine name -') . ' </dd>';
$servers_help .= '<dd>' . t('Name -') . ' </dd>';
$servers_help .= '<dd>' . t('Enabled -') . ' </dd>';
$servers_help .= '<dd>' . t('LDAP Server Type') . ' </dd>';
$servers_help .= '<dd>' . t('LDAP Server -') . ' </dd>';
$servers_help .= '<dd>' . t('LDAP port -') . ' </dd>';
$servers_help .= '<dd>' . t('Use Start-TLS -') . ' </dd>';
$servers_help .= '</dl>';
$servers_help .= '<dl>';
$servers_help .= '<dt>' . t('BINDING METHOD') . '</dt>';
$servers_help .= '<dd>' . t('Binding Method for searches -') . ' </dd>';
$servers_help .= '<dd>' . t('Service Account -') . ' </dd>';
$servers_help .= '<dd>' . t('DN for non-anonymous search -') . ' </dd>';
$servers_help .= '<dd>' . t('Password for non-anonymous search -') . ' </dd>';
$servers_help .= '<dd>' . t('Clear existing password from database -') . ' </dd>';
$servers_help .= '</dl>';
$servers_help .= '<dl>';
$servers_help .= '<dt>' . t('LDAP USER TO DRUPAL USER RELATIONSHIP') . '</dt>';
$servers_help .= '<dd>' . t('Base DNs for LDAP Users, Groups, and Other Entries -') . ' </dd>';
$servers_help .= '<dd>' . t('AuthName Attribute -') . ' </dd>';
$servers_help .= '<dd>' . t('AccountName Attribute -') . ' </dd>';
$servers_help .= '<dd>' . t('Email Attribute -') . ' </dd>';
$servers_help .= '<dd>' . t('Email Template -') . ' </dd>';
$servers_help .= '<dd>' . t('Persistant and Unique User ID Attribute -') . ' </dd>';
$servers_help .= '<dd>' . t('Does PUID hold a binary value? -') . ' </dd>';
$servers_help .= '<dd>' . t('Expression for User DN -') . ' </dd>';
$servers_help .= '<dd>' . t('PHP to Transform Drupal Login Username to LDAP UserName Attribute -') . ' </dd>';
$servers_help .= '<dd>' . t('Testing Drupal Username -') . ' </dd>';
$servers_help .= '<dd>' . t('DN of Testing Username -') . ' </dd>';
$servers_help .= '</dl>';
return $servers_help;
case 'admin/config/people/ldap/servers/add':
$output = '<p>' . t('Setup an LDAP server configuration to be used by other modules such as LDAP Authentication, LDAP Authorization, etc.') . '</p>';
$output .= '<p>' . t('More than one LDAP server configuration can exist for a physical LDAP server. Multiple configurations for the same physical ldap server are useful in cases such as: (1) different base dn\'s for authentication and authorization and (2) service accounts with different privileges for different purposes.') . '</p>';
return $output;
}
}