forked from liberkee/openldapjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
148 lines (148 loc) · 3.86 KB
/
config.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"ldapAuthentication": {
"host": "ldap://localhost:389",
"dnAdmin": "cn=admin,dc=demoApp,dc=com",
"dnUser": "cn=managerUser,ou=users,o=myhost,dc=demoApp,dc=com",
"dnUserNoRight": "cn=simpleUser,ou=users,o=myhost,dc=demoApp,dc=com",
"passwordAdmin": "secret",
"passwordUser": "secret",
"pathFileToCert": "/etc/ssl/certs/ca_certificates.pem"
},
"ldapExtendedOperation": {
"oid": {
"startTLS": "1.3.6.1.4.1.1466.20037",
"changePassword": "1.3.6.1.4.1.4203.1.11.1",
"cancelRequest": "1.3.6.1.1.8",
"refresh": "1.3.6.1.4.1.1466.101.119.1",
"whoAmI": "1.3.6.1.4.1.4203.1.11.3"
}
},
"ldapChangePassword": {
"user": "cn=managerUser,ou=users,o=myhost,dc=demoApp,dc=com",
"oldPasswd": "secret",
"newPasswd": "secret"
},
"ldapModify": {
"ldapModificationUpdate": {
"change_dn": "cn=managerUser,ou=users,o=myhost,dc=demoApp,dc=com",
"operation": "update",
"attribute": "description",
"vals": [
{
"oldVal": "1Modification",
"newVal": "1NewModification"
},
{
"oldVal": "2Modification",
"newVal": "2NewModification"
},
{
"oldVal": "3Modification",
"newVal": "3NewModification"
}
]
},
"ldapModificationReplace": {
"change_dn": "cn=simpleUser,ou=users,o=myhost,dc=demoApp,dc=com",
"operation": "replace",
"attribute": "description",
"vals": [
"1Modification",
"2Modification",
"3Modification"
]
},
"ldapModificationAdd": {
"change_dn": "cn=simpleUser,ou=users,o=myhost,dc=demoApp,dc=com",
"operation": "add",
"attribute": "description",
"vals": [
"4Modification",
"5Modification",
"6Modification"
]
},
"ldapModificationDelete": {
"change_dn": "cn=simpleUser,ou=users,o=myhost,dc=demoApp,dc=com",
"operation": "delete",
"attribute": "description",
"vals": [
"4Modification",
"5Modification",
"6Modification"
]
}
},
"ldapControls": {
"ldapModificationControlPostRead": {
"oid": "1.3.6.1.1.13.2",
"value": [
"entryCSN",
"entryUUID"
],
"isCritical": false
},
"ldapModificationControlPreRead": {
"oid": "1.3.6.1.1.13.1",
"value": [
"cn",
"sn"
],
"isCritical": false
}
},
"ldapAdd": {
"dnNewEntry": ",cn=newPoint,ou=users,o=myhost,dc=demoApp,dc=com",
"dnNewEntryAdmin": ",dc=demoApp,dc=com",
"rdnUser": "cn=testUsersAdd",
"firstAttr": {
"attr": "objectClass",
"vals": [
"person"
]
},
"secondAttr": {
"attr": "sn",
"vals": [
"Entry"
]
},
"lastAttr": {
"attr": "description",
"vals": [
"Tesst1",
"Tesst2",
"weCanAddMultipleVals"
]
}
},
"ldapRename": {
"dnChange": "cn=renameTestUser,ou=users,o=myhost,dc=demoApp,dc=com",
"newrdn": "cn=testRenameUser",
"newparent": "ou=users,o=myhost,dc=demoApp,dc=com"
},
"ldapCompare": {
"attribute": "cn",
"value": "admin",
"invalidUser": "cn=simpleUser,ou=user55s,o=myhost,dc=demoApp,dc=com",
"invalidPassword": "wrongPass"
},
"ldapSearch": {
"searchBase": "dc=demoApp,dc=com",
"searchBaseUser": "ou=users,o=myhost,dc=demoApp,dc=com",
"rdnUser": "cn=simpleUser",
"filterObjAll": "objectclass=*",
"filterObjSpecific": "objectclass=aliens",
"filterObjSpecific2": "objectClass=simpleSecurityObject",
"filterObjSpecific3": "objectClass=inetOrgPerson",
"nrOfResults": 10000,
"pageSize": 10
},
"ldapDelete": {
"rdnUser": "cn=testUsersDelete",
"dn": ",cn=newPoint,ou=users,o=myhost,dc=demoApp,dc=com"
},
"ldapTestEntries": {
"entryDn": "cn=newPoint,ou=users,o=myhost,dc=demoApp,dc=com"
}
}