summaryrefslogtreecommitdiff
path: root/server/polkit/sssd_polkit.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/polkit/sssd_polkit.c')
-rw-r--r--server/polkit/sssd_polkit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/polkit/sssd_polkit.c b/server/polkit/sssd_polkit.c
index 511a293c..a7a3d89d 100644
--- a/server/polkit/sssd_polkit.c
+++ b/server/polkit/sssd_polkit.c
@@ -28,6 +28,8 @@
#include "monitor/monitor_sbus.h"
#include "monitor/monitor_interfaces.h"
+#define SPK_CONF_ENTRY "config/services/pk"
+
struct spk_ctx {
struct tevent_context *ev;
struct confdb_ctx *cdb;
@@ -189,7 +191,7 @@ int main(int argc, const char *argv[])
poptFreeContext(pc);
/* set up things like debug , signals, daemonization, etc... */
- ret = server_setup("sssd[infp]", 0, &main_ctx);
+ ret = server_setup("sssd[pk]", 0, SPK_CONF_ENTRY, &main_ctx);
if (ret != EOK) return 2;
ret = spk_process_init(main_ctx,