[Fedora-directory-devel] Commit: [Bug 237356] Move DS Admin Code into Admin Server (server registration script)
Noriko Hosoi
nhosoi at redhat.com
Wed Jun 13 18:18:42 UTC 2007
Summary: Move DS Admin Code into Admin Server
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237356
------- Additional Comments From nhosoi at redhat.com 2007-06-13 13:50 EST -------
Created an attachment (id=156895)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=156895&action=view)
cvs commit message (comment #58)
Reviewed by Rich (Thank you!!)
Checked in into HEAD.
> Summary: Move DS Admin Code into Admin Server
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237356
>
> The script register_server.pl and its ldif template files / map file
> are going
> to be used by the new Setup module to register the servers to the
> Configuration
> Directory Server.
>
> ------- Additional Comments From nhosoi at redhat.com 2007-06-12 19:40
> EST -------
> Created an attachment (id=156834)
> -->
> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=156834&action=view)
>
> cvs diff Makefile.am and new files (including server registration script)
>
> Enhanced the proposal in the Comment #37. (attached at the bottom)
>
> [New functionalities]
> 1. support registering multiple DSes
> -i "setup0000.inf setup0001.inf setup0002.inf ..."
> 2. added a fresh registeration option "-F"
> by default, addition mode
> 3. tighter error checking and better error reporting
>
> # Usage: register_server.pl [ -h <host> ] [ -p <port> ] [ -D <rootdn> ] \
> # -w <rootdnpw> [ -d <default_infdir> ] \
> # -i <inffile(s)> -m <mapfile> <ldiffile> ...
> #
> # Description: Store server info stored in the ldiffiles to the
> Configuration
> # Directory Server replacing the macros with the defined values
> # in the map file.
> #
> # -h <host>: configuration server host (localhost, by default)
> # -p <port>: configuration server port (389)
> # -D <rootdn>: configuration server's rootdn ("cn=Directory Manager")
> # -w <rootdnpw>: configuration server's rootdn password
> # -d <default_infdir>: the directory where static .inf files are located
> # ("/usr/share/fedora-ds/inf")
> # -i <inffile(s)>: dynamic .inf file(s)
> # -m <mapfile>: map file name
> # <ldiffile> ...: ldif file(s) or template ldif file(s) to be stored in
> # the Configuration Directory Server
>
>
>
> Comment #37
> <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237356#c37> From
> Noriko Hosoi (nhosoi at redhat.com <mailto:nhosoi at redhat.com>)
>
>
>
> on 2007-06-06 16:11 EST
>
>
>
> [reply
> <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237356#add_comment>]
>
>
>
>
> Private
>
> Created an attachment (id=156389)
> <https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=156389> [edit
> <https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=156389&action=edit>]
>
> cvs diff Makefile.am and new files
>
> Modifiled File:
> Makefile.am
> Change description:
> - Added following new files to install
> - Added PACKAGE_BASE_NAME and helpdir to the fixupcmd to substitute
> in the build
>
> New Files:
> admserv/newinst/src/register_param.map.in
> --- parameter map file used by register_server.pl to resolve the %...%
> format parameters in the template ldif files.
> admserv/newinst/src/register_server.pl.in
> --- script to resolve the parameters in the template ldif files and
> add
> the server info entries to the Configuration Directory Server.
> This script is supposed to be called after the server instance
> creation.
> admserv/schema/ldif/00nsroot_backend.ldif
> admserv/schema/ldif/01nsroot.ldif.tmpl
> admserv/schema/ldif/02globalpreferences.ldif.tmpl
> admserv/schema/ldif/10dsdata.ldif.tmpl
> admserv/schema/ldif/11dstasks.ldif.tmpl
> admserv/schema/ldif/20asdata.ldif.tmpl
> admserv/schema/ldif/21astasks.ldif.tmpl
> admserv/schema/ldif/22ascommands.ldif.tmpl
> --- (template) ldif files
>
>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-devel mailing list
> Fedora-directory-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20070613/158be7fd/attachment.bin>
More information about the Fedora-directory-devel
mailing list