[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Sat Feb 25 01:39:02 UTC 2017

The branch, master has been updated
       via  7318097 s3/smbd: allow GET_DFS_REFERRAL fsctl on any smb2 connexion
      from  3d7fed0 s3:idmap_ad: make use of pdb_get_trust_credentials() to get the machine account creds


- Log -----------------------------------------------------------------
commit 73180972db086c853ca7b65e0925388a1ec4e0bc
Author: Aurelien Aptel <aaptel at suse.com>
Date:   Thu Feb 23 14:05:14 2017 +0100

    s3/smbd: allow GET_DFS_REFERRAL fsctl on any smb2 connexion
    This FSCTL should work on any non-IPC share.
    According to [MS-SMB2]
    > Application Requests DFS Referral Information:
    >  The client MUST search for an existing Session and TreeConnect to any
    >  share on the server identified by ServerName for the user identified by
    >  UserCredentials. If no Session and TreeConnect are found, the client
    >  MUST establish a new Session and TreeConnect to IPC$ on the target
    >  server as described in section using the supplied ServerName and
    >  UserCredentials.
    Signed-off-by: Aurelien Aptel <aaptel at suse.com>
    Reviewed-by: David Disseldorp <ddiss at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Sat Feb 25 02:38:28 CET 2017 on sn-devel-144


Summary of changes:
 source3/smbd/smb2_ioctl_dfs.c | 4 ----
 1 file changed, 4 deletions(-)

Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_ioctl_dfs.c b/source3/smbd/smb2_ioctl_dfs.c
index 9c66473..f4dd189 100644
--- a/source3/smbd/smb2_ioctl_dfs.c
+++ b/source3/smbd/smb2_ioctl_dfs.c
@@ -44,10 +44,6 @@ static NTSTATUS fsctl_dfs_get_refers(TALLOC_CTX *mem_ctx,
 	char *dfs_data = NULL;
 	DATA_BLOB output;
-	if (!IS_IPC(conn)) {
-	}
 	if (!lp_host_msdfs()) {

Samba Shared Repository

More information about the samba-cvs mailing list