summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-10 10:34:34 +0000
committerStefan Metzmacher <metze@samba.org>2006-07-10 10:34:34 +0000
commit129ff2a9a61c37489bf6c3e50c79b352532fc054 (patch)
treebe9dbe9898b9e928494bf6304dadc8f313ea7eb4
parent5a3d1d71ee2647a72dd905dd4ac3d268565a3b30 (diff)
downloadsamba-129ff2a9a61c37489bf6c3e50c79b352532fc054.tar.gz
samba-129ff2a9a61c37489bf6c3e50c79b352532fc054.tar.xz
samba-129ff2a9a61c37489bf6c3e50c79b352532fc054.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
-rw-r--r--source/smb_server/smb2/tcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smb_server/smb2/tcon.c b/source/smb_server/smb2/tcon.c
index 38a54bb8f6b..2ebfa883ef7 100644
--- a/source/smb_server/smb2/tcon.c
+++ b/source/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;