[Freeipa-devel] [PATCH] A script to register Fedora Directory Admin Server with a FreeIPA-created Directory Server instance

Simo Sorce ssorce at redhat.com
Fri Dec 19 02:31:47 UTC 2008


On Wed, 2008-12-17 at 12:33 +0100, Aleksander Adamowski wrote:
> Hi!
> 
> I've played around with the latest FreeIPA server (1.2.1) and wanted a
> comfortable method for customising the Directory Server schema, ACIs,
> et cetera.
> 
> The ideal tool for this is the fedora-idm-console. However, it
> requires a working administration server instance and that the
> directory server instance is registered with it.
> 
> There seem to be no existing tools for this task, so I took the
> setup-ds-admin.pl script, trimmed it down so that only the bits
> related to admin server instance creation are there (turned out quite
> short) and supplied my own setup .INF file to configure its
> invocation.
> 
> It worked fine and now I can use fedora-idm-console with FreeIPA's
> directory server instance. So I've figured I could post back this
> trimmed down script and .INF file in case someone want to do a similar
> thing.
> 
> The procedure is as follows:
> 1) Download the setup-register-admin.inf.txt, rename it to
> setup-register-admin.inf and customise it to your installation
> 2) Download setup-admin.pl and run it, specifying the inf file on
> command line: "..../setup-admin.pl --file=setup-register-admin.inf"
> 3) It should ask the usual setup questions. If all goes well, try
> accessing the admin server with fedora-idm-console (the administration
> URL will be http://YOUR_HOSTNAME:9830).
> 4) There might be no directory server instance visible in the servers
> tree (I don't remember  whether setup-admin.pl registers FDS instance
> in configuration DS). If that's the case, run register-ds-admin.pl to
> register your directory server instance in configuration DS. The
> directory server should then appear in fedora-idm-console's server
> group tree.

Thank you Aleksander, this is extremely cool.
I wonder if we could automate the process through a python script to
make the process easier.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list