Skip to content
Snippets Groups Projects
Select Git revision
  • 069562f1e92d93712ec0f68ef63c276389e22192
  • master default protected
2 results

tasks.py

Blame
  • Forked from protokollsystem / proto3
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    local.protected.php.j2 950 B
    <?php
    
    {% if item.ad %}
    $conf['authtype'] = 'authad';
    $conf['plugin']['authad']['account_suffix'] = '@{{ item.ad_domain }}';
    $conf['plugin']['authad']['base_dn'] = '{{ item.ad_basedn }}';
    $conf['plugin']['authad']['domain_controllers'] = '{{ item.ad_controller }}';
    $conf['plugin']['authad']['admin_username'] = '{{ item.ad_user }}';
    $conf['plugin']['authad']['admin_password'] = '{{ item.ad_password }}';
    $conf['plugin']['authad']['use_tls'] = 1;
    $conf['plugin']['authad']['recursive_groups'] = '1';
    $conf['plugin']['authad']['update_mail'] = 0;
    $conf['disableactions'] = 'register,profile_delete,resendpwd';
    $conf['superuser'] = '{{ item.ad_superuser }}';
    $conf['manager'] = '{{ item.ad_manager }}';
    {% endif %}
    
    $conf['passcrypt'] = 'ssha';
    $conf['mailfrom'] = '{{ item.mail }}';
    $conf['htmlmail'] = 0;
    $conf['userewrite'] = '1';
    $conf['gzip_output'] = 1;
    $conf['xsendfile'] = 0;
    $conf['updatecheck'] = 0;
    $conf['useacl'] = 1;
    $conf['phpok'] = 0;