auth_type, array('cookie','session')))
error(sprintf(_('Unknown auth_type: %s'),htmlspecialchars($ldapserver->auth_type)),'error','index.php');
printf('
%s %s
',_('Authenticate to server'),$ldapserver->name);
# Check for a secure connection
if (! isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) != 'on') {
echo '
';
echo '';
echo '';
printf('%s: %s.',
_('You are not using \'https\'. Web browser will transmit login information in clear text.'),
_('Warning'),_('This web connection is unencrypted'));
echo '';
echo '';
echo '
';
}
# Login form.
echo '';
echo '';
if( $ldapserver->isAnonBindAllowed() ) { ?>