osaf/tools/safimm/immcfg/imm_cfg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Set admin-owner to parent object with SA_IMM_ONE scope when creating objects
with immcfg.
diff --git a/osaf/tools/safimm/immcfg/imm_cfg.c
b/osaf/tools/safimm/immcfg/imm_cfg.c
--- a/osaf/tools/safimm/immcfg/imm_cfg.c
+++ b/osaf/tools/safimm/immcfg/imm_cfg.c
@@ -548,7 +548,7 @@ int object_create(const SaNameT **object
parentNames[0] = parentName;
VERBOSE_INFO("call saImmOmAdminOwnerSet for
parent: %s\n", parent);
- if ((error =
immutil_saImmOmAdminOwnerSet(ownerHandle, parentNames, SA_IMM_SUBTREE)) !=
SA_AIS_OK) {
+ if ((error =
immutil_saImmOmAdminOwnerSet(ownerHandle, parentNames, SA_IMM_ONE)) !=
SA_AIS_OK) {
if (error == SA_AIS_ERR_NOT_EXIST)
fprintf(stderr, "error - parent
'%s' does not exist\n", osaf_extended_name_borrow(&dn));
else {
------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel