dmlite::StackInstance stack(&manager);
+#if 0
+ {
+ dmlite::SecurityContext root;
+ dmlite::UserInfo user;
+ dmlite::GroupInfo group;
+
+ user.name = "root";
+ user["uid"] = 0;
+
+ group.name = "wheel";
+ group["gid"] = 0;
+
+ root.user = user;
+ root.groups.push_back(group);
+
+ stack.setSecurityContext(root);
+ }
+#endif
+#if 1
// Set security credentials
dmlite::SecurityCredentials creds;
<< "Reason: " << e.what() << std::endl;
return 1;
}
+#endif
// Action
dmlite::Catalog* catalog = stack.getCatalog();