Created
February 11, 2021 17:44
-
-
Save stephdl/c970babae3b19afd1302a59ae4f3e821 to your computer and use it in GitHub Desktop.
openldap config-site.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ns7loc11 ~]# cat /var/lib/docker/volumes/piler_piler_etc/_data/config-site.php | |
<?php | |
/* | |
# ================= DO NOT MODIFY THIS FILE ================= | |
# | |
# Manual changes will be lost when this file is regenerated. | |
# | |
# Please read the developer's guide, which is available | |
# at NethServer official site: https://www.nethserver.org | |
# | |
# | |
*/ | |
define('SITE_NAME_CONST', 'SITE_NAME'); | |
$config[SITE_NAME_CONST] = 'piler.nethservertest.org'; | |
$config['SITE_URL'] = 'https://ns7loc11.org/'; | |
$config['SMTP_DOMAIN'] = $config[SITE_NAME_CONST]; | |
$config['SMTP_FROMADDR'] = 'no-reply@' . $config[SITE_NAME_CONST]; | |
$config['ADMIN_EMAIL'] = 'admin@' . $config[SITE_NAME_CONST]; | |
$config['DB_PASSWORD'] = 'MYSQL_PASSWORD'; | |
$config['DECRYPT_BINARY'] = '/usr/bin/pilerget'; | |
$config['DECRYPT_ATTACHMENT_BINARY'] = '/usr/bin/pileraget'; | |
$config['PILER_BINARY'] = '/usr/sbin/piler'; | |
$config['DB_HOSTNAME'] = 'mysql'; | |
$config['DB_PASSWORD'] = 'ozN_22MF0XXgIJXl'; | |
$config['ENABLE_MEMCACHED'] = 1; | |
$memcached_server = ['memcached', 11211]; | |
$config['ENABLE_LDAP_AUTH'] = 1; | |
$config['LDAP_HOST'] = 'ldaps://ns7loc11.nethservertest.org'; | |
$config['LDAP_HELPER_DN'] = 'cn=ldapservice,dc=directory,dc=nh'; | |
$config['LDAP_HELPER_PASSWORD'] = 'V_85617fr2bK3Csj'; | |
$config['LDAP_MAIL_ATTR'] = 'uid'; | |
$config['LDAP_BASE_DN'] = 'dc=directory,dc=nh'; | |
$config['LDAP_ACCOUNT_OBJECTCLASS'] = 'posixAccount'; | |
$config['LDAP_DISTRIBUTIONLIST_ATTR'] = 'memberUid'; | |
$config['LDAP_DISTRIBUTIONLIST_OBJECTCLASS'] = 'posixGroup'; | |
// admin@domain.com is admin of piler | |
$config['LDAP_ADMIN_MEMBER_DN'] = 'uid=admin,ou=People,dc=directory,dc=nh'; | |
// members of PilerAuditor are auditors | |
$config['LDAP_AUDITOR_MEMBER_DN'] = 'cn=PilerAuditor,ou=Groups,dc=directory,dc=nh'; | |
$config['RESTORE_OVER_IMAP'] = 1; | |
$config['IMAP_RESTORE_FOLDER_INBOX'] = 'INBOX'; | |
$config['IMAP_RESTORE_FOLDER_SENT'] = 'Sent'; | |
$config['IMAP_HOST'] = 'ns7loc11.nethservertest.org'; | |
$config['IMAP_PORT'] = 993; | |
$config['IMAP_SSL'] = true; | |
$config['CAPTCHA_FAILED_LOGIN_COUNT'] = 3; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment