Fix bug found against the new Mac client @ Connectathon. Mac clients
commit7464793c9d00ac2aee40b1377477eb1e2b7c8251
authorJeremy Allison <jra@samba.org>
Wed, 23 Feb 2011 00:38:42 +0000 (22 16:38 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 23 Feb 2011 01:17:21 +0000 (23 02:17 +0100)
tree2c9c198ed1dfcee68c7ac736f36549ce5e8ffb20
parent67e72f52047a69050235f9ed1b85d87712b494f7
Fix bug found against the new Mac client @ Connectathon. Mac clients
don't open with FILE_WRITE_ATTRIBUTES when just doing a write, so updating
the write time on close fails as smb_set_file_time() now (correctly) checks
for FILE_WRITE_ATTRIBUTES in the access_mask before allowing client time
update. This is an internal time update being done on a close, not a handle-based
client request.
source3/smbd/close.c