diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-05-07 19:31:51 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-05-07 19:31:51 +0200 |
commit | 498eae49b115787198a6b40cf92a3d02316be503 (patch) | |
tree | 6bae9eb8ccc12ead7a506958ee48150a0680008f /apps/user_ldap/templates | |
parent | 68ecee9771abb04402287ef6010e12608be4ddbd (diff) | |
download | nextcloud-server-498eae49b115787198a6b40cf92a3d02316be503.tar.gz nextcloud-server-498eae49b115787198a6b40cf92a3d02316be503.zip |
LDAP: prepare settings for internal username attribute and clearing user mappings
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r-- | apps/user_ldap/templates/settings.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index d3c2c298904..2d0a23e1a6f 100644 --- a/apps/user_ldap/templates/settings.php +++ b/apps/user_ldap/templates/settings.php @@ -3,6 +3,7 @@ <ul> <li><a href="#ldapSettings-1">LDAP Basic</a></li> <li><a href="#ldapSettings-2">Advanced</a></li> + <li><a href="#ldapSettings-3">Expert</a></li> </ul> <?php if(OCP\App::isEnabled('user_webdavauth')) { print_unescaped('<p class="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>'); @@ -96,6 +97,14 @@ </div> </div> </fieldset> + <fieldset id="ldapSettings-3"> + <p><strong><?php p($l->t('Internal Username'));?></strong></p> + <p class="ldapIndent"><?php p($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 to newly mapped (added) LDAP users.'));?></p> + <p class="ldapIndent"><label for="ldap_expert_uid_attr"><?php p($l->t('Internal Username Attribute:'));?></label><input type="text" id="ldap_expert_uid_attr" name="ldap_expert_uid_attr" data-default="<?php p($_['ldap_expert_uid_attr_default']); ?>" /></p> + <p><strong><?php p($l->t('Username-LDAP User Mapping'));?></strong></p> + <p class="ldapIndent"><?php p($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. Do never clear the mappings in a production environment. Only clear mappings in a testing or experimental stage.' ));?></p> + <p class="ldapIndent"><button id="ldap_action_clear_mappings" name="ldap_action_clear_mappings"><?php p($l->t('Clear Username-LDAP User Mapping'));?></button></p> + </fieldset> <input id="ldap_submit" type="submit" value="Save" /> <button id="ldap_action_test_connection" name="ldap_action_test_connection"><?php p($l->t('Test Configuration'));?></button> <a href="http://doc.owncloud.org/server/5.0/admin_manual/auth_ldap.html" target="_blank"><img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>" style="height:1.75ex" /> <?php p($l->t('Help'));?></a> </div> |