]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs: Fix smb_full_audit_parent_pathname()
authorVolker Lendecke <vl@samba.org>
Fri, 7 Nov 2025 12:21:23 +0000 (13:21 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Nov 2025 13:29:30 +0000 (13:29 +0000)
Make it log the right name

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/modules/vfs_full_audit.c

index febca8fd97ab5c44c97c093098852a54e4ff5af5..e25a92507f54c3cb5049921b31fa687be997dc14 100644 (file)
@@ -2218,7 +2218,7 @@ static NTSTATUS smb_full_audit_parent_pathname(struct vfs_handle_struct *handle,
                                              smb_fname_in,
                                              parent_dir_out,
                                              atname_out);
-       do_log(SMB_VFS_OP_CONNECTPATH,
+       do_log(SMB_VFS_OP_PARENT_PATHNAME,
               NT_STATUS_IS_OK(result),
               handle,
               "%s",