summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index e914a974fb..ae312cd5d2 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1735,7 +1735,7 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
}
return(UNIXERROR(ERRDOS,ERRbadpath));
}
- } else if (fsp->print_file) {
+ } else if (fsp && fsp->print_file) {
/*
* Doing a DELETE_ON_CLOSE should cancel a print job.
*/
@@ -1999,6 +1999,18 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
break;
}
+ case 1013:
+#if 0 /* JRA */
+ /*
+ * This (new) W2K call seems to set one byte. Not sure
+ * yet what it's trying to do. JRA.
+ */
+ {
+ unsigned char setval = CVAL(pdata,0);
+ }
+#endif /* JRA */
+ return(ERROR(ERRDOS,ERRnoaccess));
+
default:
{
return(ERROR(ERRDOS,ERRunknownlevel));