]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:smb2: debug mentions function name fewer times
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 22 May 2025 22:34:14 +0000 (10:34 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 5 Jun 2025 23:06:37 +0000 (23:06 +0000)
commitff185e4e0a56bcf981cd724d3056f0023e34b2b3
treeae93b485828847bca34429e9010b70745d69e2a6
parent11ba2ed4472cdf7de0ccf9b41d7d301d9695c9dc
s3:smb2: debug mentions function name fewer times

There was a complaint about messages like this

../../source3/smbd/smb2_server.c:4058(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at
../../source3/smbd/smb2_create.c:360

which weren't informing the admin know what was really
wrong. This patch doesn't help, but it does avoid
saying "smbd_smb2_request_error_ex" three times.

REF: https://lists.samba.org/archive/samba/2025-February/250967.html

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
source3/smbd/smb2_server.c