[Fedora-directory-commits] ldapserver/ldap/servers/plugins/http http_impl.c, 1.8, 1.9
Noriko Hosoi (nhosoi)
fedora-directory-commits at redhat.com
Fri Oct 13 01:06:29 UTC 2006
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts template-bak2db.pl, 1.5, 1.6 template-db2bak.pl, 1.4, 1.5 template-db2index.pl, 1.5, 1.6 template-db2ldif.pl, 1.4, 1.5 template-ldif2db.pl, 1.4, 1.5 template-ns-accountstatus.pl, 1.4, 1.5 template-ns-activate.pl, 1.4, 1.5 template-ns-inactivate.pl, 1.4, 1.5
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/rever des.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/http
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23608/ldap/servers/plugins/http
Modified Files:
http_impl.c
Log Message:
[208672] parameterizing the hardcoded paths (phase 2. db, log, lock, pid, cert, and instance dir)
1) introduced these 3 new config attributes:
nsslapd-lockdir, nsslapd-tmpdir, nsslapd-certdir,
and eliminated: nsslapd-instancedir.
2) replaced the hardcoded paths with the corresponding attribute value in the
server as well as in the create/remove instance codes.
3) moved snmp stats file to the nsslapd-tmpdir
4) moved the server instance dir to <prefix>/lib/<brand>-ds/slapd-<id>
Index: http_impl.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/http/http_impl.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- http_impl.c 11 Apr 2006 02:14:40 -0000 1.8
+++ http_impl.c 13 Oct 2006 01:06:27 -0000 1.9
@@ -326,7 +326,7 @@
NSS_Shutdown();
nssFlags &= (~NSS_INIT_READONLY);
- val = config_get_instancedir();
+ val = config_get_certdir();
PL_strncpyz(certDir, val, sizeof(certDir));
defaultprefix = strrchr(certDir, '/');
if (!defaultprefix)
@@ -336,8 +336,6 @@
defaultprefix++;
PR_snprintf(certPref, 1024, "%s-",defaultprefix);
PL_strncpyz(keyPref, certPref, sizeof(keyPref));
- *defaultprefix= '\0';
- PR_snprintf(certDir, 1024, "%salias", certDir);
nssStatus = NSS_Initialize(certDir, certPref, keyPref, "secmod.db", nssFlags);
slapi_ch_free((void **)&val);
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts template-bak2db.pl, 1.5, 1.6 template-db2bak.pl, 1.4, 1.5 template-db2index.pl, 1.5, 1.6 template-db2ldif.pl, 1.4, 1.5 template-ldif2db.pl, 1.4, 1.5 template-ns-accountstatus.pl, 1.4, 1.5 template-ns-activate.pl, 1.4, 1.5 template-ns-inactivate.pl, 1.4, 1.5
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/rever des.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list