mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
1e738cb061
This makes it clearer what to pass into the create_flags argument to cli_smb2_create_fnum(). There was already confusion in source3/torture/test_smb2.c: It passed in SMB2_OPLOCK_LEVEL_NONE (which was okay because it #defines to 0), but it should have been a straight 0, for example SMB2_OPLOCK_LEVEL_EXCLUSIVE would have been wrong. This way adding other flags (.nofollow comes to mind) will be much easier to handle. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Copyright(C) Samba-Team 1993-2001 This directory contains example config files and related material for Samba. At a minimum please refer to the smb.conf.default file for current information regarding global and share parameter settings. To contribute to Samba see: https://wiki.samba.org/index.php/Contribute