From ac857dcfed805ec0e45f06a86d8b2422c4cad1f5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 10 Jul 2006 10:34:34 +0000 Subject: r16912: I messed up the numbers for ipc and print shares... This caused vista beta2 to not do any rpc calls against samba4 metze (This used to be commit b42d918d56387a4d5dd27cc4dfc187990195d9c3) --- source4/smb_server/smb2/tcon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') 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; -- cgit