{"id":601,"date":"2010-08-02T01:12:49","date_gmt":"2010-08-02T06:12:49","guid":{"rendered":"http:\/\/yourLinuxGuy.com\/?p=601"},"modified":"2019-09-01T18:51:20","modified_gmt":"2019-09-01T23:51:20","slug":"installconfigure-edirectory-8-8-5-on-opensuse-11-1","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=601","title":{"rendered":"How to install\/configure eDirectory 8.8.5 on Opensuse"},"content":{"rendered":"<p><em><span style=\"color: #800000;\">UPDATE<\/span> (post-publish), 20100806:&nbsp; Though this post was originally tested entirely on 32-bit Opensuse 11.1, thanks to the prompt by Philip (see comments below), I  have set up and tested this config on 64-bit Opensuse 11.3 with the  64-bit eDirectory 8.8sp5.&nbsp; I can confirm that it works well.&nbsp; Now back to the original post&#8230;<br \/>\n<\/em><\/p>\n<p>A little while ago, I had to get a quick lab up with two redundant LDAP servers for application testing.&nbsp; I had some Opensuse 11.1 32-bit VM images lying around, and I chose eDirectory, for ease of administration and setup in my short time available.&nbsp; This is a quick way to get a high-quality, fault-tolerant <em>free directory server<\/em> on a <em>free OS<\/em>&#8230;<\/p>\n<p>Of course, I happened to take notes (as I usually do), and thought I&#8217;d post them here for anyone who might be interested in doing the same.<\/p>\n<p>In the following example environment, the two servers are &#8220;node1&#8221; (192.168.6.11) and &#8220;node2&#8221; (192.168.6.12), in the eDirectory tree called &#8220;NODETREE&#8221;.&nbsp; The rest should be obvious&#8230;<\/p>\n<p>First, install the required supporting library:<\/p>\n<pre><code>zypper in libstdc++33<\/code><\/pre>\n<p>Get the eDirectory files from Novell:<br \/>\n<a href=\"http:\/\/download.novell.com\/Download?buildid=Um8b-a_q0-g~\">eDirectory_88SP5_Linux_i586.tar.gz<\/a><\/p>\n<p>&#8230;and unzip it, and run setup:<\/p>\n<pre><code>cd \/tmp\/eDirectory\/setup\n.\/nds-install<\/code><\/pre>\n<p>Ignore this &#8220;unsupported&#8221; warning. If we could enter &#8220;Of course!&#8221;, we would, but we can&#8217;t. Just enter &#8220;y&#8221;&#8230;.<br \/>\n<code>%%% Warning: This is not a supported platform for eDirectory 8.8.5. Please refer to NOVELL Documentation for information on supported platforms. Do you want to Continue&nbsp; '[y\/n\/q] ? '<\/code><\/p>\n<p>You are prompted to agree to the license&#8230; &#8230;yes, you agree to the license&#8230;. \ud83d\ude09<br \/>\nPress &#8220;<code>q<\/code>&#8221; to quit viewing, and &#8220;<code>y<\/code>&#8221; to agree.<\/p>\n<p>You are prompted to &#8220;<code>Select the components you wish to install..<\/code>&#8221;<br \/>\nChoose option <code>1<\/code> to install the server (or <code>1,2<\/code> for all). It will install needed packages.<\/p>\n<p>Reboot.<\/p>\n<p>Now edit the eDirectry &#8220;hosts&#8221; config file, since it is a closed environment.&nbsp; I&#8217;m starting on node2 for some strange reason, so I add that as the address of the tree here:<\/p>\n<pre><code>vi \/etc\/opt\/novell\/eDirectory\/conf\/hosts.nds<\/code><\/pre>\n<p>&#8230;and create the following entry:<\/p>\n<pre><code>NODETREE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.6.12<\/code><\/pre>\n<p>If you&#8217;re not using DNS in your lab, you might want to make sure all eDir servers are in the hosts file.&nbsp; Either way, just make sure they are resolvable:<\/p>\n<pre><code>vi \/etc\/hosts<\/code><\/pre>\n<p>&#8230;and create the following entries:<\/p>\n<pre><code>node1       192.168.6.11\nnode2       192.168.6.12<\/code><\/pre>\n<p>Now run <code>ndsconfig<\/code> with the required parameters.&nbsp;  Here is my example to build a new tree with the first of two servers (again, mine happens to use node2 first, but either server is fine to build the tree):<\/p>\n<pre><code>\/opt\/novell\/eDirectory\/bin\/ndsconfig new -t nodetree -n ou=Services.o=CORP -a cn=admin.o=CORP -i -S node2 -B 192.168.6.12<\/code><\/pre>\n<p>&#8230;and you will be asked for the new Admin password and the NDS (whoops, eDirectory) instance and DIB location.<\/p>\n<p>Add the other server to that previously-created tree (after repeating the install procedures on the second server):<\/p>\n<pre><code>\/opt\/novell\/eDirectory\/bin\/ndsconfig add -S node1 -t nodetree -n ou=Services.o=CORP -a cn=admin.o=CORP -B 192.168.6.11 -p 192.168.6.12<\/code><\/pre>\n<p>&#8230;and that&#8217;s it!  You&#8217;re up and running, and ready for LDAP requests.  Of course, you might want to create an OU for users (perhaps ou=users,o=CORP), and some users, etc., etc., etc&#8230;<\/p>\n<p>\ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE (post-publish), 20100806:&nbsp; Though this post was originally tested entirely on 32-bit Opensuse 11.1, thanks to the prompt by Philip (see comments below), I have set up and tested this config on 64-bit Opensuse 11.3 with the 64-bit eDirectory 8.8sp5.&nbsp;&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=601\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[96,11,98,95,58,94],"tags":[],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-edirectory","category-intermediate","category-ndsconfig","category-novellgeneral","category-opensuse111","category-opensuse11-3"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-9H","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=601"}],"version-history":[{"count":12,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/601\/revisions"}],"predecessor-version":[{"id":1212,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/601\/revisions\/1212"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}