User manager: implement dummy group APIs
This is needed to unblock the SRCREV bump in
[1] https://gerrit.openbmc.org/c/openbmc/openbmc/+/58690
Tested:
the daemon compiles. Romolus QEMU testing also passed.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I530dcb2e19b47872c985d8273bc41f7ff6d5d62d
diff --git a/user_mgr.cpp b/user_mgr.cpp
index adfa6ab..90631ee 100644
--- a/user_mgr.cpp
+++ b/user_mgr.cpp
@@ -1357,5 +1357,17 @@
return executeCmd("/usr/sbin/pam_tally2", "-u", userName);
}
+void UserMgr::createGroup(std::string /*groupName*/)
+{
+ log<level::ERR>("Not implemented yet");
+ elog<InternalFailure>();
+}
+
+void UserMgr::deleteGroup(std::string /*groupName*/)
+{
+ log<level::ERR>("Not implemented yet");
+ elog<InternalFailure>();
+}
+
} // namespace user
} // namespace phosphor