summaryrefslogtreecommitdiff
path: root/lib/plugins/authldap/conf
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-03-16 17:19:59 +0100
committerAndreas Gohr <andi@splitbrain.org>2015-03-16 17:19:59 +0100
commit43d45fd5a6522de02938136a7120874bd4abada8 (patch)
tree1058f5cd717461762f1eda842e58d4173404864e /lib/plugins/authldap/conf
parentf39cc3cb7ee042e2e3fde60dae4335da1d9a8c2d (diff)
parent84f66e9f97ebf4d78ffaaad7a0b44f5c0180bfc9 (diff)
downloadrpg-43d45fd5a6522de02938136a7120874bd4abada8.tar.gz
rpg-43d45fd5a6522de02938136a7120874bd4abada8.tar.bz2
Merge pull request #1073 from sklrrzn/master
Add two config options to authldap
Diffstat (limited to 'lib/plugins/authldap/conf')
-rw-r--r--lib/plugins/authldap/conf/default.php4
-rw-r--r--lib/plugins/authldap/conf/metadata.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/plugins/authldap/conf/default.php b/lib/plugins/authldap/conf/default.php
index c2e462c5c..116cb9d3f 100644
--- a/lib/plugins/authldap/conf/default.php
+++ b/lib/plugins/authldap/conf/default.php
@@ -16,5 +16,7 @@ $conf['bindpw'] = '';
//$conf['mapping']['grps'] unsupported in config manager
$conf['userscope'] = 'sub';
$conf['groupscope'] = 'sub';
+$conf['userkey'] = 'uid';
$conf['groupkey'] = 'cn';
-$conf['debug'] = 0; \ No newline at end of file
+$conf['debug'] = 0;
+$conf['modPass'] = 1;
diff --git a/lib/plugins/authldap/conf/metadata.php b/lib/plugins/authldap/conf/metadata.php
index 4649ba5bf..a67b11ca6 100644
--- a/lib/plugins/authldap/conf/metadata.php
+++ b/lib/plugins/authldap/conf/metadata.php
@@ -15,5 +15,7 @@ $meta['bindpw'] = array('password','_caution' => 'danger');
//$meta['mapping']['grps'] unsupported in config manager
$meta['userscope'] = array('multichoice','_choices' => array('sub','one','base'),'_caution' => 'danger');
$meta['groupscope'] = array('multichoice','_choices' => array('sub','one','base'),'_caution' => 'danger');
+$meta['userkey'] = array('string','_caution' => 'danger');
$meta['groupkey'] = array('string','_caution' => 'danger');
-$meta['debug'] = array('onoff','_caution' => 'security'); \ No newline at end of file
+$meta['debug'] = array('onoff','_caution' => 'security');
+$meta['modPass'] = array('onoff');