tevent_req_nterror(req, status);
return tevent_req_post(req, ev);
}
-
- // TODO: response construction
-
- tevent_req_done(req);
- return tevent_req_post(req, ev);
} else {
status = SMB_VFS_CREATE_FILE(smb1req->conn,
smb1req,
}
}
- if (dhnq && BATCH_OPLOCK_TYPE(result->oplock_type)) {
+ /*
+ * windows createst a dhnc response blob upon dbnc request.
+ * this seems to contradict the documentation, though
+ * --> TODO:dochelp
+ */
+ if (dhnc || (dhnq && BATCH_OPLOCK_TYPE(result->oplock_type))) {
uint8_t p[8];
DATA_BLOB blob = data_blob_const(p, sizeof(p));