-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig-example.php
More file actions
28 lines (22 loc) · 851 Bytes
/
Copy pathconfig-example.php
File metadata and controls
28 lines (22 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*
Copy this example file to a new file called 'config.php'
and replace with your own parameters
*/
/* LDAP connection parameters */
define("LDAP_ADDRESS", "ldap://exampleldap.company.com/");
define("LDAP_PORT", 389);
define("LDAP_BIND", "uid=somebinduser,dc=company,dc=com");
define("LDAP_BIND_PASSWORD", "somebindpassword");
/* LDAP group DN */
/* LDAP_BASE_GROUP should be groupOfUniqueNames in LDAP */
define("LDAP_BASE_GROUP", "ou=Groups,dc=company,dc=com");
define("LDAP_FILTER_GROUP", "cn=*");
/* LDAP users */
define("LDAP_BASE_INDIVIDUAL", "ou=Users,dc=company,dc=com");
define("LDAP_FILTER_INDIVIDUAL", "uid=");
/* Server interface for outgoing connections (used by iptables) */
define("SERVER_INTERFACE", "eth0");
/* OpenVPN management interface */
define("SERVER_MGMT_ADDRESS", "127.0.0.1");
define("SERVER_MGMT_PORT", "1337");