diff options
author | Sascha Klopp <klopp@rrzn.uni-hannover.de> | 2015-03-03 11:09:21 +0100 |
---|---|---|
committer | Sascha Klopp <klopp@rrzn.uni-hannover.de> | 2015-03-03 11:09:21 +0100 |
commit | 6619ddf4b04390e1d1273dd79bd16bfb9eb6cf89 (patch) | |
tree | 48f65999d6ec45e5cedf376b2693b8b6518c38c0 /lib/plugins/authldap/conf | |
parent | 2f63e920cb57e8162f5460d01717e827e74ea8de (diff) | |
download | rpg-6619ddf4b04390e1d1273dd79bd16bfb9eb6cf89.tar.gz rpg-6619ddf4b04390e1d1273dd79bd16bfb9eb6cf89.tar.bz2 |
Two new authldap config options: 'userkey' denotes the LDAP
attribute holding the username, 'modPass' allows to disable
password changing by the user.
Diffstat (limited to 'lib/plugins/authldap/conf')
-rw-r--r-- | lib/plugins/authldap/conf/default.php | 4 | ||||
-rw-r--r-- | lib/plugins/authldap/conf/metadata.php | 4 |
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'); |