diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-02-28 14:11:51 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-02-28 14:12:53 +0100 |
commit | de642697bb6c8bd6d04ca2c946bae2fe63418e23 (patch) | |
tree | 8be88cb34afc713d2c5441db2b85c13388e0dac7 /apps/user_ldap/templates | |
parent | d1c3aa3112b363f84d721e9fce299d24833cbe7e (diff) | |
download | nextcloud-server-de642697bb6c8bd6d04ca2c946bae2fe63418e23.tar.gz nextcloud-server-de642697bb6c8bd6d04ca2c946bae2fe63418e23.zip |
make LDAP filter for user list configurable
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r-- | apps/user_ldap/templates/settings.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index 5bbd5d4008d..99af275525d 100644 --- a/apps/user_ldap/templates/settings.php +++ b/apps/user_ldap/templates/settings.php @@ -7,7 +7,8 @@ <label for="ldap_password"><?php echo $l->t('Password');?></label><input type="password" id="ldap_password" name="ldap_password" value="<?php echo $_['ldap_password']; ?>" /> <small><?php echo $l->t('Leave both empty for anonymous bind for search, then bind with users credentials.');?></small></p> <p><label for="ldap_base"><?php echo $l->t('Base');?></label><input type="text" id="ldap_base" name="ldap_base" value="<?php echo $_['ldap_base']; ?>" /> - <label for="ldap_filter"><?php echo $l->t('Filter (use %%uid placeholder)');?></label><input type="text" id="ldap_filter" name="ldap_filter" value="<?php echo $_['ldap_filter']; ?>" /></p> + <label for="ldap_login_filter"><?php echo $l->t('Filter (use %%uid placeholder)');?></label><input type="text" id="ldap_login_filter" name="ldap_login_filter" value="<?php echo $_['ldap_login_filter']; ?>" /> + <label for="ldap_userlist_filter"><?php echo $l->t('Filter to retrieve user list (without any placeholder)');?></label><input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter" value="<?php echo $_['ldap_userlist_filter']; ?>" /><small><?php echo $l->t('For example "objectClass=person".');?> </p> <p><label for="ldap_display_name"><?php echo $l->t('Display Name Field');?></label><input type="text" id="ldap_display_name" name="ldap_display_name" value="<?php echo $_['ldap_display_name']; ?>" /> <small><?php echo $l->t('Currently the display name field needs to be the same you matched %%uid against in the filter above, because ownCloud doesn\'t distinguish between user id and user name.');?></small></p> <p><input type="checkbox" id="ldap_tls" name="ldap_tls" value="1"<?php if ($_['ldap_tls']) echo ' checked'; ?>><label for="ldap_tls"><?php echo $l->t('Use TLS');?></label></p> |