[Fedora-directory-commits] adminserver/admserv/newinst/insadm config.c, 1.7, 1.8

Noriko Hosoi (nhosoi) fedora-directory-commits at redhat.com
Fri May 12 00:41:37 UTC 2006


Author: nhosoi

Update of /cvs/dirsec/adminserver/admserv/newinst/insadm
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20170/admserv/newinst/insadm

Modified Files:
	config.c 
Log Message:
[161099] admin passwd in clear text in adm.conf
1) ns-update (ux-update.cc) stops storing admin password (siepid) in adm.conf.
   And by calling psetCreate, it generates the local cache file local.conf in
   the post install phase.
2) ns-update links with adminutil and its dependent components.
   ns-update has RPATH pointing the components' location.
3) got rid of the code retrieving the admin password from adm.conf from 
   ns-config (ux-config.cc) and ns-remove (ux-remove.cc).  Both has the info 
   input by the user.
4) CGI debug (download.c)



Index: config.c
===================================================================
RCS file: /cvs/dirsec/adminserver/admserv/newinst/insadm/config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- config.c	1 Feb 2006 23:04:33 -0000	1.7
+++ config.c	12 May 2006 00:41:30 -0000	1.8
@@ -471,18 +471,17 @@
                );
     }
 
+    /* we don't store the admin password any more */
     fprintf(fp,
             "ldapHost: %s\n"
             "ldapPort: %d\n"
             "SIE: %s\n"
-            "siepid: %s\n"
             "ISIE: %s\n"
             "host: %s\n"
             "port: %d\n",
             GetLdapHost(),
             GetLdapPort(),
             szTemp,
-            cd.szPassword,
             szTemp1,
             cd.szHostname,
             cd.nPort




More information about the Fedora-directory-commits mailing list