-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
520 lines (411 loc) · 23.9 KB
/
index.html
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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
<html>
<head>
<title>Tableau Identity Store Configuration Tool</title>
</head>
<body class="bg-light">
<div class="container">
<ul class="nav nav-tabs" id="menu" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="start-tab" data-toggle="tab" href="#start" role="tab" aria-controls="start"
aria-selected="true">Start</a>
</li>
<li class="nav-item">
<a class="nav-link" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="false">Basic
Connection</a>
</li>
<li class="nav-item">
<a class="nav-link" id="kerberos-tab" data-toggle="tab" href="#kerberos" role="tab" aria-controls="kerberos"
aria-selected="false">Kerberos Connection</a>
</li>
<li class="nav-item">
<a class="nav-link" id="user-tab" data-toggle="tab" href="#user" role="tab" aria-controls="user" aria-selected="false">User
Query</a>
</li>
<li class="nav-item">
<a class="nav-link" id="group-tab" data-toggle="tab" href="#group" role="tab" aria-controls="group"
aria-selected="false">Group Query</a>
</li>
<li class="nav-item">
<a class="nav-link" id="misc-tab" data-toggle="tab" href="#misc" role="tab" aria-controls="misc" aria-selected="false">Miscellaneous</a>
</li>
<li class="nav-item">
<a class="nav-link" id="finalize-tab" data-toggle="tab" href="#finalize" role="tab" aria-controls="finalize"
aria-selected="false">Finalize</a>
</li>
</ul>
<div class="py-5 text-center">
<div class="col-md-8 order-md-1 mx-auto">
<h2>Tableau Identity Store Configuration Tool</h2>
<p class="lead">Configure your LDAP settings for Tableau 2018.3+ and output them in either a JSON Config file
for
installation or TSM commands for adjusting settings.</p>
</div>
</div>
<div class="alert alert-warning alert-dismissible fade show" role="alert" style="display:none;">
<div id="alertText">
placeholder
</div>
<button type="button" class="close" aria-label="Close" id="dismissAlert">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="tab-content">
<div class="tab-pane active" id="start" role="tabpanel" aria-labelledby="start-tab">
<div class="col-md-8 order-md-1 mx-auto">
<div class="mb-3">
<h3>Short Instructions</h3>
Full instructions are in the <a href="https://github.com/tagyoureit/tableau-identitystore-config-tool/tree/gh-pages">README.md</a>
<ol>
<li>
<b>Brand new installation</b>
<br>
If you are starting a brand new configuration and want to create an LDAP template then press the big
blue
button to get started and will be able to create a new template.
</li>
<li>
<b>Modifying or troubleshooting LDAP configurations</b>
<br>
If your LDAP configuration is not correctly connecting or retrieving groups/users you can use this tool
to make changes and output the TSM commands to configure Tableau.
</li>
</ol>
</div>
<form class="needs-validation" id='uploadform' novalidate>
<div class="custom-control custom-radio">
<input id="startScratch" name="uploadSelect" type="radio" class="custom-control-input" value='scratch'
checked required>
<label class="custom-control-label" for="startScratch">Start from scratch</label>
</div>
<div class="custom-control custom-radio">
<input id="uploadYml" name="uploadSelect" type="radio" class="custom-control-input" value='uploadYml'
required>
<label class="custom-control-label" for="uploadYml">Paste settings from JSON import file or workgroup.yml</label>
</div>
<!--
<div class="custom-control custom-radio">
<input id="uploadJSON" name="uploadSelect" type="radio" class="custom-control-input" value='uploadConfig'
required>
<label class="custom-control-label" for="uploadJSON">NOT IMPLEMENTED YET. Paste settings from JSON import
*directions needed*</label>
</div>
-->
<textarea class="form-control" rows="5" id="upload" style="display: none;"></textarea>
</form>
<button class="btn btn-primary btn-sm" id="uploadBtn" style="display: none;">Load settings</button>
<button class="btn btn-primary btn-lg btn-block mt-3" id='uploadFormSubmit'>Go to Basic Connection
Information</button>
</div>
</div>
<div class="tab-pane" id="home" role="tabpanel" aria-labelledby="home-tab">
<div class="col-md-8 order-md-1 mx-auto" id="basicConnection">
<h4 class="mb-3">LDAP Connection Settings</h4>
<form class="needs-validation" id='idstoreform' novalidate>
<div class="mb-3">
<label for="domain">LDAP Domain</label>
<input type="text" class="form-control" id="domain" placeholder="mycompany.com" required>
<div class="invalid-feedback" style="width: 100%;">
The LDAP domain is required.
</div>
</div>
<div class="mb-3">
<label for="root">Root <span class="text-muted" id="rootnote">(Will populate from Domain)</span>
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="This is the LDAP Root. If you do not use a dc component in the LDAP root or you want to specify a more complex root you need to set the LDAP root. Use the 'o=my,u=root' format. For example, for the domain, example.lan, the root would be 'o=example,u=lan'.">
</label>
<input type="text" class="form-control" id="root" placeholder="If not dc=mycompany,dc=com enter your root entry.">
<div class="invalid-feedback">
Please enter a valid root.
</div>
</div>
<div class="mb-3">
<label for="hostname">LDAP Server Address
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="This is the LDAP Server address. Most often it will be in the standard dot notation but an ip address is also valid.">
</label>
<input type="text" class="form-control" id="hostname" placeholder="ldap.mycompany.com" required>
<div class="invalid-feedback">
Please enter your valid LDAP serer address.
</div>
</div>
<div class="row">
<div class="col-md-6 mb-3">
<label for="communicationsType">Binding Port</label>
<div class="custom-control custom-radio">
<input id="port" name="communicationsType" type="radio" class="custom-control-input" value='port'
checked required>
<label class="custom-control-label" for="port">Simple Bind</label>
</div>
<div class="custom-control custom-radio">
<input id="sslPort" name="communicationsType" type="radio" class="custom-control-input" value='sslPort'
required>
<label class="custom-control-label" for="sslPort">LDAPS/Secure (SSL)</label>
</div>
</div>
<div class="col-md-6 mb-3">
<div class="mb-3" id="portNumberDiv">
<label for="portNumber">Port Number<span class="text-muted" id="portnote">(Default standard port is
389)</span></label>
<input type="number" class="form-control" id="portNumber" value="389" required>
<div class="invalid-feedback" style="width: 100%;">
Port is required.
</div>
</div>
<div class="mb-3" id="sslPortNumberDiv" style="display: none;">
<label for="sslPortNumber">Port Number<span class="text-muted" id="portnote">(Default LDAPS is 636)</span></label>
<input type="number" class="form-control" id="sslPortNumber" value="" required>
<div class="invalid-feedback" style="width: 100%;">
Port is required.
</div>
<label>Security certificates must be installed for LDAPS. See Help for <a href="https://onlinehelp.tableau.com/current/server-linux/en-us/plan_identity_store.htm#LDAP" target="_blank">Linux</a> or <a href="https://onlinehelp.tableau.com/current/server/en-us/plan_identity_store.htm#LDAP" target="_blank">Windows</a>.</label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 mb-3">
<label for="username">LDAP User Name</label>
<input type="text" class="form-control" id="username" placeholder="username" required>
<div class="invalid-feedback">
Name is required
</div>
</div>
<div class="col-md-6 mb-3">
<label for="password">Password
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="If you do not want to input the password here, you can edit it in the config file when you download it.">
</label>
<input type="password" class="form-control" id="password" name="password" placeholder="password (see tooltip)"
required>
<div class="invalid-feedback">
Password is required
</div>
<label class="text-muted" for="passwordToggle">Show/Hide Password</label>
<input type="checkbox" id="passwordToggle">
</div>
</div>
</form>
<button class="btn btn-primary btn-lg btn-block" id='idstoreformSubmit'>Continue to Kerberos Connection
Information</button>
</div>
</div>
<div class="tab-pane" id="kerberos" role="tabpanel" aria-labelledby="kerberos-tab">
<div class="col-md-8 order-md-1 mx-auto id=" basicConnection">
<h4 class="mb-3">Kerberos Settings</h4>
<form class="needs-validation" id='kerberosform' novalidate>
<div class="col-md-6 mb-3">
Are you using Kerberos?
<div class="custom-control custom-radio">
<input id="noKerberos" name="enableKerberos" type="radio" class="custom-control-input" value='No'
checked required>
<label class="custom-control-label" for="noKerberos">Not using Kerberos</label>
</div>
<div class="custom-control custom-radio">
<input id="yesKerberos" name="enableKerberos" type="radio" class="custom-control-input" value='Yes'
required>
<label class="custom-control-label" for="yeskerberos">Using Kerberos</label>
</div>
</div>
<div class="mb-3">
<label for="bind">Binding Type:</label>
<input type="text" class="form-control" id="bind" value="simple" readonly>
</div>
<div id='kerberosEnabledGroup' style="display: none;" class="mb-3">
<label for="kerberosPrincipal">What is the Kerberos Principal?</label>
<input type="text" class="form-control" id="kerberosPrincipal" placeholder="[email protected]">
</form>
<div class="mt-3">See documentation for importing Config and Keytab file. <a href='https://onlinehelp.tableau.com/current/server/en-us/config_kerberos.htm'>Configure
Kerberos</a></a></div>
</div>
<button class="btn btn-primary btn-lg btn-block" id='kerberosFormSubmit'>Continue to User Query/Filter
Information</button>
</div>
</div>
<div class="tab-pane" id="user" role="tabpanel" aria-labelledby="user-tab">
<div class="col-md-8 order-md-1 mx-auto">
<h4 class="mb-3">User Centric Settings</h4>
<form class="needs-validation" id='userform' novalidate>
<div class="mb-3">
<label for="userBaseDn">User Base DN <span class="text-muted" id="userBaseDnNote">(Must include overall
root.)</span>
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="If your groups are stored in a different base organization, please specify it here (eg o=groups).">
</label>
<input type="text" class="form-control" id="userBaseDn" value="o=users">
</div>
<div class="mb-3">
<label for="userBaseFilter">User Base Filter</span>
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="Should there be a filter that limits what groups are returned/available to Tableau Server?">
</label>
<input type="text" class="form-control" id="userBaseFilter" value="(objectClass=inetOrgPerson)">
</div>
<div class="mb-3">
<label for="userClassNames">Class Names <span class="text-muted">(Optional)</span>
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="If your group object classes don't contain "group" then specify the classnames here (eg "group1, group2"). If your userClass names include commas, you must escape them with a backslash (\). For example, if you have a group name, 'Names, top', then enter "Names\, top"
">
</label>
<input type="text" class="form-control" id="userClassNames" placeholder="userclass1, userclass2">
</div>
<div class="mb-3">
<label for="userdnAttribute">Distinguised Name
</label>
<input type="text" class="form-control" id="userdnAttribute" value="dn">
</div>
<div class="mb-3">
<label for="userUsername">Username</label>
<input type="text" class="form-control" id="userUsername" value="user">
</div>
<h5 class="mb-3">Attributes</h5>
<div class="mb-3">
<label for="userDisplayName">Display Name<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="userDisplayName" placeholder="displayname">
</div>
<div class="mb-3">
<label for="userEmail">Email<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="userEmail" placeholder="email">
</div>
<div class="mb-3">
<label for="userCertificate">Certificate<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="userCertificate" placeholder="certificate">
</div>
<div class="mb-3">
<label for="userThumbnail">Thumbnail<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="userThumbnail" placeholder="thumb">
</div>
<div class="mb-3">
<label for="userJpegPhoto">JPEG Photo<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="userJpegPhoto" placeholder="photo">
</div>
<div class="mb-3">
<label for="userMemberOf">Member Of<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="userMemberOf" placeholder="">
</div>
</form>
<button class="btn btn-primary btn-lg btn-block" id='userFormSubmit'>Continue to Group Settings</button>
</div>
</div>
<div class="tab-pane" id="group" role="tabpanel" aria-labelledby="group-tab">
<div class="col-md-8 order-md-1 mx-auto">
<h4 class="mb-3">Group Centric Settings</h4>
<form class="needs-validation" id='groupform' novalidate>
<div class="mb-3">
<label for="groupBaseDn">Group Base DN <span class="text-muted" id='groupBaseDnNote'>(This must include the
overall root.)</span>
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="If your groups are stored in a different base organization, please specify it here (eg o=groups).">
</label>
<input type="text" class="form-control" id="groupBaseDn" value="o=groups">
</div>
<div class="mb-3">
<label for="groupBaseFilter">Group Base Filter</span>
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="Should there be a filter that limits what groups are returned/available to Tableau Server?">
</label>
<input type="text" class="form-control" id="groupBaseFilter" value="(objectClass=groupofNames)">
</div>
<div class="mb-3">
<label for="groupClassNames">Class Names <span class="text-muted">(Optional)</span>
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title="If your group object classes don't contain "group" then specify the classnames here (eg "group1, group2").">
</label>
<input type="text" class="form-control" id="groupClassNames" placeholder="groupclass1, groupclass2">
</div>
<h5 class="mb-3">Attributes</h5>
<div class="mb-3">
<label for="groupGroupname">Group Name
<img src="images/info.png" alt="Info" data-toggle="tooltip" data-placement="top" title=" If your group names include commas, you must escape them with a backslash (\). For example, if you have a group name, 'groupOfNames, top', then enter "groupOfNames\, top""
.>
</label>
<input type="text" class="form-control" id="groupGroupname" value="groupname">
</div>
<div class="mb-3">
<label for="groupEmail">Email<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="groupEmail" placeholder="groupemail">
</div>
<div class="mb-3">
<label for="groupDescription">Description<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="groupDescription" placeholder="groupdescription">
</div>
<div class="mb-3">
<label for="groupMember">Member<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="groupMember" placeholder="member">
</div>
</form>
<button class="btn btn-primary btn-lg btn-block" id='groupFormSubmit'>Continue to Miscellaneou Settings</button>
</div>
</div>
<div class="tab-pane" id="misc" role="tabpanel" aria-labelledby="misc-tab">
<div class="col-md-8 order-md-1 mx-auto">
<h4 class="mb-3">Miscellaneous Settings</h4>
<form class="needs-validation" id='miscform' novalidate>
<div class="mb-3">
<label for="rangeRetrieval">Range Retrieval<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="rangeRetrieval" placeholder="false">
</div>
<div class="mb-3">
<label for="membersRetrievalPageSize">Page Retrieval Size<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="membersRetrievalPageSize" placeholder="1500">
</div>
<div class="mb-3">
<label for="serverSideSorting">Server Side Sorting<span class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="serverSideSorting" placeholder="false">
</div>
</form>
<button class="btn btn-primary btn-lg btn-block" id='miscFormSubmit'>Continue to Finalize</button>
</div>
</div>
<div class="tab-pane" id="finalize" role="tabpanel" aria-labelledby="finalize-tab">
<div class="col-md-8 order-md-1 mx-auto">
<h4 class="mb-3">Finalize - You made it!</h4>
<div class="mb-3">
<form class="needs-validation" id='finalizeform' novalidate>
<div class="custom-control custom-radio">
<input id="configOutput" name="outputSelect" type="radio" class="custom-control-input" value='config'
checked required>
<label class="custom-control-label" for="configOutput">View configuration file for install</label>
</div>
<div class="custom-control custom-radio">
<input id="tsmOutputAllRadio" name="outputSelect" type="radio" class="custom-control-input" value='tsmAll'
required>
<label class="custom-control-label" for="tsmOutputAllRadio">View All TSM commands </label>
</div>
<div class="custom-control custom-radio">
<input id="tsmOutputChangedRadio" name="outputSelect" type="radio" class="custom-control-input" value='tsmChanged'
required>
<label class="custom-control-label" for="tsmOutputChangedRadio">View only TSM commands for values that
have changed</label>
</div>
</form>
</div>
<div class="form-group" id="copyConfigDiv">
<label for="output">Copy the settings below into a file for import with Tableau, or
<a href='#' id="download">download</a> a file.
</label>
<textarea class="form-control" rows="50" id="output" readonly></textarea>
</div>
<div class="form-group" id="copyTSMAllDiv" style="display: none;">
<label for="tsmOutputAll">Copy/paste the relevant commands into your terminal window, or
<a href='#' id="downloadTSMAll">download</a> a file.
</label>
<textarea class="form-control" rows="50" id="tsmOutputAll" readonly></textarea>
</div>
<div class="form-group" id="copyTSMChangedDiv" style="display: none;">
<label for="tsmOutputChanged">Copy/paste the relevant commands into your terminal window, or
<a href='#' id="downloadTSMChanged">download</a> a file.
</label>
<textarea class="form-control" rows="50" id="tsmOutputChanged" readonly></textarea>
</div>
</div>
</div>
</div>
<footer class="my-5 pt-5 text-muted text-center text-small">
<p class="mb-1">This open source tool is not supported by Tableau. Report bugs via the project’s <a href="https://github.com/tagyoureit/tableau-identitystore-config-tool/issues">issue tracker.</a></p>
</footer>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- include Bootstrap CDN Files-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="main.js"></script>
</body>
</html>