[Fedora-directory-devel] Commit: [Bug 237356] Move DS Admin Code into Admin Server (server registration script)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Summary: Move DS Admin Code into Admin Server

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237356

------- Additional Comments From nhosoi@xxxxxxxxxx  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@xxxxxxxxxx 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@xxxxxxxxxx <mailto:nhosoi@xxxxxxxxxx>)
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux