summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordenise.eckstein <denise.eckstein>2008-11-07 02:05:47 +0000
committerdenise.eckstein <denise.eckstein>2008-11-07 02:05:47 +0000
commit24df11f08881823cf43f5273d835c5643810a6f5 (patch)
treef6b3b189060e5099b29d7944fbfd8c00bc92189e
parentece5fdb66cfe9ddc1a72dc4e4cb2cb2966c679c2 (diff)
downloadtog-pegasus-24df11f08881823cf43f5273d835c5643810a6f5.zip
tog-pegasus-24df11f08881823cf43f5273d835c5643810a6f5.tar.gz
tog-pegasus-24df11f08881823cf43f5273d835c5643810a6f5.tar.xz
BUG#: 8089
TITLE: TestClientOSProvider failure on HP-UX if Provider runs in non-privileged context DESCRIPTION: Temporarily restrict the change to run the OS, Computer System and Process Providers in the context of the requesting user to only Linux.
-rw-r--r--Schemas/Pegasus/ManagedSystem/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Schemas/Pegasus/ManagedSystem/Makefile b/Schemas/Pegasus/ManagedSystem/Makefile
index 7b4680b..43272e4 100644
--- a/Schemas/Pegasus/ManagedSystem/Makefile
+++ b/Schemas/Pegasus/ManagedSystem/Makefile
@@ -59,6 +59,12 @@ ifeq ($(OS), VMS)
FILE_PREFIX=HPUX
endif
+ifeq ($(OS), linux)
+ ifndef PEGASUS_DISABLE_PROV_USERCTXT
+ SET_USER_CONTEXT_TO_REQUESTOR = true
+ endif
+endif
+
ifeq ($(MANAGEDSYSTEM_NS_SUPPORTED),true)
repository:
@ $(ECHO) +++++ Loading CIM_Schema$(CIM_SCHEMA_VER) into $(MANAGEDSYSTEMNS) namespace ...
@@ -67,7 +73,7 @@ repository:
@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(PG_INTEROP_MOF_PATH)" "-n$(MANAGEDSYSTEMNS)" "$(PG_INTEROP_MOF_PATH)/PG_Events$(PG_INTEROP_SCHEMA_VER).mof"
@ $(ECHO) +++++ Loading PG_ManagedSystemSchema$(PG_SCHEMA_VER) into $(MANAGEDSYSTEMNS) namespace ...
@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(PG_MOF_PATH)" "-n$(MANAGEDSYSTEMNS)" "$(PG_MOF_PATH)/PG_ManagedSystemSchema$(PG_SCHEMA_VER).mof"
-ifdef PEGASUS_DISABLE_PROV_USERCTXT
+ifndef SET_USER_CONTEXT_TO_REQUESTOR
@ $(ECHO) +++++ Registering Providers for PG_ManagedSystemSchema$(PG_SCHEMA_VER) ...
@ $(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(PG_MOF_PATH)" "-n$(INTEROPNS)" "$(PG_MOF_PATH)/PG_ManagedSystemSchema$(PG_SCHEMA_VER)R.mof"
else