summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-03-28 12:51:08 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-04-04 14:21:53 +0200
commit0a6fa194bad18f417dc8542d3b8f654f898375c5 (patch)
tree04849fb77cf5ba2788f3760a4101205bf715af1f
parente18d5c703c529f99bd375da887d9aeaee6b82fcd (diff)
downloadsssd-0a6fa194bad18f417dc8542d3b8f654f898375c5.tar.gz
sssd-0a6fa194bad18f417dc8542d3b8f654f898375c5.tar.xz
sssd-0a6fa194bad18f417dc8542d3b8f654f898375c5.zip
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 <pbrezina@redhat.com>
-rw-r--r--Makefile.am1
-rw-r--r--src/responder/ifp/ifpsrv.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b8fe1104c..c5ae3a028 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 accf679ef..e76f3bdb0 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,