72da2df Resolves: bug 237356

Authored and Committed by rmeggins 17 years ago
    Resolves: bug 237356
    Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash
    Reviewed by: nhosoi (Thanks!)
    Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code.
    1) Added LDIF templates for DS config.  template-dse.ldif is the core minimal directory server configuration.  Values can be replaced with parameters in the same style as used with register_server.pl - %token%.  For the plugin entries, the plugin shared library name is now just a name.  There is no more full path.  The code in dynalib.c handles this case by using the compiled in PLUGINDIR.  The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform.   All of this allows us to do 2).
    2) Added ability to run pwdhash with no server configuration.  If no configuration is given, it uses the template-dse.ldif above.  And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes.  This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum.
    3) Added defaultuser and defaultgroup.
    4) Added support for continuation lines in Inf files.
    5) All user visible messages during setup should be localizable
    Platforms tested: RHEL4
    Flag Day: Yes, autotool file changes.
    Doc impact: Yes, along with the previous fixes for this bug.
    
        
file modified
+22 -4
file modified
+23 -4
file modified
+28 -6
file modified
+164 -57
file modified
+7 -3
file modified
+28 -9
ldap/admin/src/scripts/SetupDialogs.pm.in ldap/admin/src/scripts/SetupDialogs.pm
file renamed
+2 -2
ldap/admin/src/scripts/Util.pm.in ldap/admin/src/scripts/Util.pm
file renamed
+26 -8
file modified
+6 -4
file modified
+55 -4