diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-02-17 11:44:34 -0800 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-02-17 11:44:34 -0800 |
commit | 063de86b1d9417547f0a1f3dc91f7b9dab088bfc (patch) | |
tree | 8186d48cedef371eac4d4c3def2e1e6a8228cc5c /lib/plugins/authldap | |
parent | 91328684db89e336404aff4644f8a53a1db64cad (diff) | |
parent | 5ebd6fd9156e1bc9b63132f3ec5989856e5a45a1 (diff) | |
download | rpg-063de86b1d9417547f0a1f3dc91f7b9dab088bfc.tar.gz rpg-063de86b1d9417547f0a1f3dc91f7b9dab088bfc.tar.bz2 |
Merge pull request #181 from splitbrain/authpluginconfig
Auth plugin config
Diffstat (limited to 'lib/plugins/authldap')
-rw-r--r-- | lib/plugins/authldap/conf/default.php | 20 | ||||
-rw-r--r-- | lib/plugins/authldap/conf/metadata.php | 1 | ||||
-rw-r--r-- | lib/plugins/authldap/lang/en/settings.php | 3 |
3 files changed, 19 insertions, 5 deletions
diff --git a/lib/plugins/authldap/conf/default.php b/lib/plugins/authldap/conf/default.php index 35971d41d..d07f9c82e 100644 --- a/lib/plugins/authldap/conf/default.php +++ b/lib/plugins/authldap/conf/default.php @@ -1,7 +1,19 @@ <?php -$conf['port'] = 389; - -$conf['groupkey'] = 'cn'; +$conf['server'] = ''; +$conf['port'] = 389; +$conf['usertree'] = ''; +$conf['grouptree'] = ''; +$conf['userfilter'] = ''; +$conf['groupfilter'] = ''; +$conf['version'] = 2; +$conf['starttls'] = 0; +$conf['referrals'] = 0; +$conf['binddn'] = ''; +$conf['bindpw'] = ''; +//$conf['mapping']['name'] unsupported in config manager +//$conf['mapping']['grps'] unsupported in config manager $conf['userscope'] = 'sub'; -$conf['groupscope'] = 'sub';
\ No newline at end of file +$conf['groupscope'] = 'sub'; +$conf['groupkey'] = 'cn'; +$conf['debug'] = array('onoff');
\ No newline at end of file diff --git a/lib/plugins/authldap/conf/metadata.php b/lib/plugins/authldap/conf/metadata.php index e0815f789..fc5b2e63c 100644 --- a/lib/plugins/authldap/conf/metadata.php +++ b/lib/plugins/authldap/conf/metadata.php @@ -14,4 +14,5 @@ $meta['bindpw'] = array('password'); //$meta['mapping']['grps'] unsupported in config manager $meta['userscope'] = array('multichoice','_choices' => array('sub','one','base')); $meta['groupscope'] = array('multichoice','_choices' => array('sub','one','base')); +$meta['groupkey'] = array('string'); $meta['debug'] = array('onoff');
\ No newline at end of file diff --git a/lib/plugins/authldap/lang/en/settings.php b/lib/plugins/authldap/lang/en/settings.php index cc9143169..0bb397be5 100644 --- a/lib/plugins/authldap/lang/en/settings.php +++ b/lib/plugins/authldap/lang/en/settings.php @@ -12,4 +12,5 @@ $lang['binddn'] = 'DN of an ptional bind user if anonymous bind is not suff $lang['bindpw'] = 'Password of above user'; $lang['userscope'] = 'Limit search scope for user search'; $lang['groupscope'] = 'Limit search scope for group search'; -$lang['debug'] = 'Display additional debug information on errors';
\ No newline at end of file +$lang['groupkey'] = 'Group member ship from any user attribute (instead of standard AD groups) e.g. group from department or telephone number'; +$lang['debug'] = 'Display additional debug information on errors'; |