[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Mon Apr 26 22:36:52 MDT 2010
The branch, master has been updated
via 3f643f1... Correctly report share types (now Win7 makes RPC calls against us).
from a94a4b7... Plumb in get_nt_acl into SMB2.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 3f643f18d911888d69bba7f03813b3bde816326e
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 21:36:01 2010 -0700
Correctly report share types (now Win7 makes RPC calls against us).
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/smb2_tcon.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c
index c3e46ee..f3efb83 100644
--- a/source3/smbd/smb2_tcon.c
+++ b/source3/smbd/smb2_tcon.c
@@ -208,7 +208,13 @@ static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req,
tcon->compat_conn = talloc_move(tcon, &compat_conn);
tcon->compat_conn->cnum = tcon->tid;
- *out_share_type = 0x01;
+ if (IS_PRINT(tcon->compat_conn)) {
+ *out_share_type = 0x03;
+ } else if (IS_IPC(tcon->compat_conn)) {
+ *out_share_type = 0x02;
+ } else {
+ *out_share_type = 0x01;
+ }
*out_share_flags = SMB2_SHAREFLAG_ALL;
*out_capabilities = 0;
*out_maximal_access = FILE_GENERIC_ALL;
--
Samba Shared Repository
More information about the samba-cvs
mailing list