directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Directory Server v1.5 > 1.4.6 Enable and disable anonymous access
Date Wed, 28 Oct 2009 17:09:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=DIRxSRVx11&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/DIRxSRVx11/1.4.6+Enable+and+disable+anonymous+access">1.4.6
Enable and disable anonymous access</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~seelmann">Stefan
Seelmann</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
class='ScrollbarPrevIcon'><a href="/confluence/display/DIRxSRVx11/1.4.5+Configure+logging"><img
border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td
width='33%' class='ScrollbarPrevName'><a href="/confluence/display/DIRxSRVx11/1.4.5+Configure+logging">1.4.5
Configure logging</a>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/DIRxSRVx11/1.4.+Basic+configuration+tasks"><img border='0'
align='middle' src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
href="/confluence/display/DIRxSRVx11/1.4.+Basic+configuration+tasks">1.4. Basic configuration
tasks</a></td><td width='33%' class='ScrollbarNextName'>&nbsp;</td></tr></table></div>

<h1><a name="1.4.6Enableanddisableanonymousaccess-Enableanddisableanonymousaccess"></a>Enable
and disable anonymous access</h1>

<p>This section briefly describes how to enable and disable anonymous access.</p>



<p>Anonymous access to the server is enabled by default. This includes read and write
access! </p>

<p>If you use the server standalone configured with a <em>server.xml</em>
file, you can disable anonymous binds by changing the value for property <em>allowAnonymousAccess</em>
in the Spring bean definition for bean <em>defaultDirectoryService</em>, as depicted
in the following fragment:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">

  &lt;defaultDirectoryService id=<span class="code-quote">"directoryService"</span>
instanceId=<span class="code-quote">"default"</span>
                           ...
                           allowAnonymousAccess=<span class="code-quote">"false"</span>
                           ...&gt;
</pre>
</div></div>

<p>A restart of the server is necessary for this change to take effect. Afterwards,
all clients have to provide their name (distinguished name) and password in order to bind
to the directory service. </p>

<p>Learn more about authentication option in the corresponding section of this guide
<a href="/confluence/display/DIRxSRVx11/3.1.+Authentication+options" title="3.1. Authentication
options">here</a>.</p>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/DIRxSRVx11/1.4.6+Enable+and+disable+anonymous+access">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=56703&revisedVersion=8&originalVersion=7">View
Change</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message