Latest 389-ds with console

Just wanted to provide a checkpoint for anyone who could use it out there. Following is the latest package list for a complete 389 Directory install on Scientific Linux 6.1 from EPEL and Fedora People (389-base comes from FP due to upstream’s shipping of a crippled version for its paying customers — I know there’s a joke in there somewhere but I just don’t get it).

389-ds-base-1.2.9.9-1.el6.x86_64
389-ds-base-libs-1.2.9.9-1.el6.x86_64
389-ds-base-devel-1.2.9.9-1.el6.x86_64
389-admin-1.1.25-1.el6.x86_64
389-adminutil-1.1.14-2.el6.x86_64
389-admin-console-1.1.8-1.el6.noarch
389-admin-console-doc-1.1.8-1.el6.noarch
389-ds-console-1.2.6-1.el6.noarch
389-ds-console-doc-1.2.6-1.el6.noarch
389-console-1.1.7-1.el6.noarch
389-dsgw-1.1.7-2.el6.x86_64

Note that all those “console” packages are indeed needed to make the damn gui console work.

Here are some prereqs:

nss-3.12.10-2.el6_1.x86_64
nss-softokn-3.12.9-3.el6.x86_64
nspr-4.8.8-1.el6_1.x86_64
cyrus-sasl-gssapi-2.1.23-8.el6.x86_64
db4-utils-4.7.25-16.el6.x86_64
java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10.el6_1.x86_64
jpackage-utils-1.7.5-3.12.el6.noarch
ldapjdk-4.18-6.el6.x86_64
idm-console-framework-1.1.7-2.el6.noarch
perl-Mozilla-LDAP-1.5.3-4.el6.x86_64

To register an existing “headless” (i.e. without the admin server and console) instance of directory server with a newly installed admin server run:

setup-ds-admin -u

and follow the prompts.

If you get a recurring selinux error just go ahead and create the directory it says it can’t find:

mkdir /etc/selinux/targeted/policy

and re-run the script to confirm it can complete without error.

As everyone knows, I’m not a big fan of the “389 Management Console” (or any of its predecessors for that matter, going all the way back to the iPlanet console that so often caused a knot in my gut when it crashed and brought down the directory server with it — yes, I was young once too and easily panicked). But there are times when it comes in handy. Besides, it seemed like the long Thanksgiving weekend was the perfect time to hack around in that old Directory Server GateWay (DSGW) code, and getting the admin server up and running was a prerequisite to installing it.