⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faq.html

📁 操作LDAP的工具
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.76 [en] (WinNT; U) [Netscape]">
   <title>LDAP Browser/Editor FAQ</title>
</head>
<body>

<h3>
Frequently Asked Questions<br>
LDAP Browser/Editor</h3>
<b><font size=+1>Question Index</font></b>
<p><b>General Questions</b>
<ol>
<li>
<a href="#How do I enable debugging for the LDAP">How do I enable debugging
for the LDAP Browser/Editor?</a></li>

<li>
<a href="#How do I run the Browser as an">How do I run the Browser as an
applet?</a></li>

<li>
<a href="#How do I run the Browser behind a">How do I run the Browser behind
a proxy?</a></li>

<li>
<a href="#How do I modify the 'lbe' scripts to add the">How do I modify
the 'lbe' scripts to add the different system properties?</a></li>

<li>
<a href="#How do I modify the 'lbe' scripts to specify a">How do I modify
the 'lbe' scripts to specify a different Java environment?</a></li>
</ol>
<b>Attribute Viewers/Editors Questions</b>
<ol>
<li>
<a href="#What are attribute">What are attribute viewers/editors?</a></li>

<li>
<a href="#What attribute viewers/editors are distributed">What attribute
viewers/editors are distributed with the Browser?</a></li>

<li>
<a href="#How do I set default algorithm for the">How do I set default
algorithm for the PasswordEditor?</a></li>

<li>
<a href="#What is the ExtBinaryEditor and how can I use">What is the ExtBinaryEditor
and how can I use it?</a></li>

<li>
<a href="#What is the ExtStringViewer and how can I use">What is the ExtStringViewer
and how can I use it?</a></li>

<li>
<a href="#How can I configure the CertificateEditor2 to">How can I configure
the CertificateEditor2 to launch an external application to view the certificate?</a></li>

<li>
<a href="#How do I write a custom attribute">How do I write a custom attribute
viewer/editor?</a></li>
</ol>
<b>SSL Questions</b>
<ol>
<li>
<a href="#How do I enable the SSL support in the">How do I enable the SSL
support in the Browser?</a></li>

<li>
<a href="#Why does initial SSL connection take a while to">Why does initial
SSL connection take a while to establish?</a></li>

<li>
<a href="#How do I turn on debugging for the SSL">How do I turn on debugging
for the SSL connection?</a></li>

<li>
<a href="#How do I specify client certificates for the SSL">How do I specify
client certificates for the SSL connection?</a></li>

<li>
<a href="#Why does SSL connection sometimes hang the">Why does SSL connection
sometimes hang the browser?</a></li>
</ol>

<hr ALIGN=LEFT WIDTH="100%">
<br><b><font size=+1>General Questions</font></b>
<p><a NAME="How do I enable debugging for the LDAP"></a><b>How do I enable
debugging for the LDAP Browser/Editor?</b>
<p>LDAP Browser/Editor provides dynamic debug tracing support. It is enabled
by setting the <b>lbe.debug</b> system property. The value can be one or
more of the following:
<ul>
<li>
<b>editor</b></li>

<ul>
<li>
print attribute viewers/editors debug messages</li>
</ul>

<li>
<b>ldap</b></li>

<ul>
<li>
enable LDAP protocol message tracing</li>
</ul>

<li>
<b>level1</b></li>

<ul>
<li>
print generic browser debug messages</li>
</ul>

<li>
<b>level2</b></li>

<ul>
<li>
print more and more detailed debug messages</li>
</ul>

<li>
<b>ssl</b></li>

<ul>
<li>
enable debugging for the built-in secure socket factory</li>
</ul>

<li>
<b>all</b></li>

<ul>
<li>
enable all debugging</li>
</ul>
</ul>
Example: (using the command-line option on the java command)
<pre>java -Dlbe.debug=ldap:editor -classpath ... lbe.ui.BrowserApp</pre>
This will enable ldap tracing and debugging of the attribute viewers/editors.
<p>For details on how to modify the 'lbe' scripts to enable this property
see the <a href="#How do I modify the 'lbe' scripts to add the">question</a>
about this.
<p><a NAME="How do I run the Browser as an"></a><b>How do I run the Browser
as an applet?</b>
<p>The LDAP Browser/Editor can be run as an applet within a web browser
(Netscape Navigator or Microsoft Internet Explorer) using the <a href="http://java.sun.com/products/plugin/">Java
Plugin</a>. The Browser can be run either as a signed or unsigned applet.
If the Browser is running as an unsigned applet it can only access the
ldap servers on the server that the applet was downloaded from. If the
Browser is running as a trusted signed applet it can access any ldap server
on the network or the internet.
<br>The HTML page that will contain the applet needs to be modified to
use the Java Plugin. A sample HTML page is included with binary distribution
of the Browser in the <i>applet</i> directory. Please see the <a href="http://java.sun.com/products/plugin/1.3/docs/index.docs.html">Java
Plugin documentation</a> for the modification details.
<p>To run the Browser as an unsigned applet just extract the binary distribution
into some web directory <i>(e.g. ~/public_html/ldapbrowser/)</i> and copy
the <i>applet/applet.html</i> file into the browser root directory (<i>e.g.
~/public_html/ldapbrowser/). </i>Make sure to set the right permissions
to all the files and directories, and then point your browser to the <i>applet.html</i>
file.
<p>To run the Browser as a signed applet you can follow the same directions
as above and then you must sign <b>all</b> the jar files (in the <i>lib</i>
directory and the <i>browser.jar </i>file) with an object signing certificate.
Please see the <a href="http://www.javasoft.com/products/plugin/1.3/docs/index.docs.html">Java
Plugin documentation</a> for details for this step.
<p><a NAME="How do I run the Browser behind a"></a><b>How do I run the
Browser behind a proxy?</b>
<p>The LDAP Browser/Editor does not provide any special support for proxies.
However, Java itself provides SOCKS 4 support.
<br>To configure the Browser to use the proxy server add the following
properties to the command line to the Java interpreter:
<pre>-DsocksProxyPort=1080 -DsocksProxyHost=socks.mydomain.com</pre>
For example:
<pre>java -DsocksProxyPort=1080 -DsocksProxyHost=socks.mydomain.com -classpath .....&nbsp; lbe.ui.BrowserApp</pre>
For details on how to modify the 'lbe' scripts to enable this property
see the following <a href="#How do I modify the 'lbe' scripts to add the">question</a>.
<p><a NAME="How do I modify the 'lbe' scripts to add the"></a><b>How do
I modify the 'lbe' scripts to add the different system properties?</b>
<p>On Windows:
<ol>
<li>
Edit the<i> lbe.bat</i> file</li>

<li>
And modify the following line:</li>

<pre>set CMD="%JAVA_HOME%\bin\java" -cp %COMMON%;%EXEC%</pre>
with the system properties, for example:
<pre>set CMD="%JAVA_HOME%\bin\java" -Dlbe.debug=ldap -DsocksProxyHost=myserver.com -cp %COMMON%;%EXEC%</pre>
</ol>
On Unix:
<ol>
<li>
Edit the <i>lbe.sh</i> file</li>

<li>
And modify the following line:</li>

<pre>CMD="${JAVA_HOME}/bin/java -cp ${COMMON}:${EXEC}"</pre>
with the system properties, for example:
<pre>CMD="${JAVA_HOME}/bin/java -Dlbe.debug=ldap -DsocksProxyHost=myserver.com -cp ${COMMON}:${EXEC}"</pre>
</ol>
<a NAME="How do I modify the 'lbe' scripts to specify a"></a><b>How do
I modify the 'lbe' scripts to specify a different Java environment?</b><b></b>
<p>On Windows:
<ol>
<li>
Edit the lbe.bat file</li>

<li>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -