summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-10 10:34:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:59 -0500
commitac857dcfed805ec0e45f06a86d8b2422c4cad1f5 (patch)
tree7916c1cc40912568acaabd37177122d31249f34b
parent29f3389fc065228d90ec85d7bde2babd10e6562e (diff)
downloadsamba-ac857dcfed805ec0e45f06a86d8b2422c4cad1f5.tar.gz
samba-ac857dcfed805ec0e45f06a86d8b2422c4cad1f5.tar.bz2
samba-ac857dcfed805ec0e45f06a86d8b2422c4cad1f5.zip
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)
-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;