diff options
-rw-r--r-- | source3/utils/net.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 683b46794e4..e289b2814bc 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -1289,6 +1289,9 @@ static void get_credentials_file(struct net_context *c, POPT_TABLEEND }; + /* Ignore possible SIGPIPE upon ldap_unbind when over TLS */ + BlockSignals(True, SIGPIPE); + zero_sockaddr(&c->opt_dest_ip); setup_logging(argv[0], DEBUG_STDERR); |