diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2015-02-09 09:40:24 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2015-02-09 09:40:24 +0100 |
commit | d75d76b237162cf89dcc8f56703ec0607ed27fdb (patch) | |
tree | 26a780b2e33959bea0d5b7bea87a7f1c3074e558 /lib/plugins/authldap/conf | |
parent | 4c32d8dc4120e5a2667564b4108b3708986ea47e (diff) | |
download | rpg-d75d76b237162cf89dcc8f56703ec0607ed27fdb.tar.gz rpg-d75d76b237162cf89dcc8f56703ec0607ed27fdb.tar.bz2 |
fix referral settings in AuthLDAP. closes #1023
Diffstat (limited to 'lib/plugins/authldap/conf')
-rw-r--r-- | lib/plugins/authldap/conf/default.php | 2 | ||||
-rw-r--r-- | lib/plugins/authldap/conf/metadata.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/authldap/conf/default.php b/lib/plugins/authldap/conf/default.php index 2c295eeeb..c2e462c5c 100644 --- a/lib/plugins/authldap/conf/default.php +++ b/lib/plugins/authldap/conf/default.php @@ -8,7 +8,7 @@ $conf['userfilter'] = ''; $conf['groupfilter'] = ''; $conf['version'] = 2; $conf['starttls'] = 0; -$conf['referrals'] = 0; +$conf['referrals'] = -1; $conf['deref'] = 0; $conf['binddn'] = ''; $conf['bindpw'] = ''; diff --git a/lib/plugins/authldap/conf/metadata.php b/lib/plugins/authldap/conf/metadata.php index 6aa53c40d..4649ba5bf 100644 --- a/lib/plugins/authldap/conf/metadata.php +++ b/lib/plugins/authldap/conf/metadata.php @@ -7,7 +7,7 @@ $meta['userfilter'] = array('string','_caution' => 'danger'); $meta['groupfilter'] = array('string','_caution' => 'danger'); $meta['version'] = array('numeric','_caution' => 'danger'); $meta['starttls'] = array('onoff','_caution' => 'danger'); -$meta['referrals'] = array('onoff','_caution' => 'danger'); +$meta['referrals'] = array('multichoice','_choices' => array(-1,0,1),'_caution' => 'danger'); $meta['deref'] = array('multichoice','_choices' => array(0,1,2,3),'_caution' => 'danger'); $meta['binddn'] = array('string','_caution' => 'danger'); $meta['bindpw'] = array('password','_caution' => 'danger'); |