summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates/settings.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-08-28 14:24:31 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-08-28 14:24:50 +0200
commit42a996930481783af1a5a3fbbae18dc1201fbb0b (patch)
tree87198f8d4e39e89610d97f7396b70fe27f5c6156 /apps/user_ldap/templates/settings.php
parent549f69cbc1aafa13be6f011554ee82d26d814e52 (diff)
downloadnextcloud-server-42a996930481783af1a5a3fbbae18dc1201fbb0b.tar.gz
nextcloud-server-42a996930481783af1a5a3fbbae18dc1201fbb0b.zip
LDAP: implement getHome() function, use either username (default) or specify an LDAP attribute value to use
Diffstat (limited to 'apps/user_ldap/templates/settings.php')
-rw-r--r--apps/user_ldap/templates/settings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php
index 861c9ba6052..d1aaeedbdf9 100644
--- a/apps/user_ldap/templates/settings.php
+++ b/apps/user_ldap/templates/settings.php
@@ -27,6 +27,7 @@
<label for="ldap_quota_def">Quota Default</label><input type="text" id="ldap_quota_def" name="ldap_quota_def" value="<?php if (isset($_['ldap_quota_def'])) echo $_['ldap_quota_def']; ?>" title="<?php echo $l->t('in bytes');?>" /></p>
<p><label for="ldap_email_attr">Email Field</label><input type="text" id="ldap_email_attr" name="ldap_email_attr" value="<?php echo $_['ldap_email_attr']; ?>" /></p>
<p><label for="ldap_cache_ttl">Cache Time-To-Live</label><input type="text" id="ldap_cache_ttl" name="ldap_cache_ttl" value="<?php echo $_['ldap_cache_ttl']; ?>" title="<?php echo $l->t('in seconds. A change empties the cache.');?>" /></p>
+ <p><label for="home_folder_naming_rule">User Home Folder Naming Rule</label><input type="text" id="home_folder_naming_rule" name="home_folder_naming_rule" value="<?php echo $_['home_folder_naming_rule']; ?>" title="<?php echo $l->t('Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute.');?>" /></p>
</fieldset>
<input type="submit" value="Save" /> <button id="ldap_action_test_connection" name="ldap_action_test_connection">Test Configuration</button> <a href="http://owncloud.org/support/ldap-backend/" target="_blank"><img src="<?php echo OCP\Util::imagePath('','actions/info.png'); ?>" style="height:1.75ex" /> <?php echo $l->t('Help');?></a>
</div>