[SCM] Samba Shared Repository - branch master updated

2023-06-16 Thread Andrew Bartlett
The branch, master has been updated
   via  6640cf5e32f samba-tool: add new --dns-directory-partition option to 
dns zonecreate command
   via  3a9e0b318db s3:tests: Do not export UID_WRAPPER_ROOT in 
test_smbXsrv_client_cross_node.sh
   via  3799074b30e s3:tests: Do not export UID_WRAPPER_ROOT in 
test_smbXsrv_client_dead_rec.sh
   via  9cbd4a3abdd s3:tests: Do not export UID_WRAPPER_ROOT in 
test_net_machine_account
   via  e013d70e8ed testprogs: Do not export UID_WRAPPER_ROOT in 
test_net_rpc_oldjoin.sh
   via  457a83e7abc testprogs: Do not export UID_WRAPPER_ROOT in 
test_kpasswd_heimdal.sh
   via  b41ff81a783 testprogs: Do not export UID_WRAPPER_ROOT in 
test_kpasswd_mit.sh
   via  ea566a825a0 testprogs: Do not export UID_WRAPPER_ROOT in 
test_pdbtest.sh
   via  579182372a1 testprogs: Do not export UID_WRAPPER_ROOT in 
test_net_ads_dns.sh
   via  1fb0b3684ea testprogs: Do not export UID_WRAPPER_ROOT in 
test_samba-tool_ntacl.sh
   via  3b612dc64a6 testprogs:subunit: Fix integer comparisons
   via  e4b77dc38bf testprogs:subunit: Fix assigning an array to a string
   via  8fb833fc759 vfs_default.c: use DBG* macros instead of static log 
level numbers
   via  5c37615efa2 smbXsrv_tcon.c: use DBG* macros instead of static log 
level numbers
   via  659e88544aa dcesrv_drsuapi.c:use DBG* macros instead of static log 
level numbers
   via  c257b0a2e1c smb2_service.c: use DBG* macros instread of static log 
level numbers
   via  6003090d5f8 smbXsrv_session.c: use DBG* macros instead of static 
log level numbers
   via  fa700369a96 dns_update.c: use DBG* macros instead of static log 
level numbers
   via  a33df1250cb oplock_linux.c: use DBG macros instead of static log 
level
   via  1186ec227da nmbd_become_lmb.c: use DBG* macros instead of static 
log level numbers
   via  2fbd773a515 nmbd/asyncdns.c: use DBG* macros instead of static log 
level numbers
   via  5181b1c8cb6 nmbd_sendannounce.c: use DBG* macros instead of static 
log level numbers
   via  b6049a30127 nmbd: use DBG_ macros and raise some log levels
  from  96a64fb smbd: smbd_dirptr_lanman2_match_fn(): Remove 
"exact_match" handling

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


- Log -
commit 6640cf5e32fd8c0561aa8bb4a48fe0fc73740403
Author: Björn Baumbach 
Date:   Thu Jun 15 18:24:50 2023 +0200

samba-tool: add new --dns-directory-partition option to dns zonecreate 
command

The new --dns-directory-partition chooses the directory partition for
the new zone - "domain" or "forest". Defaults to the current default
"domain".

Signed-off-by: Björn Baumbach 
Reviewed-by: Andrew Bartlett 

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Fri Jun 16 21:23:28 UTC 2023 on atb-devel-224

commit 3a9e0b318db7a3888e9b5c60f2748edd704630a1
Author: Andreas Schneider 
Date:   Tue Apr 11 15:30:23 2023 +0200

s3:tests: Do not export UID_WRAPPER_ROOT in 
test_smbXsrv_client_cross_node.sh

Signed-off-by: Andreas Schneider 
Reviewed-by: Andrew Bartlett 

commit 3799074b30e1791c68efb50ccb4519b365d0e7fc
Author: Andreas Schneider 
Date:   Tue Apr 11 15:29:41 2023 +0200

s3:tests: Do not export UID_WRAPPER_ROOT in test_smbXsrv_client_dead_rec.sh

Signed-off-by: Andreas Schneider 
Reviewed-by: Andrew Bartlett 

commit 9cbd4a3abdd7d4065da312b6ce7bbb5ff4615a61
Author: Andreas Schneider 
Date:   Tue Apr 11 15:29:01 2023 +0200

s3:tests: Do not export UID_WRAPPER_ROOT in test_net_machine_account

Just set it for the test.

Signed-off-by: Andreas Schneider 
Reviewed-by: Andrew Bartlett 

commit e013d70e8ed5cbdd8b1ea357d1f9ba7b23d91816
Author: Andreas Schneider 
Date:   Tue Apr 11 15:27:31 2023 +0200

testprogs: Do not export UID_WRAPPER_ROOT in test_net_rpc_oldjoin.sh

This is already set for smbpasswd.

Signed-off-by: Andreas Schneider 
Reviewed-by: Andrew Bartlett 

commit 457a83e7abc8cd179eda38ddf3a24b5129a9ba3d
Author: Andreas Schneider 
Date:   Tue Apr 11 15:26:52 2023 +0200

testprogs: Do not export UID_WRAPPER_ROOT in test_kpasswd_heimdal.sh

Signed-off-by: Andreas Schneider 
Reviewed-by: Andrew Bartlett 

commit b41ff81a783339ef0d68c70916ef800d5dec421b
Author: Andreas Schneider 
Date:   Tue Apr 11 15:26:21 2023 +0200

testprogs: Do not export UID_WRAPPER_ROOT in test_kpasswd_mit.sh

Signed-off-by: Andreas Schneider 
Reviewed-by: Andrew Bartlett 

commit ea566a825a0e13dd5cff54370b6769f9f644d0cf
Author: Andreas Schneider 
Date:   Mon Mar 27 10:17:39 2023 +0200

testprogs: Do not export UID_WRAPPER_ROOT in test_pdbtest.sh

We already set root for smbpasswd.

Signed-off-by: Andreas Schneider 
Reviewed-by: Andrew Bartlett 

commit 579182372a106044c138c784cd7df6012dccf870
Author: Andreas Schneider 
Date:   Mon 

[SCM] Samba Shared Repository - branch master updated

2023-06-16 Thread Jeremy Allison
The branch, master has been updated
   via  96a64fb smbd: smbd_dirptr_lanman2_match_fn(): Remove 
"exact_match" handling
   via  079aad50ef4 smbd: Remove a smb1-only optimization findfirst/findnext
   via  cf4e55421bb smbd: Remove "a heuristic to avoid seeking the dirptr"
   via  880eb2bd56d libsmb: Test smb1 mknod
   via  41b094dd2ff pylibsmb: Add smb1_stat()
   via  efeb540602c pylibsmb: Add mknod()
   via  ca99d6a6ff4 libsmb: Add SMB1 posix cli_mknod
   via  c64699aeb0b rpc_server: Fix talloc hierarchy in 
_srvsvc_NetSrvGetInfo()
   via  1cd2f38b54b profiling: Factor out functions to read smbprofile.tdb
   via  18070a2d657 WHATSNEW: Mention removed "directory name cache size" 
parameter
   via  a4972336f12 lib: Add a few required #includes
   via  2c610804fe3 winbind: Fix a typo
   via  1b7fb13654f lib: Simplify two if-expressions
   via  1d6f6f9529b smbd: Remove references to get_Protocol()
   via  c86fef84ef1 smbd: Modernize a DEBUG statement in 
smbd_dirptr_get_entry()
   via  8a864e3f522 docs: Remove seekdir/telldir reference
   via  007b5825de9 smbd: Fix a typo
   via  12cbb043d10 libcli: Simplify security_token_is_sid()
   via  9e2723988ef libcli: Simplify dom_sid_dup()
  from  32fdc764efb s4:auth: Remove unneeded ‘sam_ctx’ parameter

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


- Log -
commit 96a64fbeb62f87e4b55e2c51fd501a13fd7f
Author: Volker Lendecke 
Date:   Fri Jun 16 13:53:25 2023 +0200

smbd: smbd_dirptr_lanman2_match_fn(): Remove "exact_match" handling

No caller uses this anymore. The only downside here now is that we
always go directly to mask_match instead of a trying strcasecmp_m
first. I very much doubt this makes a measurable difference because
this would have been called for non-wildcard
readdirs (a.k.a. qpathinfo), and there we do this only once per
complete directory read. Also I don't believe mask_match() is
measurably more expensive than strcasecmp_m() for the usually short
filenames we're looking at here.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Fri Jun 16 17:07:46 UTC 2023 on atb-devel-224

commit 079aad50ef47f34453eee9911655872397635c88
Author: Volker Lendecke 
Date:   Fri Jun 16 13:45:57 2023 +0200

smbd: Remove a smb1-only optimization findfirst/findnext

I don't think this is an effective optimization at all anymore. It was
intended to speed up non-wildcard readdirs after we found the correct
entry. Nowadays we do the non-wildcard readdirs by a direct fstatat,
and after we successfully found the entry dptr_ReadDirName()
immediately returns without any further action. So my very strong
guess is that this never really kicked in anymore. Not using this flag
can't be *that* bad, smb2 never used it.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit cf4e55421bbe809bd869781432f4c2385dbf41bc
Author: Volker Lendecke 
Date:   Fri Jun 16 13:32:24 2023 +0200

smbd: Remove "a heuristic to avoid seeking the dirptr"

-- we don't seek the dirptr anymore

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 880eb2bd56d6044e7407f98cc0af45df616267ae
Author: Volker Lendecke 
Date:   Thu Mar 9 16:16:50 2023 +0100

libsmb: Test smb1 mknod

Requires O_PATH to work correctly

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 41b094dd2ff313c37981755c606d4f1d6500def6
Author: Volker Lendecke 
Date:   Thu Feb 16 17:20:55 2023 +0100

pylibsmb: Add smb1_stat()

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit efeb540602c76566ee646d204f4eedbd775d573b
Author: Volker Lendecke 
Date:   Thu Feb 16 16:43:46 2023 +0100

pylibsmb: Add mknod()

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit ca99d6a6ff4b39bfa73e2b2efd1e8140424bb4e8
Author: Volker Lendecke 
Date:   Thu Feb 16 13:41:44 2023 +0100

libsmb: Add SMB1 posix cli_mknod

This is a dead horse, but in the future it will make it easier to test
the smb311 unix extension code.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit c64699aeb0bb67caddb830004f4db237b3dcfda8
Author: Volker Lendecke 
Date:   Mon Apr 24 16:46:17 2023 +0200

rpc_server: Fix talloc hierarchy in _srvsvc_NetSrvGetInfo()

Make ->comment a proper talloc child of the right structure.

Signed-off-by: Volker Lendecke 
Reviewed-by: Jeremy Allison 

commit 1cd2f38b54b7a79ae21a328075fae07cfdc5e9aa
Author: Volker Lendecke 
Date:   Wed May 31 09:48:58 2023 +0200

profiling: Factor out functions to read smbprofile.tdb

We don't need all of Samba just to dump contents of this tdb, make