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.3 Changing the admin password
Date Wed, 28 Oct 2009 16:21: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.3+Changing+the+admin+password">1.4.3
Changing the admin password</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.2+Changing+the+server+port+for+LDAP"><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.2+Changing+the+server+port+for+LDAP">1.4.2
Changing the server port for LDAP</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;<a
href="/confluence/display/DIRxSRVx11/1.4.4+Adding+your+own+partition+resp.+suffix">1.4.4
Adding your own partition resp. suffix</a></td><td class='ScrollbarNextIcon'><a
href="/confluence/display/DIRxSRVx11/1.4.4+Adding+your+own+partition+resp.+suffix"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>

<h1><a name="1.4.3Changingtheadminpassword-Changingtheadminpassword"></a>Changing
the admin password</h1>

<p>This section describes the steps necessary to change the administrator password.
Follow the instructions provided here step by step.</p>

<div>
<ul>
    <li><a href='#1.4.3Changingtheadminpassword-Stepone%3AChangingthevalueinthesystempartition'>Step
one: Changing the value in the system partition</a></li>
    <li><a href='#1.4.3Changingtheadminpassword-Steptwo%3AVerification'>Step two:
Verification</a></li>
    <li><a href='#1.4.3Changingtheadminpassword-Resources'>Resources</a></li>
</ul></div>

<h2><a name="1.4.3Changingtheadminpassword-Stepone%3AChangingthevalueinthesystempartition"></a>Step
one: Changing the value in the system partition</h2>

<p>While the server is up and running, change the value of the <em>userPassword</em>
attribute of the admin (uid=admin,ou=system) via LDAP. There are several ways to accomplish
this task. In the following, we use the Eclipse based Apache Directory Studio.</p>

<p>A new LDAP connection with this tool is created via "New Connection ..." from the
<em>Connections</em> view. Enter your connection data in the first step ...</p>

<p><img src="/confluence/download/attachments/55547/NewLDAPConnection1.png" align="absmiddle"
border="0" /></p>

<p>... and in the next step, enter the admin DN <em>uid=admin,ou=system</em>
and the current password (default is "secret"). Saving the password is not necessary, we will
change it anyway. </p>

<p><img src="/confluence/download/attachments/55547/NewLDAPConnection2.png" align="absmiddle"
border="0" /></p>

<p>Click <em>Finish</em> to establish the connection.</p>

<p>Afterwards, modify the value of the <em>userPassword</em> attribute of
the entry <em>uid=admin,ou=system</em>. Navigate to the entry in the DIT (<em>LDAP
Browser</em> view), and double click the attribute in the <em>Entry Editor</em>
view:</p>

<p><img src="/confluence/download/attachments/55547/entryEditor.png" align="absmiddle"
border="0" /></p>

<p>The Password Editor dialog shows up; enter the new password. You can optionally select
a hash algorithm like <em>SHA</em>. In this case, the password will be stored
one-way encrypted in the attribute value &#8211; not a bad idea.</p>

<p><img src="/confluence/download/attachments/55547/passwordEditor.png" align="absmiddle"
border="0" /></p>

<p>Pressing <em>OK</em> stores the new value. Close the connection and shutdown
the server.</p>

<h2><a name="1.4.3Changingtheadminpassword-Steptwo%3AVerification"></a>Step
two: Verification</h2>

<p>Verify that you can login as admin with the new password. With Apache Directory Studio,
you can change the properties of the existing connection profile via a right click in the
<em>Connections</em> view and a selection of the <em>Properties</em>
menu item. The following dialog appears:</p>

<p><img src="/confluence/download/attachments/55547/connectionProperties.png" align="absmiddle"
border="0" /></p>

<p>Enter the new password and press <em>OK</em>. Establishing a connection
should now work.  </p>

<h2><a name="1.4.3Changingtheadminpassword-Resources"></a>Resources</h2>

<ul>
	<li><a href="http://directory.apache.org/studio/" title="directory.apache.org" rel="nofollow">Apache
Directory Studio</a>: The tool used in steps 1 and 2</li>
</ul>

     </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.3+Changing+the+admin+password">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=55547&revisedVersion=15&originalVersion=14">View
Change</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message