From 0a6fa194bad18f417dc8542d3b8f654f898375c5 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Apr 04 2014 12:21:53 +0000 Subject: IFP: do not create client socket There is no need for client socket in IFP responder, since it uses D-Bus for communication with clients. Resolves: https://fedorahosted.org/sssd/ticket/2290 Reviewed-by: Pavel Březina --- diff --git a/Makefile.am b/Makefile.am index b8fe110..c5ae3a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -325,7 +325,6 @@ AM_CPPFLAGS = \ -DSSS_SUDO_SOCKET_NAME=\"$(pipepath)/sudo\" \ -DSSS_AUTOFS_SOCKET_NAME=\"$(pipepath)/autofs\" \ -DSSS_SSH_SOCKET_NAME=\"$(pipepath)/ssh\" \ - -DSSS_IFP_SOCKET_NAME=\"$(pipepath)/ifp\" \ -DLOCALEDIR=\"$(localedir)\" EXTRA_DIST = build/config.rpath diff --git a/src/responder/ifp/ifpsrv.c b/src/responder/ifp/ifpsrv.c index accf679..e76f3bd 100644 --- a/src/responder/ifp/ifpsrv.c +++ b/src/responder/ifp/ifpsrv.c @@ -205,7 +205,7 @@ int ifp_process_init(TALLOC_CTX *mem_ctx, ifp_cmds = get_ifp_cmds(); ret = sss_process_init(mem_ctx, ev, cdb, ifp_cmds, - SSS_IFP_SOCKET_NAME, NULL, + NULL, NULL, CONFDB_IFP_CONF_ENTRY, SSS_IFP_SBUS_SERVICE_NAME, SSS_IFP_SBUS_SERVICE_VERSION,