-
Notifications
You must be signed in to change notification settings - Fork 1
/
self-service-password.xml
365 lines (365 loc) · 19.2 KB
/
self-service-password.xml
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<?xml version="1.0"?>
<Container version="2">
<Name>self-service-password</Name>
<Repository>tiredofit/self-service-password</Repository>
<Registry>https://hub.docker.com/r/tiredofit/self-service-password/~/dockerfile/</Registry>
<Network>bridge</Network>
<MyIP/>
<Privileged>false</Privileged>
<Support>https://hub.docker.com/r/tiredofit/self-service-password/</Support>
<Project>https://ltb-project.org/documentation/self-service-password</Project>
<Overview>elf Service Password is a PHP application that allows users to change their password in an LDAP directory.

The application can be used on standard LDAPv3 directories (OpenLDAP, OpenDS, ApacheDS, Sun Oracle DSEE, Novell, etc.) and also on Active Directory. </Overview>
<Category/>
<WebUI>http://[IP]:[PORT:80]/</WebUI>
<TemplateURL>https://github.com/CHBMB/docker-templates/blob/master/self-service-password.xml</TemplateURL>
<Icon>https://raw.githubusercontent.com/CHBMB/docker-templates/master/img/ssp.png</Icon>
<ExtraParams/>
<PostArgs/>
<DonateText/>
<DonateLink/>
<Description>elf Service Password is a PHP application that allows users to change their password in an LDAP directory.

The application can be used on standard LDAPv3 directories (OpenLDAP, OpenDS, ApacheDS, Sun Oracle DSEE, Novell, etc.) and also on Active Directory. </Description>
<Networking>
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort/>
<ContainerPort>80</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir/>
<ContainerDir>/www/ssp</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir/>
<ContainerDir>/www/logs</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value/>
<Name>LDAP_SERVER</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>LDAP_STARTTLS</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>LDAP_BINDDN</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>LDAP_BINDPASS</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>LDAP_BASE_SEARCH</Name>
<Mode/>
</Variable>
<Variable>
<Value>uid</Value>
<Name>LDAP_LOGIN_ATTRIBUTE</Name>
<Mode/>
</Variable>
<Variable>
<Value>cn</Value>
<Name>LDAP_FULLNAME_ATTRIBUTE</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>ADMODE</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>AD_OPT_FORCE_UNLOCK</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>AD_OPT_FORCE_PWD_CHANGE</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>AD_OPT_CHANGE_EXPIRED_PASSWORD</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>SAMBA_MODE</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>SHADOW_OPT_UPDATE_SHADOWLASTCHANGE</Name>
<Mode/>
</Variable>
<Variable>
<Value>clear</Value>
<Name>PASSWORD_HASH</Name>
<Mode/>
</Variable>
<Variable>
<Value>0</Value>
<Name>PASSWORD_MIN_LENGTH</Name>
<Mode/>
</Variable>
<Variable>
<Value>0</Value>
<Name>PASSWORD_MAX_LENGTH</Name>
<Mode/>
</Variable>
<Variable>
<Value>0</Value>
<Name>PASSWORD_MIN_LOWERCASE</Name>
<Mode/>
</Variable>
<Variable>
<Value>0</Value>
<Name>PASSWORD_MIN_UPPERCASE</Name>
<Mode/>
</Variable>
<Variable>
<Value>0</Value>
<Name>PASSWORD_MIN_DIGIT</Name>
<Mode/>
</Variable>
<Variable>
<Value>0</Value>
<Name>PASSWORD_MIN_SPECIAL</Name>
<Mode/>
</Variable>
<Variable>
<Value>true</Value>
<Name>PASSWORD_NO_REUSE</Name>
<Mode/>
</Variable>
<Variable>
<Value>never</Value>
<Name>PASSWORD_SHOW_POLICY</Name>
<Mode/>
</Variable>
<Variable>
<Value>above</Value>
<Name>PASSWORD_SHOW_POLICY_POSITION</Name>
<Mode/>
</Variable>
<Variable>
<Value>user</Value>
<Name>WHO_CAN_CHANGE_PASSWORD</Name>
<Mode/>
</Variable>
<Variable>
<Value>true</Value>
<Name>QUESTIONS_ENABLED</Name>
<Mode/>
</Variable>
<Variable>
<Value>mail</Value>
<Name>LDAP_MAIL_ATTRIBUTE</Name>
<Mode/>
</Variable>
<Variable>
<Value>[email protected]</Value>
<Name>MAIL_FROM</Name>
<Mode/>
</Variable>
<Variable>
<Value>No Reply</Value>
<Name>MAIL_FROM_NAME</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>NOTIFY_ON_CHANGE</Name>
<Mode/>
</Variable>
<Variable>
<Value>0</Value>
<Name>SMTP_DEBUG</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>SMTP_HOST</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>SMTP_AUTH_ON</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>SMTP_USER</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>SMTP_PASS</Name>
<Mode/>
</Variable>
<Variable>
<Value>587</Value>
<Name>SMTP_PORT</Name>
<Mode/>
</Variable>
<Variable>
<Value>tls</Value>
<Name>SMTP_SECURE_TYPE</Name>
<Mode/>
</Variable>
<Variable>
<Value>images/ltb-logo.png</Value>
<Name>LOGO</Name>
<Mode/>
</Variable>
<Variable>
<Value>images/unsplash-space.jpg</Value>
<Name>BACKGROUND</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>USE_SMS</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>IS_BEHIND_PROXY</Name>
<Mode/>
</Variable>
<Variable>
<Value>true</Value>
<Name>SHOW_HELP</Name>
<Mode/>
</Variable>
<Variable>
<Value>en</Value>
<Name>LANG</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>DEBUG_MODE</Name>
<Mode/>
</Variable>
<Variable>
<Value>secret</Value>
<Name>SECRETEKEY</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>USE_RECAPTCHA</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>RECAPTCHA_PUB_KEY</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>RECAPTCHA_PRIV_KEY</Name>
<Mode/>
</Variable>
<Variable>
<Value>light</Value>
<Name>RECAPTCHA_THEME</Name>
<Mode/>
</Variable>
<Variable>
<Value>image</Value>
<Name>RECAPTCHA_TYPE</Name>
<Mode/>
</Variable>
<Variable>
<Value>small</Value>
<Name>RECAPTCHA_SIZE</Name>
<Mode/>
</Variable>
<Variable>
<Value>change</Value>
<Name>DEFAULT_ACTION</Name>
<Mode/>
</Variable>
<Variable>
<Value>true</Value>
<Name>USE_TOKENS</Name>
<Mode/>
</Variable>
</Environment>
<Labels/>
<Config Name="Host Port 1" Target="80" Default="" Mode="tcp" Description="Container Port: 80" Type="Port" Display="always" Required="false" Mask="false"/>
<Config Name="/www/ssp" Target="/www/ssp" Default="" Mode="rw" Description="Root SelfService Password Directory" Type="Path" Display="always" Required="false" Mask="false"/>
<Config Name="/www/logs" Target="/www/logs" Default="" Mode="rw" Description="Nginx and php-fpm logfiles" Type="Path" Display="always" Required="false" Mask="false"/>
<Config Name="LDAP_SERVER" Target="LDAP_SERVER" Default="" Mode="" Description="Ldap server. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="LDAP_STARTTLS" Target="LDAP_STARTTLS" Default="" Mode="" Description="Enable TLS on Ldap bind. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="LDAP_BINDDN" Target="LDAP_BINDDN" Default="" Mode="" Description="Ldap bind dn. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="LDAP_BINDPASS" Target="LDAP_BINDPASS" Default="" Mode="" Description="Ldap bind password. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="LDAP_BASE_SEARCH" Target="LDAP_BASE_SEARCH" Default="" Mode="" Description="Base where we can search for users. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="LDAP_LOGIN_ATTRIBUTE" Target="LDAP_LOGIN_ATTRIBUTE" Default="uid" Mode="" Description="Ldap property used for user searching. Defaults to uid" Type="Variable" Display="always" Required="false" Mask="false">uid</Config>
<Config Name="LDAP_FULLNAME_ATTRIBUTE" Target="LDAP_FULLNAME_ATTRIBUTE" Default="cn" Mode="" Description="Ldap property to get user fullname. Defaults to cn" Type="Variable" Display="always" Required="false" Mask="false">cn</Config>
<Config Name="ADMODE" Target="ADMODE" Default="false" Mode="" Description="Specifies if LDAP server is Active Directory LDAP server. If your LDAP server is AD, set this to true. Defaults to false" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="AD_OPT_FORCE_UNLOCK" Target="AD_OPT_FORCE_UNLOCK" Default="false" Mode="" Description="Force account unlock when password is changed. Default to false." Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="AD_OPT_FORCE_PWD_CHANGE" Target="AD_OPT_FORCE_PWD_CHANGE" Default="false" Mode="" Description="Force user change password at next login. Defaults to false." Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="AD_OPT_CHANGE_EXPIRED_PASSWORD" Target="AD_OPT_CHANGE_EXPIRED_PASSWORD" Default="false" Mode="" Description="Allow user with expired password to change password. Defaults to false." Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="SAMBA_MODE" Target="SAMBA_MODE" Default="false" Mode="" Description="Samba mode, if is true update sambaNTpassword and sambaPwdLastSet attributes too; if is false just update the password. Defaults to false." Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="SHADOW_OPT_UPDATE_SHADOWLASTCHANGE" Target="SHADOW_OPT_UPDATE_SHADOWLASTCHANGE" Default="false" Mode="" Description="If true update shadowLastChange. Defaults to false." Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="PASSWORD_HASH" Target="PASSWORD_HASH" Default="clear" Mode="" Description="Hash mechanism for password SSHA SHA SMD5 MD5 CRYPT clear (the default) auto (will check the hash of current password) This option is not used with ad_mode = true" Type="Variable" Display="always" Required="false" Mask="false">clear</Config>
<Config Name="PASSWORD_MIN_LENGTH" Target="PASSWORD_MIN_LENGTH" Default="0" Mode="" Description="Minimal length. Defaults to 0 (unchecked)." Type="Variable" Display="always" Required="false" Mask="false">0</Config>
<Config Name="PASSWORD_MAX_LENGTH" Target="PASSWORD_MAX_LENGTH" Default="0" Mode="" Description="Maximal length. Defaults to 0 (unchecked)." Type="Variable" Display="always" Required="false" Mask="false">0</Config>
<Config Name="PASSWORD_MIN_LOWERCASE" Target="PASSWORD_MIN_LOWERCASE" Default="0" Mode="" Description="Minimal lower characters. Defaults to 0 (unchecked)." Type="Variable" Display="always" Required="false" Mask="false">0</Config>
<Config Name="PASSWORD_MIN_UPPERCASE" Target="PASSWORD_MIN_UPPERCASE" Default="0" Mode="" Description="Minimal upper characters. Defaults to 0 (unchecked)." Type="Variable" Display="always" Required="false" Mask="false">0</Config>
<Config Name="PASSWORD_MIN_DIGIT" Target="PASSWORD_MIN_DIGIT" Default="0" Mode="" Description="Minimal digit characters. Defaults to 0 (unchecked)." Type="Variable" Display="always" Required="false" Mask="false">0</Config>
<Config Name="PASSWORD_MIN_SPECIAL" Target="PASSWORD_MIN_SPECIAL" Default="0" Mode="" Description="Minimal special characters. Defaults to 0 (unchecked)." Type="Variable" Display="always" Required="false" Mask="false">0</Config>
<Config Name="PASSWORD_NO_REUSE" Target="PASSWORD_NO_REUSE" Default="true" Mode="" Description="Don't reuse the same password as currently. Defaults to true." Type="Variable" Display="always" Required="false" Mask="false">true</Config>
<Config Name="PASSWORD_SHOW_POLICY" Target="PASSWORD_SHOW_POLICY" Default="never" Mode="" Description="Show policy constraints message always never onerror. Defaults to never" Type="Variable" Display="always" Required="false" Mask="false">never</Config>
<Config Name="PASSWORD_SHOW_POLICY_POSITION" Target="PASSWORD_SHOW_POLICY_POSITION" Default="above" Mode="" Description="Position of password policy constraints message above below - the form. Defaults to above" Type="Variable" Display="always" Required="false" Mask="false">above</Config>
<Config Name="WHO_CAN_CHANGE_PASSWORD" Target="WHO_CAN_CHANGE_PASSWORD" Default="user" Mode="" Description="Who changes the password? Also applicable for question/answer save user: the user itself manager: the above binddn. Defaults to user" Type="Variable" Display="always" Required="false" Mask="false">user</Config>
<Config Name="QUESTIONS_ENABLED" Target="QUESTIONS_ENABLED" Default="true" Mode="" Description="Use questions/answers? true or false. Defaults to true" Type="Variable" Display="always" Required="false" Mask="false">true</Config>
<Config Name="LDAP_MAIL_ATTRIBUTE" Target="LDAP_MAIL_ATTRIBUTE" Default="mail" Mode="" Description="LDAP mail attribute. Defaults to mail" Type="Variable" Display="always" Required="false" Mask="false">mail</Config>
<Config Name="MAIL_FROM" Target="MAIL_FROM" Default="[email protected]" Mode="" Description="Who the email should come from. Defaults to [email protected]" Type="Variable" Display="always" Required="false" Mask="false">[email protected]</Config>
<Config Name="MAIL_FROM_NAME" Target="MAIL_FROM_NAME" Default="No Reply" Mode="" Description="Name for MAIL_FROM. Defaults to No Reply" Type="Variable" Display="always" Required="false" Mask="false">No Reply</Config>
<Config Name="NOTIFY_ON_CHANGE" Target="NOTIFY_ON_CHANGE" Default="false" Mode="" Description="Notify users anytime their password is changed. Defaults to false" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="SMTP_DEBUG" Target="SMTP_DEBUG" Default="0" Mode="" Description="SMTP debug mode (following https://github.com/PHPMailer/PHPMailer instructions). Defaults to 0" Type="Variable" Display="always" Required="false" Mask="false">0</Config>
<Config Name="SMTP_HOST" Target="SMTP_HOST" Default="" Mode="" Description="SMTP host. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="SMTP_AUTH_ON" Target="SMTP_AUTH_ON" Default="false" Mode="" Description="Force smtp auth with SMTP_USER and SMTP_PASS. Defaults to false" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="SMTP_USER" Target="SMTP_USER" Default="" Mode="" Description="SMTP user. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="SMTP_PASS" Target="SMTP_PASS" Default="" Mode="" Description="SMTP password. No default." Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="SMTP_PORT" Target="SMTP_PORT" Default="587" Mode="" Description="SMTP port. Defaults to 587" Type="Variable" Display="always" Required="false" Mask="false">587</Config>
<Config Name="SMTP_SECURE_TYPE" Target="SMTP_SECURE_TYPE" Default="tls" Mode="" Description="SMTP secure type to use. ssl or tls. Defaults to tls" Type="Variable" Display="always" Required="false" Mask="false">tls</Config>
<Config Name="LOGO" Target="LOGO" Default="images/ltb-logo.png" Mode="" Description="Main Logo - Default images/ltb-logo.png" Type="Variable" Display="always" Required="false" Mask="false">images/ltb-logo.png</Config>
<Config Name="BACKGROUND" Target="BACKGROUND" Default="images/unsplash-space.jpg" Mode="" Description="Change background Default images/unsplash-space.jpg" Type="Variable" Display="always" Required="false" Mask="false">images/unsplash-space.jpg</Config>
<Config Name="USE_SMS" Target="USE_SMS" Default="false" Mode="" Description="Enable sms notify. (Disabled on this image). Defaults to false" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="IS_BEHIND_PROXY" Target="IS_BEHIND_PROXY" Default="false" Mode="" Description="Enable reset url parameter to accept reverse proxy. Defaults to false" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="SHOW_HELP" Target="SHOW_HELP" Default="true" Mode="" Description="Display help messages. Defaults to true" Type="Variable" Display="always" Required="false" Mask="false">true</Config>
<Config Name="LANG" Target="LANG" Default="en" Mode="" Description="Language (NOT WORKING YET). Defaults to en." Type="Variable" Display="always" Required="false" Mask="false">en</Config>
<Config Name="DEBUG_MODE" Target="DEBUG_MODE" Default="false" Mode="" Description="Debug mode. Defaults to false." Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="SECRETEKEY" Target="SECRETEKEY" Default="secret" Mode="" Description="Encryption, decryption keyphrase. Defaults to secret." Type="Variable" Display="always" Required="false" Mask="false">secret</Config>
<Config Name="USE_RECAPTCHA" Target="USE_RECAPTCHA" Default="false" Mode="" Description="Use Google reCAPTCHA http://www.google.com/recaptcha Defaults to false" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="RECAPTCHA_PUB_KEY" Target="RECAPTCHA_PUB_KEY" Default="" Mode="" Description="Go on the site to get public key" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="RECAPTCHA_PRIV_KEY" Target="RECAPTCHA_PRIV_KEY" Default="" Mode="" Description="Go on the site to get private key" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="RECAPTCHA_THEME" Target="RECAPTCHA_THEME" Default="light" Mode="" Description="Theme of ReCaptcha. Default: light" Type="Variable" Display="always" Required="false" Mask="false">light</Config>
<Config Name="RECAPTCHA_TYPE" Target="RECAPTCHA_TYPE" Default="image" Mode="" Description="Type of ReCaptcha Default: image" Type="Variable" Display="always" Required="false" Mask="false">image</Config>
<Config Name="RECAPTCHA_SIZE" Target="RECAPTCHA_SIZE" Default="small" Mode="" Description="Size of ReCaptcha Default: small" Type="Variable" Display="always" Required="false" Mask="false">small</Config>
<Config Name="DEFAULT_ACTION" Target="DEFAULT_ACTION" Default="change" Mode="" Description="Default actionchange sendtoken sendsms. Defaults to change" Type="Variable" Display="always" Required="false" Mask="false">change</Config>
<Config Name="USE_TOKENS" Target="USE_TOKENS" Default="" Mode="" Description="Use email to send reset tokens. Defaults to true" Type="Variable" Display="always" Required="false" Mask="false">true</Config>
</Container>