[SCM] Samba Shared Repository - branch master updated

David Mulder dmulder at samba.org
Wed Jun 9 22:27:01 UTC 2021


The branch, master has been updated
       via  29e8c30f123 samba-tool: gpo admxload mkdir -p
      from  52a42111121 smbd: return correct timestamps for quota fake file

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


- Log -----------------------------------------------------------------
commit 29e8c30f123f862b002ed2d9345dae4294be8968
Author: David Mulder <dmulder at suse.com>
Date:   Tue Jun 8 09:30:37 2021 -0600

    samba-tool: gpo admxload mkdir -p
    
    Ensure all directories in the path are created,
    otherwise admx upload fails here.
    
    Signed-off-by: David Mulder <dmulder at suse.com>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    
    Autobuild-User(master): David Mulder <dmulder at samba.org>
    Autobuild-Date(master): Wed Jun  9 22:26:42 UTC 2021 on sn-devel-184

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

Summary of changes:
 python/samba/netcmd/gpo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/python/samba/netcmd/gpo.py b/python/samba/netcmd/gpo.py
index 03a04b76074..5d936e0e646 100644
--- a/python/samba/netcmd/gpo.py
+++ b/python/samba/netcmd/gpo.py
@@ -1654,7 +1654,7 @@ class cmd_admxload(Command):
                 sub_dir = '\\'.join([smb_dir, path_in_admx]).replace('/', '\\')
                 smb_path = '\\'.join([sub_dir, fname])
                 try:
-                    conn.mkdir(sub_dir)
+                    create_directory_hier(conn, sub_dir)
                 except NTSTATUSError as e:
                     if e.args[0] == 0xC0000022: # STATUS_ACCESS_DENIED
                         raise CommandError("The authenticated user does "


-- 
Samba Shared Repository



More information about the samba-cvs mailing list