<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Mail Server Setup and Howto Guide &#187; 389 Directory Server</title>
	<atom:link href="http://www.linuxmail.info/category/389-directory-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmail.info</link>
	<description>Rapidly deploy Linux based mail solutions today</description>
	<lastBuildDate>Sat, 26 Jun 2010 16:30:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using LDAP as NIS Replacement</title>
		<link>http://www.linuxmail.info/ldap-nis-replace/</link>
		<comments>http://www.linuxmail.info/ldap-nis-replace/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 17:24:20 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[LDAP]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=372</guid>
		<description><![CDATA[This article describes how to use the 389 Directory Server to function as a Network Information Service by showing how to store the list of service as an example.]]></description>
			<content:encoded><![CDATA[<p>All the information you can store in a <em>Network Information Service (NIS)</em> can also be stored in an LDAP server. This article describes how to use the 389 Directory Server to function as a Network Information Service by showing how to store the list of service as an example.</p>
<span id="more-372"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Creating an LDAP entry</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-org-unit-services.png"><img class="preview" alt="Create Organizational Unit" src="/images/centos-5/t-389-ds-create-new-org-unit-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/389-management-console-howto/#create-org-unit">Create a new organizational unit</a> called <em>Services</em> that will hold all your services.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-others.png"><img class="preview" alt="Create Object" src="/images/centos-5/t-389-ds-create-new-others.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select the Services organizational unit. Right click an empty space in the right pane, select <em>New</em> then click <em>Other</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-new-object-ipservice.png"><img class="preview" alt="New Object" src="/images/centos-5/t-389-ds-new-object-ipservice.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>New Object</strong> window, select <em>ipservice</em> and click <em>OK</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-new-ipserviceprotocol.png"><img class="preview" alt="Property Editor" src="/images/centos-5/t-389-ds-new-ipserviceprotocol.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Fill in the <em>Full name</em>, <em>ipserviceport</em> and <em>ipserviceprotocol</em> and click the <em>Change</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ipservice-change-naming-attribute.png"><img class="preview" alt="Change Naming Attribute" src="/images/centos-5/t-389-ds-ipservice-change-naming-attribute.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. In the <strong>Change Naming Attribute</strong> window, check <em>cn</em> and uncheck <em>ipserviceprotocol</em>. Click the <em>OK</em> button to close the Change Naming window and click <em>OK</em> again to close the Property Editor window.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-directory-services.png"><img class="preview" alt="Directory Services" src="/images/centos-5/t-389-ds-directory-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. You should now have a service entry.</div>
<h2>Configuring the Client</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-ldap-conf-services.png"><img class="preview" alt="Edit ldap.conf" src="/images/centos-5/t-edit-ldap-conf-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Edit the file <em>/etc/ldap.conf</em> and update at least the items below with the appropriate values for your environment.
<pre class="steps">
host ldap.acme.local
base dc=acme,dc=local
nss_base_services ou=Services,dc=acme,dc=local?one
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-nsswitch-conf.png"><img class="preview" alt="Edit nsswitch.conf" src="/images/centos-5/t-edit-nsswitch-conf.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Edit the file <em>/etc/nsswitch.conf</em> and add <em>ldap</em> in the <em>services</em> entry. This will tell the system to also look in the LDAP server when enumerating the list of service.</div>
<div class="clearfix steps"><a href="/images/centos-5/getent-services.png"><img class="preview" alt="Edit nsswitch.conf" src="/images/centos-5/t-getent-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. To test, type in the command below. You should be able to see the entry you added.
<pre class="steps">
getent services
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/ldap-nis-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>389 Directory and Active Directory SSL Synchronization</title>
		<link>http://www.linuxmail.info/389-directory-active-directory-ssl-synch/</link>
		<comments>http://www.linuxmail.info/389-directory-active-directory-ssl-synch/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 07:13:24 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=369</guid>
		<description><![CDATA[This article describes how to configure and test 389 Directory Server to synchronize with an Active Directory Server via an SSL LDAP connection.]]></description>
			<content:encoded><![CDATA[<p>An SSL connection to Active Directory is required in order to update a user&#8217;s password using LDAP. This article describes how to configure and test 389 Directory Server to synchronize with an Active Directory Server via an SSL LDAP connection.</p>
<span id="more-369"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configuring SSL Connection</h2>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-issued-certs.png"><img class="preview" alt="Certificate Authority" src="/images/windows-2003/t-certificate-authority-issued-certs.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Make sure SSL is enabled in Active Directory. <a href="/enable-ldap-ssl-active-directory/">Learn how to enable LDAP SSL in Active Directory.</a></div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-4.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/export-ssl-certificate-windows-2003/">Export a base-64 encoded SSL certificate from your Active Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-1.png"><img class="preview" alt="389 Directory Manage Certificates" src="/images/centos-5/t-389-ds-manage-certificates-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Make sure SSL is enabled in 389 Directory Server. <a href="/389-directory-server-setup-howto-centos-5/#setup-ssl">Learn how to enable LDAP SSL in 389 Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-3.png"><img class="preview" alt="389 Directory Manage Certificates" src="/images/centos-5/t-389-ds-manage-certificates-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. <a href="/install-ssl-certificate-fds/">Install the exported SSL certificate into 389 Directory Server.</a></div>
<h2>Testing SSL Connection</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ldapsearch.png"><img class="preview" alt="ldapsearch" src="/images/centos-5/t-389-ds-ldapsearch.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Type the command below to test if you can do a plain LDAP connection to your Active Directory server. You&#8217;ll be asked for the password of the user account you specified in the <strong>-D</strong> option.
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" 
-h server.acme.local -R 
-D "cn=fds,cn=users,dc=acme,dc=local" 
-w - "objectclass=*"
</pre>
<p>Replace the value after <strong>-b</strong> with your search base, the value after <strong>-h</strong> with your server hostname and the value after <strong>-D</strong> with the distinguished name of a user account having read/write access to your Active Directory server.</p>
</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ldapsearch-ssl.png"><img class="preview" alt="ldapsearch SSL" src="/images/centos-5/t-389-ds-ldapsearch-ssl.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Type the command below to test if you can do an SSL enabled LDAP connection to your Active Directory server.
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" 
-h server.acme.local -R 
-D "cn=fds,cn=users,dc=acme,dc=local" 
-w - -Z -P /etc/dirsrv/slapd-mail "objectclass=*"
</pre>
</div>
<p>Replace the value after <strong>-P</strong> with the settings path of your 389 Directory server.</p>
<p>If the two test above succeeds, you can use SSL connection to synchronize with Active Directory.</p>
<h2>Troubleshooting</h2>
<p>If the output from the test above contains</p>
<ul>
<li><em>Invalid credentials</em><br /><p>Check the distinguished name of the user account after the <strong>-D</strong> option and the bind password for it. To check the distinguished name, type the command below.</p>
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" -h server 
-R -D "ACME\fds" -w - "samaccountname=fds" DN
</pre>
<p>Replace the value <strong>ACME</strong> with your own domain and <strong>fds</strong> with your own user name. It will output the distinguished name of the user name you specified.</p>
</li>
<li><em>TCP connection reset by peer</em><br /><p>Check the host name you specified after <strong>-h</strong>. If the host name is correct, check the firewall.</p></li>
<li><em>security library: bad database</em><br /><p>Make sure <a href="/389-directory-server-setup-howto-centos-5/#setup-ssl">SSL is enabled in 389 Directory Server.</a> And check the path you specified after <strong>-P</strong>.</p></li>
<li><em>Encountered end of file</em><br /><p>After <a href="/enable-ldap-ssl-active-directory/">configuring SSL in Active Directory</a>, you probably did not reboot your Active Directory server. Reboot your AD server to complete the changes and try the test again.</p></li>
<li><em>Peer&#8217;s Certificate has expired</em><br /><p>Make sure the <a href="/synchronize-system-clock-centos-5/">system clock is synchronized in the Linux server</a> and the Active Directory server. And the check the certificate, it may indeed be expired.</p></li>
<li><em>Peer&#8217;s certificate issuer has been marked as not trusted by the user</em><br /><p>Check the trust setting you specified in the certificate of the 389 Directory server. <a href="/install-ssl-certificate-fds/#intended-purpose"><em>Making connections to other servers</em> should be checked.</a></p></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/389-directory-active-directory-ssl-synch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>389 Directory Server Howto for RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/389-directory-server-howto-centos-5/</link>
		<comments>http://www.linuxmail.info/389-directory-server-howto-centos-5/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 15:30:54 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[LDAP]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=232</guid>
		<description><![CDATA[This article describes how to install and use the 389 Directory Server.]]></description>
			<content:encoded><![CDATA[<p><strong>389 Directory Server</strong>, formerly called the <strong>Fedora Directory Server</strong>, is an enterprise-class open source LDAP server for Linux. 389 Directory Server is very mature and very powerful, below are some of its features.</p>
<span id="more-232"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<ul>
<li>Has graphical tools to manage users, groups, and server configurations</li>
<li>Supports Active Directory synchronization</li>
<li>Supports multi-master replication</li>
<li>Supports secure authentication and communication</li>
<li>Supports LDAP version 3</li>
<li>LDAP based update of schema, configurations, and access control information</li>
</ul>
<p>This article describes how to install and use the 389 Directory Server.</p>
<h2>How to install Linux</h2>
<p>You can use either <a href="http://www.redhat.com">Red Hat Enterprise Linux 5</a> or <a href="http://www.centos.org">CentOS 5</a>. RHEL 5 can be purchased from <a href="http://www.redhat.com">Red Hat</a> and comes with support. CentOS 5 on the other hand can be downloaded <a href="http://isoredirect.centos.org/centos/5/isos/">here</a>.</p>
<div class="clearfix steps"><a href="/images/centos-5/boot.png"><img class="preview" alt="Boot" src="/images/centos-5/t-boot.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/how-to-install-centos-5-linux/">How to install CentOS 5.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/welcome2.png"><img class="preview" alt="Welcome" src="/images/centos-5/t-welcome2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/how-to-setup-centos-5-linux/">How to setup CentOS 5.</a></div>
<h2>How to install and configure the 389 Directory Server</h2>
<p>This section is about installing 389 Directory Server and using its graphical management tool.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-login.png"><img class="preview" alt="389 Directory Server" src="/images/centos-5/t-389-ds-console-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/389-directory-server-setup-howto-centos-5/">How to setup the 389 Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-new-user.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-new-user.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/389-management-console-howto/">How to use the 389 Management Console.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-plugins.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-plugins.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. <a href="/389-directory-server-plugins-howto/">How to configure 389 Directory Server plug-ins.</a></div>
<h2>Synchronizing with Active Directory</h2>
<p>This section describes how to synchronize with Active Directory. With this feature, you can reduce your Windows Server license requirements for your LDAP applications.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-5.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-5.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/ad-fds-sync-howto/">How to synchronize with Active Directory.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/t-389-ds-manage-certificates-3.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-manage-certificates-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/389-directory-active-directory-ssl-synch/">How to synchronize via SSL with Active Directory.</a> This is needed to replicate password changes in 389 DS to Active Directory.</div>
<div class="clearfix steps"><a href="/images/windows-2003/reset-user-password.png"><img class="preview" alt="Active Directory Users and Computers" src="/images/windows-2003/t-reset-user-password.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. <a href="/synch-ad-password-fds/">How to replicate Active Directory password changes to 389 Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/windows-2003/adsiedit-acme.png"><img class="preview" alt="ADSI Edit" src="/images/windows-2003/t-adsiedit-acme.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>Active Directory synchronization is not yet perfect. Here are some <a href="/active-directory-fds-sync-issues/">issues you need to be aware of when synchronizing with 389 Directory Server with Active Directory</a>.</div>
<h2>Centralizing Information</h2>
<p>The 389 Directory Server can be used to centralize your users, groups, hosts, services, etc.</p>
<div class="clearfix steps"><a href="/images/centos-5/fds-posix-user.png"><img class="preview" alt="LDAP Authentication" src="/images/centos-5/t-fds-posix-user.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/ldap-authentication-centos-5/">How to use LDAP as a centralized users and authentication system</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-directory-services.png"><img class="preview" alt="LDAP NIS" src="/images/centos-5/t-389-ds-directory-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/ldap-nis-replace/">How to use LDAP as a Network Information System (NIS) replacement</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/389-directory-server-howto-centos-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Active Directory and 389 Directory Server Sync Issues</title>
		<link>http://www.linuxmail.info/active-directory-fds-sync-issues/</link>
		<comments>http://www.linuxmail.info/active-directory-fds-sync-issues/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:52:53 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=229</guid>
		<description><![CDATA[This article describes possible issues that may be encountered while implementing the Active Directory and 389 Directory Server synchronization.]]></description>
			<content:encoded><![CDATA[<p>389 Directory Server have the capability to synchronize with Active Directory. But this capability is not perfect. I&#8217;ll discuss below the problems you may encounter when <a href="/ad-fds-sync-howto/">using the synchronization feature</a>.</p>
<span id="more-229"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Users</h2>
<div class="clearfix steps"><a href="/images/windows-2003/ad-users-bugs.png"><img class="preview" alt="User Bugs Bunny" src="/images/windows-2003/t-ad-users-bugs.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>The <em>Last Name</em> is required in 389 Directory Server so make sure all users have it in Active Directory.</div>
<h2>User Passwords</h2>
<div class="clearfix steps"><a href="/images/windows-2003/reset-user-password.png"><img class="preview" alt="Reset User Password" src="/images/windows-2003/t-reset-user-password.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>The Active Directory user passwords can only be replicated to 389 Directory Server by <a href="/synch-ad-password-fds/">installing the PassSync utility</a> to capture password changes before they are stored in a hashed format. This is the only way to get the user&#8217;s password from Active Directory.</div>
<div class="clearfix steps"><a href="/images/windows-2003/passsync-welcome.png"><img class="preview" alt="Reset User Password" src="/images/windows-2003/t-passsync-welcome.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>The PassSync utility does not work in the 64 bit versions of Windows Server. It also stores the passwords used to authenticate with 389 Directory Server and the certificate database unencrypted in the registry.</div>
<h2>Organizational Units</h2>
<div class="clearfix steps"><a href="/images/windows-2003/ad-acme.png"><img class="preview" alt="Active Directory Users and Computers" src="/images/windows-2003/t-ad-acme.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>Organizational Units, like <em>Accounting</em>, <em>Domain Controllers</em>, <em>Engineering</em> and <em>Sales and Marketing</em> in the screen shot, are not automatically synchronized. Every time you create a new one in Active Directory, you need to manually create the same in Fedora Directory Server to synchronize its contents.</div>
<h2>Containers</h2>
<div class="clearfix steps"><a href="/images/windows-2003/ad-acme.png"><img class="preview" alt="Active Directory Users and Computers" src="/images/windows-2003/t-ad-acme.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>Containers, like <em>Computers</em>, <em>ForeignSecurityPrincipals</em>, and <em>Users</em> in the screen shot, is similar to the Organizational Unit but uses a different distinguished name.</div>
<div class="clearfix steps"><a href="/images/windows-2003/adsiedit-acme.png"><img class="preview" alt="ADSI Edit" src="/images/windows-2003/t-adsiedit-acme.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>It uses <em>CN=name</em> instead of <em>OU=name</em> for its relative distinguished name.</div>
<div class="clearfix steps"><a href="/images/centos-5/fds-ds-cn-users.png"><img class="preview" alt="Fedora Management Console" src="/images/centos-5/t-fds-ds-cn-users.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>To create an organizational unit with the same naming convention, you have to extend the FDS schema.</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-setupusers-sh.png"><img class="preview" alt="setupusers.sh" src="/images/centos-5/t-terminal-setupusers-sh.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>You can use the <a href="/files/setupusers.sh">setupusers.sh</a> script to create the <em>Users</em> organizational unit for you. Just type in <em>./setupusers.sh &#8220;dc=acme,dc=local&#8221;</em> to automatically create the Users container in FDS. Replace <em>&#8220;dc=acme,dc=local&#8221;</em> with your own base DN.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/active-directory-fds-sync-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use the 389 Directory Server Plug-ins</title>
		<link>http://www.linuxmail.info/389-directory-server-plugins-howto/</link>
		<comments>http://www.linuxmail.info/389-directory-server-plugins-howto/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 12:13:39 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=226</guid>
		<description><![CDATA[This article is describes how to use the plug-ins installed in 389 Directory Server.]]></description>
			<content:encoded><![CDATA[<p>This article is describes how to use the plug-ins installed in 389 Directory Server. We will use the <em>Distributed Numeric Assignment</em> plug-in, a plug-in that automatically assigns unique uid numbers to new user entries as they are created, as an example.</p>
<span id="more-226"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Launching the 389 Management Console</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-login.png"><img class="preview" alt="389 Management Console Login" src="/images/centos-5/t-389-ds-console-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. From a terminal window, type in <tt>389-console</tt>. This will launch the <strong>389 Management Console Login</strong> window.
<div>&nbsp;</div>
<div class="m">
    <div class="fw">User ID</div><div><em>cn=directory manager</em></div>
    <div class="fw">Password</div><div><em>the directory manager password</em></div>
    <div class="fw">Administration URL</div><div><em>localhost:9830</em></div>
    <div>&nbsp;</div>
The values above assumes you have used the default values.
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the + sign corresponding to your server. Next, click the + sign corresponding to <em>Server Group</em> and click <em>Directory Server</em>. Finally, click the <em>Open</em> button in the <em>Directory Server</em> page.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-tasks.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-tasks.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click the <em>Configuration</em> tab.</div>
<h2>Configuring 389 Directory Server Plug-ins</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-configuration.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-configuration.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click the + sign corressponding to <em>Plug-ins</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-plugins.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-plugins.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the <em>Distributed Numeric Assignment Plugin</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-plugins-dna.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-plugins-dna.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Check <em>Enable plug-in</em> and click the <em>Save</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-plugins-save.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-plugins-save.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config.png"><img class="preview" alt="CentOS 5 Service Configuration" src="/images/centos-5/t-service-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Restart the <em>dirsrv</em> service. <a href="/how-to-start-stop-services-centos-5/">Learn how to stop and start services here.</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/389-directory-server-plugins-howto/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to use the 389 Management Console</title>
		<link>http://www.linuxmail.info/389-management-console-howto/</link>
		<comments>http://www.linuxmail.info/389-management-console-howto/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 06:57:55 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=223</guid>
		<description><![CDATA[This article is a very basic guide in using the 389 Management Console to manage the 389 Directory Server.]]></description>
			<content:encoded><![CDATA[<p>This article is a very basic guide in using the <strong>389 Management Console</strong> to manage the <strong>389 Directory Server</strong>.</p>
<span id="more-223"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Launching the 389 Management Console</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-login.png"><img class="preview" alt="389 DS Console Login" src="/images/centos-5/t-389-ds-console-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. From a terminal window, type in <tt>389-console</tt>. This will launch the <strong>389 Management Console Login</strong> window.
<div>&nbsp;</div>
<div class="m">
    <div class="fw">User ID</div><div><em>cn=directory manager</em></div>
    <div class="fw">Password</div><div><em>the directory manager password</em></div>
    <div class="fw">Administration URL</div><div><em>localhost:9830</em></div>
    <div>&nbsp;</div>
The values above assumes you have used the default values.
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the + sign corresponding to your server. Next, click the + sign corresponding to <em>Server Group</em> and click <em>Directory Server</em>. Finally, click the <em>Open</em> button in the <em>Directory Server</em> page.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-tasks.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-tasks.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click the <em>Directory</em> tab.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-domain.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-domain.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click the folder corresponding to your domain.</div>
<h2 id="create-user">Creating a New User</h2>
<p>A User is an object used to store user information and authentication information.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-new-user.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-new-user.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click your domain, select <em>New</em> and click <em>User</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-user.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-create-new-user.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Create New User</strong> window, fill in the user information and click <em>Ok</em> when you are done.</div>
<h2 id="create-group">Creating a New Group</h2>
<p>A Group is a container used to logically organize users into an easily identifiable structure.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-new-group.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-new-group.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click your domain, select <em>New</em> and click <em>Group</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-group.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-create-new-group.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Create New Group</strong> window, fill in the group information.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-group-members.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-create-new-group-members.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Add the member users in the <em>Members</em> section.  Click <em>Ok</em> when you are done.</div>
<h2 id="create-org-unit">Creating a New Organizational Unit</h2>
<p>An organizational unit is an administrative-level container that is used to logically organize objects. You can create objects into an Organization Unit or copy and paste an existing object into it.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-new-org-unit.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-new-org-unit.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click your domain, select <em>New</em> and click <em>Organizational Unit</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-org-unit.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-create-new-org-unit.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Create New Organizational Unit</strong> window, fill in the organizational unit information and click <em>Ok</em> when you are done.</div>
<h2>Related Pages</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-plugins.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-plugins.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/389-directory-server-plugins-howto/">How to configure plug-ins in 389 Directory Server</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/389-management-console-howto/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Synch Active Directory Password to 389 Directory Server</title>
		<link>http://www.linuxmail.info/synch-ad-password-fds/</link>
		<comments>http://www.linuxmail.info/synch-ad-password-fds/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 14:16:30 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=216</guid>
		<description><![CDATA[This article describes how to synchronize the Active Directory password to 389 Directory Server using the PassSync utility.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to synchronize the Active Directory password to 389 Directory Server using the PassSync utility.</p>
<span id="more-216"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configuring the User Permission</h2>
<p>The 389 Directory Server sync user account should be given permission to update the password field. In our example, it is <em>uid=SMaster,cn=config</em>. You can <a href="/ad-fds-sync-howto/#create-sync-user-account">create a sync user account using this article</a>.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a 
href="/389-directory-server-setup-howto-centos-5/#fds-admin">Launch the 389 Management Console</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the + sign corresponding to your server. Next, click the + sign corresponding to <em>Server Group</em> and click <em>Directory Server</em>. Finally, click the <em>Open</em> button in the <em>Directory Server</em> page.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-permission.png"><img class="preview" alt="Access Permission" src="/images/centos-5/t-389-ds-ds-permission.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click the <em>Directory</em> tab and click the folder corresponding to your domain.  Next, right click that same folder and click <em>Set Access Permissions</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-manage-ac.png"><img class="preview" alt="Manage Access Control" src="/images/centos-5/t-389-ds-ds-manage-ac.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. In the <strong>Manage Access Control</strong> window, click <em>New</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-edit-aci.png"><img class="preview" alt="Edit ACI" src="/images/centos-5/t-389-ds-ds-edit-aci.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. In the <strong>Edit ACI</strong> window, click <em>Edit Manually</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-edit-aci-manual.png"><img class="preview" alt="Edit ACI Manual" src="/images/centos-5/t-389-ds-ds-edit-aci-manual.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">6. Change the value of the ACI to the one below. Click <em>Ok</em> when you are done.
<pre class="steps">
(targetattr = "*") 
(version 3.0;
acl "PassSync";
allow (all)
(userdn = "ldap:///uid=SMaster,cn=config")
&#59;)
</pre>
<em>userdn</em> should correspond to your sync user account.
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-manage-ac-2.png"><img class="preview" alt="Manage Access Control" src="/images/centos-5/t-389-ds-ds-manage-ac-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Finally, click <em>Ok</em>.</div>
<h2>Installing PassSync</h2>
<p>PassSync should be installed in every Windows domain controller in your domain. You can <a href="http://directory.fedoraproject.org/download/PassSync-20060330.msi">download the PassSync installer here</a>.</p>
<div class="clearfix steps"><a href="/images/windows-2003/passsync-welcome.png"><img class="preview" alt="PassSync Welcome" src="/images/windows-2003/t-passsync-welcome.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch the <strong>PassSync</strong> installer and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/passsync-setup.png"><img class="preview" alt="PassSync Setup" src="/images/windows-2003/t-passsync-setup.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Fill up the <strong>Password Synchronization Information</strong> page and click <em>Next</em>. Below are the description of the fields. Specify in <em>Cert Token</em> the password you plan to assign to the certificate database when you create it later. The password should be at least 8 characters long, and should contain at least one non-alphabetic character.
<div>&nbsp;</div>
<div class="fw"><em>Host Name</em></div><div>389 Directory Server host name</div>
<div class="fw"><em>Port Number</em></div><div>389 Directory Server SSL port number</div>
<div class="fw"><em>User Name</em></div><div>User account in 389 Directory Server</div>
<div class="fw"><em>Password</em></div><div>Password of user account</div>
<div class="fw"><em>Cert Token</em></div><div>Certificate database password</div>
<div class="fw"><em>Search Base</em></div><div>389 Directory Server base DN</div>
</div>
<br />
</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />The settings above will be stored in the registry located in the <em>HKEY_LOCAL_MACHINE\SOFTWARE\PasswordSync</em> path.</div>
<div class="clearfix steps"><a href="/images/windows-2003/passsync-ready.png"><img class="preview" alt="PassSync Ready" src="/images/windows-2003/t-passsync-ready.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click <em>Next</em> in the <strong>Ready to Install</strong> page.</div>
<div class="clearfix steps"><a href="/images/windows-2003/passsync-finish.png"><img class="preview" alt="PassSync Finish" src="/images/windows-2003/t-passsync-finish.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Finally, click <em>Finish</em>.</div>
<h2>Creating the Certificate Database</h2>
<div class="clearfix steps"><a href="/images/centos-5/terminal-pk12util.png"><img class="preview" alt="pk12util" src="/images/centos-5/t-terminal-pk12util.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Export the 389 Directory Server certificate using the command below. Execute the command in the <em>/etc/dirsrv/slapd-xxx</em> directory where <em>xxx</em> corresponds to your directory server identifier. Copy the output file <em>servercert.p12</em> to your target Windows Server.
<pre class="steps">
pk12util -d . -o servercert.p12 -n Server-Cert -k pwdfile.txt
</pre>
<em>pwdfile.txt</em> contains the certificate database password created by the setupssl2.sh script. Use <tt>-K password</tt> to provide your own password if you manually configured SSL in 389 Directory Server.
</div>
<div class="clearfix steps"><a href="/images/windows-2003/cmd-certutil.png"><img class="preview" alt="certutil" src="/images/windows-2003/t-cmd-certutil.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. In the Windows Server, create the certificate database and load the 389 Directory Server certificate into it using the commands below. Before executing the commands below, change the Command Prompt&#8217;s current directory to the installation directory of PassSync, usually at &#8220;C:\Program Files\Red Hat Directory Password Synchronization&#8221;.
<pre class="steps">
certutil -d . -N
pk12util -d . -i servercert.p12
certutil -d . -M -n Server-Cert -t "P,P,P"
</pre>
</div>
</div>
<h2>Testing PassSync</h2>
<div class="clearfix steps"><a href="/images/windows-2003/service-passsync.png"><img class="preview" alt="Password Synchronization service" src="/images/windows-2003/t-service-passsync.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Restart the <em>Password Synchronization</em> service.</div>
<div class="clearfix steps"><a href="/images/windows-2003/reset-user-password.png"><img class="preview" alt="Reset user password" src="/images/windows-2003/t-reset-user-password.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Reset a user password and check if it synchronizes with 389 Directory Server.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you encounter any problems, check the log file at <em>C:\Program Files\Red Hat Directory Password Synchronization\passsync.log</em></div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/synch-ad-password-fds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install SSL Certificate in 389 Directory Server</title>
		<link>http://www.linuxmail.info/install-ssl-certificate-fds/</link>
		<comments>http://www.linuxmail.info/install-ssl-certificate-fds/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 02:05:34 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=200</guid>
		<description><![CDATA[This article describes how to install an SSL certificate in 389 Directory Server to be able to use encypted SSL connection in synchronization.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to install an <strong>SSL certificate</strong> in 389 Directory Server to be able to use encypted SSL connection during synchronization. If you will be synchronizing with an Active Directory server, make sure <a href="/enable-ldap-ssl-active-directory/">SSL is enabled</a>. You&#8217;ll also need a <a href="/export-ssl-certificate-windows-2003/">base-64 encoded SSL certificate</a> from your Active Directory server.</p>
<span id="more-200"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-5/389-ds-console.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a 
href="/389-directory-server-setup-howto-centos-5/#fds-admin">Launch the 389 Management Console</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the + sign corresponding to your server. Next, click the + sign corresponding to <em>Server Group</em> and click <em>Directory Server</em>. Finally, click the <em>Open</em> button in the <em>Directory Server</em> page.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-tasks.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-tasks.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click the <em>Manage Certificates</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-1.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-manage-certificates-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click the <em>CA Certs</em> tab.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-manage-certificates-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Click the <em>Install</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-1.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Select the <em>in this local file</em> option and specify the location where the SSL certificate can be found. Click <em>Next</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Verify the certificate information and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-3.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>8. Verify the certificate type and click <em>Next</em>.</div>
<div id="intended-purpose" class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-4.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>9. Click the <em>Done</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-3.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-manage-certificates-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>10. Finally, click <em>Close</em>.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/install-ssl-certificate-fds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Active Directory and 389 Directory Server Sync Howto</title>
		<link>http://www.linuxmail.info/ad-fds-sync-howto/</link>
		<comments>http://www.linuxmail.info/ad-fds-sync-howto/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 15:03:26 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=173</guid>
		<description><![CDATA[This article describes how to configure the 389 Directory Server to synchronize entries with an Active Directory Server.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to configure the 389 Directory Server to synchronize entries with an Active Directory Server.</p>
<span id="more-173"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Launching the 389 Management Console</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a 
href="/389-directory-server-setup-howto-centos-5/#fds-admin">Launch the 389 Management Console</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the + sign corresponding to your server. Next, click the + sign corresponding to <em>Server Group</em> and click <em>Directory Server</em>. Finally, click the <em>Open</em> button in the <em>Directory Server</em> page.</div>
<h2 id="create-sync-user-account">Creating the Sync User Account</h2>
<p>The sync user account will be used by the replication plugin to update the 389 Directory Server. For security reason, it should not be part of the synchronized sub tree.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-new-user.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-new-user.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click the <em>Directory</em> tab and click the <em>config</em> folder. Next, right click <em>config</em>, select <em>New</em> and click <em>User</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-new-user-smaster.png"><img class="preview" alt="Create New User" src="/images/centos-5/t-389-ds-new-user-smaster.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Fill in the <em>First Name</em>, <em>Last Name</em>, <em>Common Name</em>, <em>User ID</em>, <em>Password</em> and <em>Confirm Password</em> fields. Click <em>OK</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-directory-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-directory-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Note down the distinguished name of the newly created user located in the bottom part of the window.</div>
<h2>Configuring Replication</h2>
<p>The configuration below is for one way synchronization only, from Active Directory to 389 Directory Server. If you need two way synchronization, select <em>Single Master</em> or <em>Multiple Master</em> as the <em>Replica Role</em> and specify a numeric value for <em>Replica ID</em> (ex. 1) instead of using the default which is <em>Dedicated Consumer</em>.</p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click the <em>Configuration</em> tab and click the <em>Replication</em> folder. In the <em>Supplier Settings</em> page, check <em>Enable Changelog</em> and click the <em>Use default</em> button. Click <em>Save</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the + sign corresponding to <em>Replication</em> and click <em>userRoot</em>. Check <em>Enable Replica</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-3.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Type in the distinguished name of sync user account (<em>uid=SMaster,cn=config</em> in the example above) into the <em>Enter a new Supplier DN</em> field and press <em>Add</em>. Click <em>Save</em> when you are done.</div>
<h2>Creating a Windows Sync Agreement</h2>
<p>To synchronize with Active Directory, you need an Active Directory user account. In the sample below, the <em>fds</em> user account (cn=fds,dc=acme,dc=local) has been created in Active Directory specifically for that purpose. <a href="http://www.sharepointgenius.com/create-user-windows-server/#domain-account">Learn how to create a new user account in Windows Server.</a></p>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-4.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click <em>userRoot</em> and click <em>New Windows Sync Agreement</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-agreement-name.png"><img class="preview" alt="Agreement Name" src="/images/centos-5/t-389-ds-agreement-name.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Agreement Name</strong> window, fill in the <em>Name</em> and <em>Description</em> fields and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-windows-sync-info.png"><img class="preview" alt="Windows Sync Server Info" src="/images/centos-5/t-389-ds-windows-sync-info.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Fill in  the <strong>Windows Sync Server Info</strong> form and click <em>Next</em> when you are done. See the sample values below.
<div>&nbsp;</div>
<div class="m">
<strong>Windows Domain Information</strong>
<div class="fw2">Windows Domain Name</div><div><em>acme.local</em></div>
<div class="fw2">Sync New Windows Users</div><div><em>On</em></div>
<div class="fw2">Sync New Windows Groups</div><div><em>On</em></div>
<div class="fw2">Windows Subtree</div><div><em>dc=acme,dc=local</em></div>
<div class="fw2">DS Subtree</div><div><em>dc=acme,dc=local</em></div>
<div class="fw2">Domain Controller Host</div><div><em>server.acme.local</em></div>
<div class="fw2">Port Num</div><div><em>389</em></div>
<br />
<strong>Connection</strong>
<div class="fw2">Using encrypted SSL connection</div><div><em>Off</em></div>
<div class="fw2">Bind as</div><div><em>cn=fds,dc=acme,dc=local</em></div>
<div class="fw2">Password</div><div><em>secret</em></div>
</div>
</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you prefer to enable encrypted SSL connection, you need to <a href="/install-ssl-certificate-fds/">install an SSL certificate in 389 Directory Server</a>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you want the password changes on 389 Directory Server to replicate into the Active Directory Server you need the following
<ul>
<li>A working Single Master/Multiple Master replication</li>
<li>Encrypted SSL connection should be enabled</li>
<li>The bind account (fds in the example above) must have permission to reset user password. The easiest way to accomplish this is to make the bind account a member of Domain Admins.</li>
</ul>
</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you want the password changes on Active Directory Server to replicate into the 389 Directory Server, see <a href="/synch-ad-password-fds/">Synch Active Directory Password to FDS</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-sync-summary.png"><img class="preview" alt="Summary" src="/images/centos-5/t-389-ds-sync-summary.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Review the settings in the <strong>Summary</strong> window and click <em>Done</em>.</div>
<h2>Starting the Synch Process</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-config-5.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-config-5.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click the newly created agreement and click <em>Initiate Full Re-synchronization</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-status-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-status-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the <em>Status</em> tab and click the <em>Replication Status</em> to check if the replication has completed.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-status.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-status.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click the <em>Error Logs</em> under the <em>Logs</em> folder to check for any synch errors.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />Check out <a href="/active-directory-fds-sync-issues/">Active Directory and 389 Directory Server Synchronization Issues</a> for some of the problems you might encounter while implementing this.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/ad-fds-sync-howto/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>389 Directory Server Setup Howto for RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/389-directory-server-setup-howto-centos-5/</link>
		<comments>http://www.linuxmail.info/389-directory-server-setup-howto-centos-5/#comments</comments>
		<pubDate>Sun, 25 May 2008 08:29:30 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/fedora-directory-server-setup-howto-centos-5/</guid>
		<description><![CDATA[How to setup the 389 Directory Server in Red Hat Enterprise Linux 5 or CentOS 5]]></description>
			<content:encoded><![CDATA[<p><strong>389 Directory Server</strong> formerly the <strong>Fedora Directory Server</strong> is an enterprise-class open source LDAP server for Linux. This article will show you how to setup the 389 Directory Server.</p>
<span id="more-78"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure that your host name is properly registered in your DNS or /etc/hosts file. Check if your hostname is registered properly by executing
<pre class="steps">
ping mail.acme.local
</pre>
in a terminal window, replace mail.acme.local with your own host name. If it returns 127.0.0.1 or unknown host that means it is not registered properly. </div>
<h2>Installing 389 Directory Server</h2>
<div class="clearfix steps"><a href="/images/centos-5/yum-update.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-yum-update.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">1. Type in the command below to update your Red Hat Enterprise Linux 5 or CentOS 5 to version 5.3 or higher.
<pre class="steps">
yum update
</pre>
Version 5.3 and above is required to run the 389 Directory Server.
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-yum-fds.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-yum-fds.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Install 389 Directory Server by typing in the commands below in a terminal window. This is the content of <a href="/files/fedora-ds.repo">fedora-ds.repo</a>.
<pre class="steps">
cd /etc/yum.repos.d
wget www.linuxmail.info/files/fedora-ds.repo
yum install 389-ds openldap-clients
</pre>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/create-user-fds.png"><img class="preview" alt="Create New User" src="/images/centos-5/t-create-user-fds.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Create a new user and group named <em>fds</em>. This account will be used to run the fds service. <a href="/how-to-add-remove-user-accounts-centos-5/">Learn how to create a new user.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-setup-ds-admin.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-setup-ds-admin.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Type in <tt>setup-ds-admin.pl</tt> in a terminal window to setup 389 Directory Server. Most of the time, the default is simply accepted indicated by the <strong>&crarr;</strong> in the sample session below.</div>
<pre class="steps">
[root@mail ~]# <span class="h">setup-ds-admin.pl</span>

==============================================================================
This program will set up the 389 Directory and Administration Servers.

It is recommended that you have "root" privilege to set up the software.
Tips for using this program:
  - Press "Enter" to choose the default and go to the next screen
  - Type "Control-B" then "Enter" to go back to the previous screen
  - Type "Control-C" to cancel the setup program

Would you like to continue with set up? [yes]: <span class="h">&crarr;</span>

==============================================================================
BY SETTING UP AND USING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY
AND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE
LICENSE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS
OF THIS AGREEMENT, PLEASE DO NOT SET UP OR USE THIS SOFTWARE.

Do you agree to the license terms? [no]: <span class="h">yes</span>

==============================================================================
Your system has been scanned for potential problems, missing patches,
etc.  The following output is a report of the items found that need to
be addressed before running this software in a production
environment.

389 Directory Server system tuning analysis version 10-AUGUST-2007.



NOTICE : System is i686-unknown-linux2.6.18-53.el5 (1 processor).

WARNING: 376MB of physical memory is available on the system. 1024MB is recommended for best performance on large production system.

NOTICE : The net.ipv4.tcp_keepalive_time is set to 7200000 milliseconds
(120 minutes).  This may cause temporary server congestion from lost
client connections.

WARNING: There are only 1024 file descriptors (hard limit) available, which
limit the number of simultaneous connections.  

WARNING: There are only 1024 file descriptors (soft limit) available, which
limit the number of simultaneous connections.  

Would you like to continue? [no]: <span class="h">yes</span>

==============================================================================
Choose a setup type:

   1. Express
       Allows you to quickly set up the servers using the most
       common options and pre-defined defaults. Useful for quick
       evaluation of the products.

   2. Typical
       Allows you to specify common defaults and options.

   3. Custom
       Allows you to specify more advanced options. This is 
       recommended for experienced server administrators only.

To accept the default shown in brackets, press the Enter key.

Choose a setup type [2]: <span class="h">&crarr;</span>

==============================================================================
Enter the fully qualified domain name of the computer
on which you're setting up server software. Using the form
&lt;hostname&gt;.&lt;domainname&gt;
Example: eros.example.com.

To accept the default shown in brackets, press the Enter key.

Computer name [mail.acme.local]: <span class="h">&crarr;</span>

==============================================================================
The servers must run as a specific user in a specific group.
It is strongly recommended that this user should have no privileges
on the computer (i.e. a non-root user).  The setup procedure
will give this user/group some permissions in specific paths/files
to perform server-specific operations.

If you have not yet created a user and group for the servers,
create this user and group using your native operating
system utilities.

System User [nobody]: <span class="h">fds</span>
System Group [nobody]: <span class="h">fds</span>

==============================================================================
Server information is stored in the configuration directory server.
This information is used by the console and administration server to
configure and manage your servers.  If you have already set up a
configuration directory server, you should register any servers you
set up or create with the configuration server.  To do so, the
following information about the configuration server is required: the
fully qualified host name of the form
&lt;hostname&gt;.&lt;domainname&gt;(e.g. hostname.example.com), the port number
(default 389), the suffix, the DN and password of a user having
permission to write the configuration information, usually the
configuration directory administrator, and if you are using security
(TLS/SSL).  If you are using TLS/SSL, specify the TLS/SSL (LDAPS) port
number (default 636) instead of the regular LDAP port number, and
provide the CA certificate (in PEM/ASCII format).

If you do not yet have a configuration directory server, enter 'No' to
be prompted to set up one.

Do you want to register this software with an existing
configuration directory server? [no]: <span class="h">&crarr;</span>

==============================================================================
Please enter the administrator ID for the configuration directory
server.  This is the ID typically used to log in to the console.  You
will also be prompted for the password.

Configuration directory server
administrator ID [admin]: <span class="h">&crarr;</span>
Password: 
Password (confirm): 

==============================================================================
The information stored in the configuration directory server can be
separated into different Administration Domains.  If you are managing
multiple software releases at the same time, or managing information
about multiple domains, you may use the Administration Domain to keep
them separate.

If you are not using administrative domains, press Enter to select the
default.  Otherwise, enter some descriptive, unique name for the
administration domain, such as the name of the organization
responsible for managing the domain.

Administration Domain [acme.local]: <span class="h">&crarr;</span>

==============================================================================
The standard directory server network port number is 389.  However, if
you are not logged as the superuser, or port 389 is in use, the
default value will be a random unused port number greater than 1024.
If you want to use port 389, make sure that you are logged in as the
superuser, that port 389 is not in use.

Directory server network port [389]: <span class="h">&crarr;</span>

==============================================================================
Each instance of a directory server requires a unique identifier.
This identifier is used to name the various
instance specific files and directories in the file system,
as well as for other uses as a server instance identifier.

Directory server identifier [mail]: <span class="h">&crarr;</span>

==============================================================================
The suffix is the root of your directory tree.  The suffix must be a valid DN.
It is recommended that you use the dc=domaincomponent suffix convention.
For example, if your domain is example.com,
you should use dc=example,dc=com for your suffix.
Setup will create this initial suffix for you,
but you may have more than one suffix.
Use the directory server utilities to create additional suffixes.

Suffix [dc=acme, dc=local]: <span class="h">&crarr;</span>

==============================================================================
Certain directory server operations require an administrative user.
This user is referred to as the Directory Manager and typically has a
bind Distinguished Name (DN) of cn=Directory Manager.
You will also be prompted for the password for this user.  The password must
be at least 8 characters long, and contain no spaces.

Directory Manager DN [cn=Directory Manager]: <span class="h">&crarr;</span>
Password: 
Password (confirm): 

==============================================================================
The Administration Server is separate from any of your web or application
servers since it listens to a different port and access to it is
restricted.

Pick a port number between 1024 and 65535 to run your Administration
Server on. You should NOT use a port number which you plan to
run a web or application server on, rather, select a number which you
will remember and which will not be used for anything else.

Administration port [9830]: <span class="h">&crarr;</span>

==============================================================================
The interactive phase is complete.  The script will now set up your
servers.  Enter No or go Back if you want to change something.

Are you ready to set up your servers? [yes]: <span class="h">&crarr;</span>
Creating directory server . . .
Your new DS instance 'mail' was successfully created.
Creating the configuration directory server . . .
Beginning Admin Server creation . . .
Creating Admin Server files and directories . . .
Updating adm.conf . . .
Updating admpw . . .
Registering admin server with the configuration directory server . . .
Updating adm.conf with information from configuration directory server . . .
Updating the configuration for the httpd engine . . .
Starting admin server . . .
The admin server was successfully started.
Admin server was successfully created, configured, and started.
Exiting . . .
Log file is '/tmp/setupcT78dr.log'

[root@mail ~]# 
</pre>
<div id="setup-ssl" class="clearfix steps"><a href="/images/centos-5/terminal-setup-fds-ssl.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-setup-fds-ssl.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Setup the 389 Directory Server SSL by executing the commands below in a terminal window</div>
<div class="clearfix steps">
<pre class="steps scroll">
wget http://github.com/richm/scripts/tree/master%2Fsetupssl2.sh?raw=true -O setupssl2.sh
chmod +x setupssl2.sh
./setupssl2.sh /etc/dirsrv/slapd-<strong>mail</strong>
</pre>
Replace <strong>mail</strong> with your own server instance. During setup, you will be asked for the password of directory manager.
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config.png"><img class="preview" alt="CentOS 5 Service Configuration" src="/images/centos-5/t-service-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Restart the <em>dirsrv</em>, <em>dirsrv-admin</em> and <em>httpd</em> service. <a href="/how-to-start-stop-services-centos-5/">Learn how to stop and start services here.</a></div>
<h2 id="fds-admin">Administering 389 Directory Server</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-login.png"><img class="preview" alt="FDS Console Login" src="/images/centos-5/t-389-ds-console-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. From a terminal window, type in <tt>389-console</tt>. This will launch the <strong>389 Management Console Login</strong> window.
<div>&nbsp;</div>
<div class="m">
    <div class="fw">User ID</div><div><em>cn=directory manager</em></div>
    <div class="fw">Password</div><div><em>the directory manager password</em></div>
    <div class="fw">Administration URL</div><div><em>localhost:9830</em></div>
    <div>&nbsp;</div>
The values above assumes you have used the default values.
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console.png"><img class="preview" alt="389 Management Console " src="/images/centos-5/t-389-ds-console.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Success. <a href="/389-management-console-howto/">Learn more about using the 389 Management Console</a>.</div>
<h2>Related Pages</h2>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-ad.png"><img class="preview" alt="JXplorer Active Directory" src="/images/centos-5/t-jxplorer-ad.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/postfix-dovecot-ldap-centos-5/">Active Directory/LDAP virtual users in Postfix and Dovecot</a></div>
<div class="clearfix steps"><a href="/images/centos-5/fds-ds-config-5.png"><img class="preview" alt="Fedora Management Console" src="/images/centos-5/t-fds-ds-config-5.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/ad-fds-sync-howto/">Active Directory and Fedora Directory Server Sychronization Howto</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/389-directory-server-setup-howto-centos-5/feed/</wfw:commentRss>
		<slash:comments>68</slash:comments>
		</item>
	</channel>
</rss>
