summaryrefslogtreecommitdiffstats
path: root/src/responder/autofs
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2014-10-15 18:01:55 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-22 15:44:39 +0200
commit8bccd95e275fae760a991da394235e4e70e57bbd (patch)
tree1ecb2c372b0626c1feb1465cf7ae26626d3c1763 /src/responder/autofs
parent4a5cced91df68a85ef0b30de8efe104c8a0aab7a (diff)
downloadsssd-8bccd95e275fae760a991da394235e4e70e57bbd.tar.gz
sssd-8bccd95e275fae760a991da394235e4e70e57bbd.tar.xz
sssd-8bccd95e275fae760a991da394235e4e70e57bbd.zip
responders: Do not initialize pipe fd if already present
Allow to skip initialization of pipe file descriptor if the responder context already has one. Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/responder/autofs')
-rw-r--r--src/responder/autofs/autofssrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/autofs/autofssrv.c b/src/responder/autofs/autofssrv.c
index 931cf018b..12a7a777e 100644
--- a/src/responder/autofs/autofssrv.c
+++ b/src/responder/autofs/autofssrv.c
@@ -132,7 +132,7 @@ autofs_process_init(TALLOC_CTX *mem_ctx,
autofs_cmds = get_autofs_cmds();
ret = sss_process_init(mem_ctx, ev, cdb,
autofs_cmds,
- SSS_AUTOFS_SOCKET_NAME, NULL,
+ SSS_AUTOFS_SOCKET_NAME, -1, NULL, -1,
CONFDB_AUTOFS_CONF_ENTRY,
SSS_AUTOFS_SBUS_SERVICE_NAME,
SSS_AUTOFS_SBUS_SERVICE_VERSION,