summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-20 23:22:43 +0000
committerJeremy Allison <jra@samba.org>1998-11-20 23:22:43 +0000
commitab1ab1ce0d49e968bcbd37841df1a13a2cf42884 (patch)
tree12148d39871780e2ff2ed1a161be2e0da8fdb392
parentf22b817d3fdac2c6a98b3297f758aea554785513 (diff)
downloadsamba-ab1ab1ce0d49e968bcbd37841df1a13a2cf42884.tar.gz
samba-ab1ab1ce0d49e968bcbd37841df1a13a2cf42884.tar.bz2
samba-ab1ab1ce0d49e968bcbd37841df1a13a2cf42884.zip
Instrumented hack fix with debug level 10 statements just in case :-).
Jeremy. (This used to be commit 10f51b85722141f99ffecc3f19a39de108400828)
-rw-r--r--source3/smbd/nttrans.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index c1c82b48e3..8aacfa3867 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -463,6 +463,7 @@ void fail_next_srvsvc_open(void)
{
fail_next_srvsvc = True;
fail_time = time(NULL);
+ DEBUG(10,("fail_next_srvsvc_open: setting up timeout close of \\srvsvc pipe for print fix.\n"));
}
/****************************************************************************
@@ -490,10 +491,12 @@ static int nt_open_pipe(char *fname, connection_struct *conn,
if(fail_next_srvsvc && (time(NULL) > fail_time + HACK_FAIL_TIME)) {
fail_next_srvsvc = False;
fail_time = (time_t)0;
+ DEBUG(10,("nt_open_pipe: End of timeout close of \\srvsvc pipe for print fix.\n"));
}
if(fail_next_srvsvc && strequal(fname, "\\srvsvc")) {
fail_next_srvsvc = False;
+ DEBUG(10,("nt_open_pipe: Deliberately failing open of \\srvsvc pipe for print fix.\n"));
return(ERROR(ERRSRV,ERRaccess));
}