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

Aleksander Adamowski freeipa at olo.org.pl
Wed Dec 17 11:33:28 UTC 2008


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.

-- 
Best Regards,
  Aleksander Adamowski
  http://olo.org.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-admin.pl
Type: application/octet-stream
Size: 4211 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20081217/6ae38164/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setup-register-admin.inf.txt
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20081217/6ae38164/attachment.txt>


More information about the Freeipa-devel mailing list