diff options
-rw-r--r-- | meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service | 12 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb | 6 |
2 files changed, 17 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service new file mode 100644 index 000000000..38c6360e0 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service @@ -0,0 +1,12 @@ +[Unit] +Description=Phosphor LDAP privilege mapper + +[Service] +ExecStart=/usr/bin/env phosphor-ldap-mapper +SyslogIdentifier=phosphor-ldap-mapper +Restart=always +Type=dbus +BusName={BUSNAME} + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} diff --git a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb index d0f261fb9..3fa1b7045 100644 --- a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb @@ -29,8 +29,12 @@ GROUPADD_PARAM_phosphor-ldap = "priv-admin; priv-operator; priv-user; priv-callb DBUS_SERVICE_${PN} += "xyz.openbmc_project.User.Manager.service" FILES_phosphor-ldap += " \ ${sbindir}/phosphor-ldap-conf \ + ${sbindir}/phosphor-ldap-mapper \ +" +DBUS_SERVICE_phosphor-ldap = " \ + xyz.openbmc_project.Ldap.Config.service \ + xyz.openbmc_project.LDAP.PrivilegeMapper.service \ " -DBUS_SERVICE_phosphor-ldap = "xyz.openbmc_project.Ldap.Config.service" SRC_URI += "git://github.com/openbmc/phosphor-user-manager" SRCREV = "9891f2f8f330cfe678098342bd1cb536e5810233" S = "${WORKDIR}/git" |