[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Tue Apr 4 07:05:02 UTC 2023


The branch, master has been updated
       via  38d2ca0a670 smbd: Indicate posix pathnames if SMB311 POSX cc requested
      from  4b1d2051383 lib:krb5_wrap: Fix code spelling

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 38d2ca0a67087c202c380dd56422889fd0fc3c48
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Feb 12 12:35:28 2023 +0100

    smbd: Indicate posix pathnames if SMB311 POSX cc requested
    
    Avoid making smb311 posix extensions a global thing. Posix clients
    could request non-posix behaviour on individual create calls.
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Tue Apr  4 07:04:13 UTC 2023 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/smb2_create.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 93c345f5809..c8f5bbbe471 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -747,7 +747,7 @@ static NTSTATUS smbd_smb2_create_fetch_create_ctx(
 		 * ucf_flags_from_smb_request() to
 		 * return UCF_POSIX_PATHNAMES in ucf_flags.
 		 */
-		state->smb1req->posix_pathnames = true;
+		state->smb1req->posix_pathnames = (state->posx != NULL);
 	}
 
 	return NT_STATUS_OK;


-- 
Samba Shared Repository



More information about the samba-cvs mailing list