-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc
64 lines (55 loc) · 1.29 KB
/
config.inc
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
const LDAP_URI = "ldap://ldap.cluenet.org";
#const LDAP_URI = "ldap://localhost:3890";
const LDAP_STARTTLS = false;
const BASE_DN = "dc=cluenet,dc=org";
const SASL_REALM = "CLUENET.ORG";
#const BIND_DN = false;
#const BIND_PASS = false;
require "config.inc.local";
const ENABLE_CLUEPOINTS = true;
const CB_SERVER = "virgule.cluenet.org";
const CB_PORT = 58945;
$SingleAttributes = array(
'cluesignupinfo',
'clueircnick',
'cluegender',
'cluebirthyear',
'suspendedpassword',
'pgpkeyid',
'occupation',
'timezone',
'school',
'cluenotes',
'givenname',
'c',
'st', ## ?
'mail',
'sn',
'uidnumber',
'gidnumber',
'homedirectory',
'krbprincipalname',
'gecos',
'loginshell',
'cn',
);
# Ignority level
# 0: display in info
# 1: display only in the full tab
const DISPLAY_ALWAYS = 0;
const DISPLAY_EXTENDED = 1;
$AllAttributes = array(
'labeleduri' => array( 1, "Internet addresses" ),
'mail' => array( 0, "Email" ),
'altemail' => array( 1, "Alternate email" ),
'pgpkeyid' => array( 1, "PGP key ID" ),
'telephonenumber' => array( 1, "Phone" ),
'contactinfo' => array( 1, "Other" ),
'c' => array( 0, "Country" ),
'st' => array( 1, "State" ),
'l' => array( 1, "Location" ),
'postaladdress' => array( 1, "Address" ),
'spokenlanguage' => array( 1, "Spoken languages" ),
);
?>