-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.cfg
62 lines (51 loc) · 1.39 KB
/
config.cfg
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
#################
# glauth.conf
#################
# General configuration.
debug = true
#syslog = true
#################
# The frontend section controls how clients connect to the proxy.
[frontend]
tls = false # enable TLS for production!!
listen = "0.0.0.0:389"
#################
# The backend section controls the data store.
[backend]
datastore = "config"
baseDN = "dc=telia,dc=io"
#################
# The users section contains a hardcoded list of valid users.
# to create a passSHA256: echo -n "mysecret" | openssl dgst -sha256
[[users]]
name = "developer"
unixid = 5001
primarygroup = 5501
passsha256 = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" # password
[[users]]
name = "customer"
unixid = 5002
primarygroup = 5502
passsha256 = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" # password
[[users]]
name = "service"
unixid = 5003
primarygroup = 5503
passsha256 = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" # password
#################
# The groups section contains a hardcoded list of valid users.
[[groups]]
name = "developers"
unixid = 5501
[[groups]]
name = "users"
unixid = 5502
[[groups]]
name = "services"
unixid = 5503
#################
# Enable and configure the optional REST API here.
[api]
enabled = true
tls = false # enable TLS for production!!
listen = "0.0.0.0:5555"