]> git.proxmox.com Git - proxmox.git/blob - proxmox-ldap/tests/assets/glauth.cfg
ldap: add method for retrieving root DSE attributes
[proxmox.git] / proxmox-ldap / tests / assets / glauth.cfg
1 debug = true
2 [ldap]
3 enabled = true
4 listen = "0.0.0.0:3893"
5
6 [ldaps]
7 enabled = true
8 listen = "0.0.0.0:3894"
9 cert = "tests/assets/glauth.crt"
10 key = "tests/assets/glauth.key"
11
12
13
14 [backend]
15 datastore = "config"
16 baseDN = "dc=example,dc=com"
17 nameformat = "cn"
18 groupformat = "ou"
19 anonymousdse = true
20
21 # to create a passSHA256: echo -n "mysecret" | openssl dgst -sha256
22
23 [[users]]
24 name = "test1"
25 givenname="Test 1"
26 sn="User"
27 mail = "test1@example.com"
28 uidnumber = 1001
29 primarygroup = 1000
30 passsha256 = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" # password
31
32 [[users]]
33 name = "test2"
34 givenname="Test 2"
35 sn="User"
36 mail = "test2@example.com"
37 uidnumber = 1002
38 primarygroup = 1000
39 passsha256 = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" # password
40
41 [[users]]
42 name = "test3"
43 givenname="Test 3"
44 sn="User"
45 mail = "test3@example.com"
46 uidnumber = 1003
47 primarygroup = 1000
48 passsha256 = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" # password
49
50
51 [[users]]
52 name = "serviceuser"
53 mail = "serviceuser@example.com"
54 uidnumber = 1111
55 primarygroup = 1001
56 passsha256 = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" # password
57 [[users.capabilities]]
58 action = "search"
59 object = "*"
60
61 [[groups]]
62 name = "testgroup"
63 gidnumber = 1000
64
65 [[groups]]
66 name = "svcaccts"
67 gidnumber = 1001
68