summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/smb2/tcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/smb2/tcon.c b/source4/smb_server/smb2/tcon.c
index 38a54bb8f6..2ebfa883ef 100644
--- a/source4/smb_server/smb2/tcon.c
+++ b/source4/smb_server/smb2/tcon.c
@@ -182,10 +182,10 @@ static NTSTATUS smb2srv_tcon_backend(struct smb2srv_request *req, union smb_tcon
/* work out what sort of connection this is */
if (strcmp(lp_fstype(snum), "IPC") == 0) {
type = NTVFS_IPC;
- type_smb2 = 0x0003;
+ type_smb2 = 0x0002;
} else if (lp_print_ok(snum)) {
type = NTVFS_PRINT;
- type_smb2 = 0x0002;
+ type_smb2 = 0x0003;
} else {
type = NTVFS_DISK;
type_smb2 = 0x0001;