This file is indexed.

/usr/share/web2ldap/htdocs/faq.html is in web2ldap 1.1.43~dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<!DOCTYPE html>
<html>

  <head>

    <title>web2ldap - FAQ</title>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <meta name="author" content="Michael Str&ouml;der <michael@stroeder.com>">
    <meta name="description" content="web2ldap: Frequently Asked Questions">
    <meta name="keywords" content="LDAP LDAPv2 LDAPv3 subschema gateway Python python-ldap Directory userCertificate PKI LDIF DSML">
    <meta name="robots" content="INDEX,FOLLOW">
    <meta name="revisit-after" content="5 days">
    <meta name="publisher" content="stroeder.com">
    <meta name="generator" content="hand-made, home-brewed">
    <meta http-equiv="x-frame-options" content="deny">

    <!--CSS einbinden-->
    <link rel="stylesheet" type="text/css" media="screen" href="css/web2ldap.de-screen.css">
    <style type="text/css" media="all">
    @import "css/screen.css";
    </style>

    <link rel="author" href="http://www.stroeder.com">
    <link rel="license" href="http://www.stroeder.com" title="Copyright by Michael Str&ouml;der <michael@stroeder.com>">

    <script type="text/javascript">
      <!--
       if(top.frames.length > 0)
        top.location.href=self.location;
      //-->
    </script>

  </head>

  <body lang="en">


<header>

  <nav>
    <div id="navigation">
      <p>
        <a href="web2ldap.html">Main</a> //
        <a href="download.html">Download</a> /
        <a href="features.html">Features</a> /
        <a href="roadmap.html">Roadmap</a> /
        <a href="news.html">News</a> /
        <a href="demo.html">Demo</a> /
        <a href="related.html">Related</a>
      </p>
      <p>
        <a href="support.html">Support</a> //
        <a href="http://www.stroeder.com">Commercial</a> /
        <a href="feedback.html">Feedback</a> /
        <a href="faq.html">FAQ</a>
      </p>
      <p>
        <a href="docs.html">Documentation</a> //
        <a href="install.html">Installing</a> /
        <a href="usability.html">Customizing UI</a> /
        <a href="web2ldapcnf.html">Configuration</a> /
        <a href="compability.html">Compability</a> /
        <a href="security.html">Security</a> /
        <a href="changes.html">Changes</a> /
        <a href="files.html">Files</a>
      </p>
    </div>
  </nav>

  <hgroup>
    <h1>
      FAQ
    </h1>
    <h2>
      Frequently Asked Questions
    </h2>
  </hgroup>

</header>


<h2>Installation</h2>

<dl>

  <dt>
    <var>SyntaxError:</var> ...
  </dt>
  <dd>
    You are probably running a wrong Python version or the configuration module
    is screwed up.<br>
    See <a href="install.html#Prerequisites">required software</a>
    before starting web2ldap.
  </dd>

  <dt>
    <var>ImportError: No module named...</var>
  </dt>
  <dd>
    A required module was not found.
    Install all <a href="install.html#Prerequisites">required software</a>
    before starting web2ldap. You can check with the script <var>sbin/checkinst.py</var>
    whether all needed software is installed.
  </dd>

  <dt>
    I've installed some packages coming with my <var>favourite Linux
    distribution</var> and get strange errors with...
  </dt>
  <dd>
    Please check whether packages coming with your distribution
    match the <em>version</em> of <a href="install.html#Prerequisites">
    required software</a> before starting web2ldap.
  </dd>

  <dt>
    I have started web2ldap in stand-alone mode. It runs and accessing it
    from localhost works but I cannot access it over my network.
    What is wrong?
  </dt>
  <dd>
    <p>
      For security reasons web2ldap does not bind to every interface
      in your system as default like other network demons do. You have
      to explicitly bind to a specific network interface by using
      command line option -l.<br>
      <kbd>
      web2ldap -l my.public.ether.addr:port
      </kbd></p>
      You can enable binding to all interfaces by
      <p><kbd>
      web2ldap -l 0.0.0.0:port
      </kbd>
    </p>
    <p>
      Since <a href="changes.html#0.11.20">web2ldap 0.11.20</a> there is
      a stand-alone configuration option
      <a href="web2ldapcnf_standalone.html#bind_address">
      web2ldapcnf.standalone.bind_address</a> for this purpose.
    </p>
    <p>
      Also watch out for stand-alone configuration option
      <a href="web2ldapcnf_standalone.html#access_allowed">
      web2ldapcnf.standalone.access_allowed</a> which limits the client's
      IP addresses allowed to access the built-in web server.
    </p>
  </dd>

  <dt>
    Is it possible to run web2ldap under Windows (Win32)?
  </dt>
  <dd>
    Yes. You have to grab a Win32 build of
    <a href="http://www.python-ldap.org/download.shtml">
    python-ldap</a>.
  </dd>

  <dt>
    <code>NameError: global name 'threading' is not defined</code>
  </dt>
  <dd>
    Your Python interpreter seems to have thread support disabled.
    You can solve that by building Python with <code>configure
    --with-threads</code>.
  </dd>

  <dt>
    I experience problems with session hijacking detection when
    accessing web2ldap through a web proxy or using HTTPS.
  </dt>
  <dd>
    Check out configuration parameter
    <a href="web2ldapcnf_misc.html#session_checkvars">web2ldapcnf.misc.session_checkvars</a>
    and especially read the note about <var>REMOTE_ADDR</var> and <var>REMOTE_HOST</var>.
    Also if using HTTPS check whether SSL session caching is correctly configured
    for  your web server because <var>SSL_SESSION_ID</var> is also cross-checked.
  </dd>

</dl>

<h2>Customizing</h2>

<p>
  See also extra page <a href="usability.html">customizing UI</a>.
</p>

<dl>

  <dt>
    I want to avoid displaying the raw DNs in the search
    result table. How to do that?
  </dt>
  <dd>
    There are several possibilities:
    <ul>
      <li>
        Use configuration parameter
        <a href="web2ldapcnf_hosts.html#search_tablistattrs">search_tablistattrs</a>.
      </li>
      <li>
        Use configuration parameter
        <a href="web2ldapcnf_hosts.html#search_tdtemplate">search_tdtemplate</a>.
      </li>
      <li>
        Add the attribute <var>displayName</var> to your LDAP entry if
        appropriate in your schema (e.g. in object class <var>inetOrgPerson</var>).
      </li>
    </ul>
  </dd>

  <dt>
    I would like to setup some automatically filled fields. E.g.
    automatically set the <em>cn</em> (common name) attribute with
    the concatenation of values of the attributes
    <em>givenName</em> and <em>sn</em> (surname).
  </dt>
  <dd>
    <p>There are two ways of achieving something like this:</p>
    <ul>
      <li>
        Use LDIF templates for defining defaults for attributes when
        adding new entries (see host-/backend-specific paramter
        <a href="web2ldapcnf_hosts.html#addform_entry_templates">addform_entry_templates</a>).
      </li>
      <li>
        Implement a <a href="usability.html#plugin_classes">plug-in class</a>
        for the attribute type.
      </li>
    </ul>
  </dd>

  <dt>
    I would like to define a "select" item for certain input fields.
  </dt>
  <dd>
    This can be easily done by defining a plug-in class based on
    base class <var>w2lapp.schema.syntaxes.SelectList</var>
    and register it as a LDAP syntax handler or explicitly for an attribute type.
    A simple example can be found in file
    <var>pylib/w2lapp/schema/plugins/msperson.py</var>.
    In some cases the select list can also be defined based
    on LDAP URLs specifying a dynamic result set used for select options.
  </dd>

  <dt>
    How to customize the HTML output to use different colors,
    different font size, etc.?
  </dt>
  <dd>
    Customization of layout can be done by defining a CSS file
    (<a href="http://www.w3.org/Style/CSS/">cascaded
    style sheet</a>). Almost all important HTML elements have own
    <em>id</em> or <em>class</em> attributes which can be used to
    define their appearance.
    Have a look at the example CSS files shipped with the source
    distribution package.
  </dd>

</dl>

<h2>User Interface</h2>

<dl>

  <dt>
    I would like to upload a photo, a certificate or other binary
    attribute data. Is that possible?
  </dt>
  <dd>
    Yes. But up to now only a single value is supported per attribute.
    Uploading multiple binary attribute values is currently only possible
    via LDIF when adding or modifying an entry.
    You have to convert your binary data with a LDIF tool first
    and cut&amp;paste its output into the LDIF input field
    or provide a URL in the LDIF line (see global configuration
    parameter
    <a href="web2ldapcnf_misc.html#ldif_url_schemes">
    web2ldapcnf.misc.ldif_url_schemes</a>).
  </dd>

  <dt>
    I would like to delete a photo, a certificate or other binary
    attribute data. Is that possible?
  </dt>
  <dd>
    Yes, it is possible since
    <a href="changes.html#0.10.0">version 0.10.0</a>.
    An addtional [Delete] link is shown for binary attributes. Note
    that in case of multi-valued attributes all attribute
    values are deleted. You cannot delete a single chosen
    attribute value.
  </dd>

</dl>

<h2>Integration</h2>

<dl>

  <dt>
    I want to refer to the web2ldap gateway from a web page.
    Is there a way to get a persistent URL?
  </dt>
  <dd>
    Yes, you can use any RFC4516-compliant LDAP URL as query string.
    The safest way is to use the URL-encoded scheme.<br>
    Example:<br>
    <code>
      http://demo.web2ldap.de:1760/web2ldap?ldap://ldap.openldap.org/dc=openldap,dc=org
    </code>
    <br>
    The <a href="demo.html#examples">specific examples</a> on the demo page
    might give you some more ideas.
  </dd>

  <dt>
    Is there some way of nifty browser integration?
  </dt>
  <dd>
    Yes, check out the directory htdocs/sidebars or the
    <a href="demo.html#sidebars">demo sidebar</a>
    which contains HTML examples for using side-bars of modern browsers
    (Mozilla, Opera) as entry point. Make sure to use LDAP URLs!
    With Mozilla you can also use
    <a href="http://www.mozilla.org/docs/end-user/keywords.html">
    Custom Keywords</a>.
  </dd>

  <dt>
    Is Kerberos-based authentication supported?
  </dt>
  <dd>
    Yes. python-ldap has to been built with SASL/GSSAPI support (see also
    <a href="http://www.python-ldap.org/doc/html/installing.html#building-and-installing">
    python-ldap's installation instructions</a>)
    and web2ldap has to be started in stand-alone mode by the end-user to use his/her
    ticket granting ticket (TGT).
  </dd>

</dl>

  <footer>
    <div id="footer">
      sponsored by <a href="http://www.stroeder.com">
      stroeder.com - Information Technology, IT-Security, Identity Management,
      System Integration</a>
    </div>
  </footer>

</body>

</html>