osaf/services/saf/smfsv/config/smfd.conf | 3 ---
osaf/services/saf/smfsv/smfd/smfd_main.c | 1 +
2 files changed, 1 insertions(+), 3 deletions(-)
This is the SMF part of #1124.
Exporting "SA_ENABLE_EXTENDED_NAMES" shall be removed from configuration file
of SMFD.
SMFD shall always set the "SA_ENABLE_EXTENDED_NAMES" environmental variable at
beginning of its main function.
diff --git a/osaf/services/saf/smfsv/config/smfd.conf
b/osaf/services/saf/smfsv/config/smfd.conf
--- a/osaf/services/saf/smfsv/config/smfd.conf
+++ b/osaf/services/saf/smfsv/config/smfd.conf
@@ -20,6 +20,3 @@ export SMF_IMM_PERSIST_CMD="immdump /etc
# Uncomment the next line to enable info level logging
#args="--loglevel=info"
-
-#Enable long DN support
-export SA_ENABLE_EXTENDED_NAMES=1
diff --git a/osaf/services/saf/smfsv/smfd/smfd_main.c
b/osaf/services/saf/smfsv/smfd/smfd_main.c
--- a/osaf/services/saf/smfsv/smfd/smfd_main.c
+++ b/osaf/services/saf/smfsv/smfd/smfd_main.c
@@ -362,6 +362,7 @@ static void main_process(void)
*/
int main(int argc, char *argv[])
{
+ setenv("SA_ENABLE_EXTENDED_NAMES", "1", 1);
daemonize(argc, argv);
if (ncs_agents_startup() != NCSCC_RC_SUCCESS) {
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel