31a4e27 Resolves: bug 234420

Authored and Committed by rmeggins 17 years ago
52 files changed. 9125 lines added. 6167 lines removed.
Makefile.am
file modified
+44 -9
Makefile.in
file modified
+427 -118
NEWS
file added
+4
README
file added
+11
aclocal.m4
file modified
+1164 -883
adminutil.pc.in
file added
+11
adminutil.spec
file added
+90
compile
file modified
+7 -5
config.guess
file modified
+277 -261
config.sub
file modified
+54 -30
configure
file modified
+2820 -3278
configure.ac
file modified
+17 -3
depcomp
file modified
+34 -26
include/libadminutil/admutil.h
file modified
+67 -71
include/libadminutil/distadm.h
file modified
+1 -6
include/libadminutil/psetc.h
file modified
+29 -5
include/libadminutil/resource.h
file modified
+61 -15
include/libadmsslutil/admsslutil.h
file modified
+12 -17
include/libadmsslutil/certmgt.h
file modified
+2 -68
include/libadmsslutil/sslpset.h
file removed
-125
install-sh
file modified
+9 -8
lib/libadminutil/acclanglist.c
file added
+219
lib/libadminutil/admutil.c
file modified
+368 -160
lib/libadminutil/admutil_pvt.h
file modified
+0 -1
lib/libadminutil/dbtadmutil.h
file modified
+2 -1
lib/libadminutil/distadm.c
file modified
+39 -51
lib/libadminutil/errRpt.c
file modified
+19 -12
lib/libadminutil/form_post.c
file modified
+14 -9
lib/libadminutil/libadminutil.properties
file modified
+52 -46
lib/libadminutil/psetc.c
file modified
+207 -134
lib/libadminutil/resource.c
file modified
+133 -26
lib/libadminutil/srvutil.c
file modified
+42 -22
lib/libadminutil/uginfo.c
file modified
+4 -9
lib/libadmsslutil/admsslutil.c
file modified
+64 -402
lib/libadmsslutil/certmgt.c
file modified
+0 -223
lib/libadmsslutil/psetcssl.c
file modified
+57 -23
lib/libadmsslutil/secpwd.c
file modified
+4 -0
lib/libadmsslutil/srvutilssl.c
file modified
+3 -1
lib/libadmsslutil/uginfossl.c
file modified
+8 -17
ltmain.sh
file modified
+105 -57
m4/fhs.m4
file added
+34
m4/icu.m4
file modified
+1 -1
m4/mozldap.m4
file modified
+8 -7
missing
file modified
+15 -8
tests/nsroot.ldif
file added
+1863
tests/psetread.c
file added
+107
tests/psetreadssl.c
file added
+130
tests/psetwrite.c
file added
+184
tests/readme.txt
file modified
+26 -10
tests/retrieveSIE.c
file modified
+10 -19
tests/retrieveSIEssl.c
file added
+175
tests/setup.sh
file added
+91
    Resolves: bug 234420
    Bug Description: adminutil: Use FHS paths and general code cleanup
    Reviewed by: nkinder (Thanks!)
    Fix Description:
    1) Added a propertydir parameter to Makefile.am.  This is where the .res files go.  This also gets baked into the code so that the library knows where to find them.
    2) The icu code expects the .res files to be in a packagename directory - packagename/foo.res not packagename_foo.res.  I don't know how this ever worked.  I also added en_US.res and en.res - icu recommends having the actual locale file rather than just falling back to the default root.res - see http://icu-project.org/userguide/ResourceManagement.html
    3) There was quite a bit of dead code that I got rid of
    4) Fixed many compiler warnings
    5) There were quite a few memory leaks.  The biggest one was probably in psetDelete, which did not actually delete the pset.  Another one was the resource string handling - this returns malloc'd memory, and was never freed.  I added the option to pass in a static sized buffer to hold the resource string - this may be truncated but we usually won't care.  There were several places where the code was calling PR_Free on a data structure pointer - doing a "shallow" free rather than a "deep" free of all of the pointers in the data structure.
    6) I merged in configuration from dbswitch.conf and other config files so that we could get rid of them and just have adm.conf.  We'll have to take care of this during migration.
    Platforms tested: RHEL4, FC6
    Flag Day: no
    Doc impact: no
    
        
file modified
+44 -9
file modified
+427 -118
file added
+4
file added
+11
file modified
+1164 -883
file added
+11
file added
+90
file modified
+7 -5
file modified
+277 -261
file modified
+54 -30
file modified
+2820 -3278
file modified
+17 -3
file modified
+34 -26
file modified
+67 -71
file modified
+29 -5
file modified
+61 -15
file modified
+9 -8
file modified
+368 -160
file modified
+39 -51
file modified
+19 -12
file modified
+14 -9
file modified
+207 -134
file modified
+133 -26
file modified
+42 -22
file modified
+4 -9
file modified
+64 -402
file modified
+0 -223
file modified
+57 -23
file modified
+4 -0
file modified
+8 -17
file modified
+105 -57
file added
+34
file modified
+1 -1
file modified
+8 -7
file modified
+15 -8
file added
+1863
file added
+107
file added
+130
file added
+184
file modified
+26 -10
file modified
+10 -19
file added
+175
file added
+91