summaryrefslogtreecommitdiffstats
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
commit10f51b85722141f99ffecc3f19a39de108400828 (patch)
tree4cb53725457fd13bd9af4093169696cccd48206c
parent34d8f4b1c4d59ab3c009360fc67eef9361dd859b (diff)
downloadsamba-10f51b85722141f99ffecc3f19a39de108400828.tar.gz
samba-10f51b85722141f99ffecc3f19a39de108400828.tar.xz
samba-10f51b85722141f99ffecc3f19a39de108400828.zip
Instrumented hack fix with debug level 10 statements just in case :-).
Jeremy.
-rw-r--r--source/smbd/nttrans.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c
index c1c82b48e32..8aacfa38677 100644
--- a/source/smbd/nttrans.c
+++ b/source/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));
}