print_unescaped('<pclass="ldapwarning">'.$l->t('<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them.').'</p>');
print_unescaped('<pclass="ldapwarning">'.$l->t('<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behavior. Please ask your system administrator to disable one of them.').'</p>');
}
if(!function_exists('ldap_connect')) {
print_unescaped('<pclass="ldapwarning">'.$l->t('<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it.').'</p>');
<p><labelfor="ldap_backup_host"><?phpp($l->t('Backup (Replica) Host'));?></label><inputtype="text"id="ldap_backup_host"name="ldap_backup_host"data-default="<?phpp($_['ldap_backup_host_default']);?>"title="<?phpp($l->t('Give an optional backup host. It must be a replica of the main LDAP/AD server.'));?>"></p>
<p><labelfor="ldap_override_main_server"><?phpp($l->t('Disable Main Server'));?></label><inputtype="checkbox"id="ldap_override_main_server"name="ldap_override_main_server"value="1"data-default="<?phpp($_['ldap_override_main_server_default']);?>"title="<?phpp($l->t('When switched on, ownCloud will only connect to the replica server.'));?>"/></p>
<p><labelfor="ldap_override_main_server"><?phpp($l->t('Disable Main Server'));?></label><inputtype="checkbox"id="ldap_override_main_server"name="ldap_override_main_server"value="1"data-default="<?phpp($_['ldap_override_main_server_default']);?>"title="<?phpp($l->t('Only connect to the replica server.'));?>"/></p>
<p><labelfor="ldap_tls"><?phpp($l->t('Use TLS'));?></label><inputtype="checkbox"id="ldap_tls"name="ldap_tls"value="1"data-default="<?phpp($_['ldap_tls_default']);?>"title="<?phpp($l->t('Do not use it additionally for LDAPS connections, it will fail.'));?>"/></p>
<p><labelfor="ldap_nocase"><?phpp($l->t('Case insensitve LDAP server (Windows)'));?></label><inputtype="checkbox"id="ldap_nocase"name="ldap_nocase"data-default="<?phpp($_['ldap_nocase_default']);?>"value="1"<?phpif(isset($_['ldap_nocase'])&&($_['ldap_nocase']))p(' checked');?>></p>
<p><labelfor="ldap_turn_off_cert_check"><?phpp($l->t('Turn off SSL certificate validation.'));?></label><inputtype="checkbox"id="ldap_turn_off_cert_check"name="ldap_turn_off_cert_check"title="<?phpp($l->t('If connection only works with this option, import the LDAP server\'s SSL certificate in your ownCloud server.'));?>"data-default="<?phpp($_['ldap_turn_off_cert_check_default']);?>"value="1"><br/><small><?phpp($l->t('Not recommended, use for testing only.'));?></small></p>
<p><labelfor="ldap_turn_off_cert_check"><?phpp($l->t('Turn off SSL certificate validation.'));?></label><inputtype="checkbox"id="ldap_turn_off_cert_check"name="ldap_turn_off_cert_check"title="<?phpp($l->t('If connection only works with this option, import the LDAP server\'s SSL certificate in your %s server.',$defaults->getName()));?>"data-default="<?phpp($_['ldap_turn_off_cert_check_default']);?>"value="1"><br/><small><?phpp($l->t('Not recommended, use for testing only.'));?></small></p>
<p><labelfor="ldap_cache_ttl"><?phpp($l->t('Cache Time-To-Live'));?></label><inputtype="number"id="ldap_cache_ttl"name="ldap_cache_ttl"title="<?phpp($l->t('in seconds. A change empties the cache.'));?>"data-default="<?phpp($_['ldap_cache_ttl_default']);?>"/></p>
</div>
<h3><?phpp($l->t('Directory Settings'));?></h3>
<div>
<p><labelfor="ldap_display_name"><?phpp($l->t('User Display Name Field'));?></label><inputtype="text"id="ldap_display_name"name="ldap_display_name"data-default="<?phpp($_['ldap_display_name_default']);?>"title="<?phpp($l->t('The LDAP attribute to use to generate the user`s ownCloud name.'));?>"/></p>
<p><labelfor="ldap_display_name"><?phpp($l->t('User Display Name Field'));?></label><inputtype="text"id="ldap_display_name"name="ldap_display_name"data-default="<?phpp($_['ldap_display_name_default']);?>"title="<?phpp($l->t('The LDAP attribute to use to generate the user'sdisplayname.'));?>"/></p>
<p><labelfor="ldap_base_users"><?phpp($l->t('Base User Tree'));?></label><textareaid="ldap_base_users"name="ldap_base_users"placeholder="<?phpp($l->t('One User Base DN per line'));?>"data-default="<?phpp($_['ldap_base_users_default']);?>"title="<?phpp($l->t('Base User Tree'));?>"></textarea></p>
<p><labelfor="ldap_attributes_for_user_search"><?phpp($l->t('User Search Attributes'));?></label><textareaid="ldap_attributes_for_user_search"name="ldap_attributes_for_user_search"placeholder="<?phpp($l->t('Optional; one attribute per line'));?>"data-default="<?phpp($_['ldap_attributes_for_user_search_default']);?>"title="<?phpp($l->t('User Search Attributes'));?>"></textarea></p>
<p><labelfor="ldap_group_display_name"><?phpp($l->t('Group Display Name Field'));?></label><inputtype="text"id="ldap_group_display_name"name="ldap_group_display_name"data-default="<?phpp($_['ldap_group_display_name_default']);?>"title="<?phpp($l->t('The LDAP attribute to use to generate the groups`s ownCloud name.'));?>"/></p>
<p><labelfor="ldap_group_display_name"><?phpp($l->t('Group Display Name Field'));?></label><inputtype="text"id="ldap_group_display_name"name="ldap_group_display_name"data-default="<?phpp($_['ldap_group_display_name_default']);?>"title="<?phpp($l->t('The LDAP attribute to use to generate the groups'sdisplayname.'));?>"/></p>
<p><labelfor="ldap_base_groups"><?phpp($l->t('Base Group Tree'));?></label><textareaid="ldap_base_groups"name="ldap_base_groups"placeholder="<?phpp($l->t('One Group Base DN per line'));?>"data-default="<?phpp($_['ldap_base_groups_default']);?>"title="<?phpp($l->t('Base Group Tree'));?>"></textarea></p>
<p><labelfor="ldap_attributes_for_group_search"><?phpp($l->t('Group Search Attributes'));?></label><textareaid="ldap_attributes_for_group_search"name="ldap_attributes_for_group_search"placeholder="<?phpp($l->t('Optional; one attribute per line'));?>"data-default="<?phpp($_['ldap_attributes_for_group_search_default']);?>"title="<?phpp($l->t('Group Search Attributes'));?>"></textarea></p>
<pclass="ldapIndent"><?phpp($l->t('By default the internal username will be created from the UUID attribute. It makes sure that the username is unique and characters do not need to be converted. The internal username has the restriction that only these characters are allowed: [ a-zA-Z0-9_.@- ]. Other characters are replaced with their ASCII correspondence or simply omitted. On collisions a number will be added/increased. The internal username is used to identify a user internally. It is also the default name for the user home folder in ownCloud. It is also a port of remote URLs, for instance for all *DAV services. With this setting, the default behaviour can be overriden. To achieve a similar behaviour as before ownCloud 5 enter the user display name attribute in the following field. Leave it empty for default behaviour. Changes will have effect only on newly mapped (added) LDAP users.'));?></p>
<pclass="ldapIndent"><?phpp($l->t('By default the internal username will be created from the UUID attribute. It makes sure that the username is unique and characters do not need to be converted. The internal username has the restriction that only these characters are allowed: [ a-zA-Z0-9_.@- ]. Other characters are replaced with their ASCII correspondence or simply omitted. On collisions a number will be added/increased. The internal username is used to identify a user internally. It is also the default name for the user home folder. It is also a part of remote URLs, for instance for all *DAV services. With this setting, the default behavior can be overridden. To achieve a similar behavior as before ownCloud 5 enter the user display name attribute in the following field. Leave it empty for default behavior. Changes will have effect only on newly mapped (added) LDAP users.'));?></p>
<pclass="ldapIndent"><?phpp($l->t('By default, ownCloud autodetects the UUID attribute. The UUID attribute is used to doubtlessly identify LDAP users and groups. Also, the internal username will be created based on the UUID, if not specified otherwise above. You can override the setting and pass an attribute of your choice. You must make sure that the attribute of your choice can be fetched for both users and groups and it is unique. Leave it empty for default behaviour. Changes will have effect only on newly mapped (added) LDAP users and groups.'));?></p>
<pclass="ldapIndent"><?phpp($l->t('By default, the UUID attribute is automatically detected. The UUID attribute is used to doubtlessly identify LDAP users and groups. Also, the internal username will be created based on the UUID, if not specified otherwise above. You can override the setting and pass an attribute of your choice. You must make sure that the attribute of your choice can be fetched for both users and groups and it is unique. Leave it empty for default behavior. Changes will have effect only on newly mapped (added) LDAP users and groups.'));?></p>
<p><strong><?phpp($l->t('Username-LDAP User Mapping'));?></strong></p>
<pclass="ldapIndent"><?phpp($l->t('ownCloud uses usernames to store and assign (meta) data. In order to precisely identify and recognize users, each LDAP user will have a internal username. This requires a mapping from ownCloud username to LDAP user. The created username is mapped to the UUID of the LDAP user. Additionally the DN is cached as well to reduce LDAP interaction, but it is not used for identification. If the DN changes, the changes will be found by ownCloud. The internal ownCloud name is used all over in ownCloud. Clearing the Mappings will have leftovers everywhere. Clearing the Mappings is not configuration sensitive, it affects all LDAP configurations! Do never clear the mappings in a production environment. Only clear mappings in a testing or experimental stage.'));?></p>
<pclass="ldapIndent"><?phpp($l->t('Usernames are used to store and assign (meta) data. In order to precisely identify and recognize users, each LDAP user will have a internal username. This requires a mapping from username to LDAP user. The created username is mapped to the UUID of the LDAP user. Additionally the DN is cached as well to reduce LDAP interaction, but it is not used for identification. If the DN changes, the changes will be found. The internal username is used all over. Clearing the mappings will have leftovers everywhere. Clearing the mappings is not configuration sensitive, it affects all LDAP configurations! Never clear the mappings in a production environment, only in a testing or experimental stage.'));?></p>
<pclass="ldapIndent"><buttonid="ldap_action_clear_user_mappings"name="ldap_action_clear_user_mappings"><?phpp($l->t('Clear Username-LDAP User Mapping'));?></button><br/><buttonid="ldap_action_clear_group_mappings"name="ldap_action_clear_group_mappings"><?phpp($l->t('Clear Groupname-LDAP Group Mapping'));?></button></p>
<br/><?phpp($l->t('ownCloud will send the user credentials to this URL. This plugin checks the response and will interpret the HTTP statuscodes 401 and 403 as invalid credentials, and all other responses as valid credentials.'));?>
<br/><?phpp($l->t('The user credentials will be sent to this address. This plugin checks the response and will interpret the HTTP statuscodes 401 and 403 as invalid credentials, and all other responses as valid credentials.'));?>
<p><?phpp($l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.'));?><br>
<?phpprint_unescaped($l->t('For information how to properly configure your server, please see the <a href="http://doc.owncloud.org/server/5.0/admin_manual/installation.html" target="_blank">documentation</a>.'));?></p>
<?phpprint_unescaped($l->t(
'For information how to properly configure your server, please see the <ahref="%s"target="_blank">documentation</a>.',
<?phpp($l->t('Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.'));?>
<?phpp($l->t('Your data directory and your files are probably accessible from the internet. The .htaccess file is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.'));?>
</span>
</fieldset>
@ -32,7 +32,7 @@ if (!$_['isWebDavWorking']) {
<spanclass="securitywarning">
<?phpp($l->t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.'));?>
<?phpprint_unescaped($l->t('Please double check the <a href=\'%s\'>installation guides</a>.','http://doc.owncloud.org/server/5.0/admin_manual/installation.html'));?>
<?phpprint_unescaped($l->t('Please double check the <a href="%s">installation guides</a>.',$defaults->getDocBaseUrl().'/server/5.0/admin_manual/installation.html'));?>
</span>
</fieldset>
@ -62,7 +62,7 @@ if (!$_['islocaleworking']) {
<spanclass="connectionwarning">
<?php
$locales = 'en_US.UTF-8/en_US.UTF8';
p($l->t('This ownCloud server can\'t set system locale to %s. This means that there might be problems with certain characters in file names. We strongly suggest to install the required packages on your system to support %s.', array($locales, $locales)));
p($l->t('System locale can\'t be set to %s. This means that there might be problems with certain characters in file names. We strongly suggest to install the required packages on your system to support %s.', array($locales, $locales)));
?>
</span>
@ -77,7 +77,7 @@ if (!$_['internetconnectionworking']) {
<legend><strong><?phpp($l->t('Internet connection not working'));?></strong></legend>
<spanclass="connectionwarning">
<?phpp($l->t('This ownCloud server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps don´t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features of ownCloud.'));?>
<?phpp($l->t('This server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps don´t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features.'));?>
</span>
</fieldset>
@ -110,7 +110,7 @@ if (!$_['internetconnectionworking']) {
<?phpprint_unescaped($l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.'));?>