summaryrefslogtreecommitdiff
path: root/source4/include/smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/smb.h')
-rw-r--r--source4/include/smb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index ab1e11a02d..5bc46d6a14 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -192,6 +192,10 @@ typedef struct data_blob {
size_t length;
} DATA_BLOB;
+/* by making struct ldb_val and DATA_BLOB the same, we can simplify
+ a fair bit of code */
+#define ldb_val data_blob
+
/* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30, 4 byte aligned */
typedef uint64_t NTTIME;