metadata.php 1.4 KB

12345678910111213141516171819202122
  1. <?php
  2. $meta['server'] = array('string','_caution' => 'danger');
  3. $meta['port'] = array('numeric','_caution' => 'danger');
  4. $meta['usertree'] = array('string','_caution' => 'danger');
  5. $meta['grouptree'] = array('string','_caution' => 'danger');
  6. $meta['userfilter'] = array('string','_caution' => 'danger');
  7. $meta['groupfilter'] = array('string','_caution' => 'danger');
  8. $meta['version'] = array('numeric','_caution' => 'danger');
  9. $meta['starttls'] = array('onoff','_caution' => 'danger');
  10. $meta['referrals'] = array('multichoice','_choices' => array(-1,0,1),'_caution' => 'danger');
  11. $meta['deref'] = array('multichoice','_choices' => array(0,1,2,3),'_caution' => 'danger');
  12. $meta['binddn'] = array('string','_caution' => 'danger');
  13. $meta['bindpw'] = array('password','_caution' => 'danger','_code'=>'base64');
  14. $meta['attributes'] = array('array');
  15. //$meta['mapping']['name'] unsupported in config manager
  16. //$meta['mapping']['grps'] unsupported in config manager
  17. $meta['userscope'] = array('multichoice','_choices' => array('sub','one','base'),'_caution' => 'danger');
  18. $meta['groupscope'] = array('multichoice','_choices' => array('sub','one','base'),'_caution' => 'danger');
  19. $meta['userkey'] = array('string','_caution' => 'danger');
  20. $meta['groupkey'] = array('string','_caution' => 'danger');
  21. $meta['debug'] = array('onoff','_caution' => 'security');
  22. $meta['modPass'] = array('onoff');