選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

config-me.inc.php 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. /**
  3. * Sample configuration file with default values
  4. *
  5. * @package Poweradmin
  6. * @copyright 2007-2010 Rejo Zenger <rejo@zenger.nl>
  7. * @copyright 2010-2014 Poweradmin Development Team
  8. * @license http://opensource.org/licenses/GPL-3.0 GPL
  9. */
  10. // NOTE: Do not edit this file, otherwise it's very likely your changes
  11. // will be overwritten with an upgrade.
  12. // Instead, create the file "inc/config.inc.php" and set the variables you
  13. // want to set there. Your changes will override the defaults provided by us.
  14. // Better description of available configuration settings you can find here:
  15. // <https://github.com/poweradmin/poweradmin/wiki/Configuration-File>
  16. // Database settings
  17. $db_host = '';
  18. $db_port = '';
  19. $db_user = '';
  20. $db_pass = '';
  21. $db_name = '';
  22. $db_type = '';
  23. //$db_file = ''; # used only for SQLite, provide full path to database file
  24. //$db_debug = false; # show all SQL queries
  25. $db_layer = 'PDO'; # or MDB2
  26. //$db_ssl_ca = '';
  27. // Security settings
  28. // This should be changed upon install
  29. $session_key = 'p0w3r4dm1n';
  30. $password_encryption = 'md5'; // or md5salt
  31. // Interface settings
  32. $iface_lang = 'en_EN';
  33. $iface_style = 'example';
  34. $iface_rowamount = 50;
  35. $iface_expire = 1800;
  36. $iface_zonelist_serial = false;
  37. $iface_title = 'Poweradmin';
  38. $iface_add_reverse_record = true;
  39. // Predefined DNS settings
  40. $dns_hostmaster = '';
  41. $dns_ns1 = '';
  42. $dns_ns2 = '';
  43. $dns_ttl = 86400;
  44. $dns_fancy = false;
  45. $dns_strict_tld_check = false;
  46. $dns_top_level_tld_check = false; // Don't allow to create top level TLDs
  47. $dns_third_level_check = false;
  48. // Timezone settings
  49. // See <http://www.php.net/manual/en/timezones.php> for help.
  50. //$timezone = 'UTC';
  51. // Logging settings
  52. // Syslog usage - writes authentication attempts to syslog
  53. // This facility could be used in combination with fail2ban to
  54. // ban IPs with break-in attempts
  55. $syslog_use = false;
  56. $syslog_ident = 'poweradmin';
  57. // On Windows usually only LOG_USER is available
  58. $syslog_facility = LOG_USER;
  59. // PowerDNSSEC settings
  60. $pdnssec_use = false;
  61. $pdnssec_command = '/usr/bin/pdnssec';
  62. // LDAP settings
  63. $ldap_use = false;
  64. $ldap_debug = false;
  65. $ldap_uri = 'ldap://domaincontroller.example.com';
  66. $ldap_basedn = 'OU=Users,DC=example,DC=com';
  67. $ldap_binddn = 'GROUP\lookupuser';
  68. $ldap_bindpw = 'some_password';
  69. $ldap_user_attribute = 'sAMAccountName';
  70. $ldap_proto = 3;