diff options
author | Jeremy Allison <jra@samba.org> | 2010-10-15 13:30:07 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-10-15 17:38:21 -0700 |
commit | 92adb686372a9b67e47efb5b051bc351212f1780 (patch) | |
tree | 99fbc82ab0fc0d233f41711d8ab631963683df1a /librpc/gen_ndr | |
parent | 68d1b3b5052f20bfd9ac8771c917b07a854d8fd3 (diff) | |
download | samba-92adb686372a9b67e47efb5b051bc351212f1780.tar.gz samba-92adb686372a9b67e47efb5b051bc351212f1780.tar.bz2 samba-92adb686372a9b67e47efb5b051bc351212f1780.zip |
Fix bug #7733 - Invalid client DOS attributes on create can cause incorrect unix mode_t to be generated.
It turns out a client can send an NTCreateX call for a new file, but specify
FILE_ATTRIBUTE_DIRECTORY in the attribute list. Windows silently strips this,
but we don't - causing the unix_mode() function to go through the "mode bits
for new directory" codepath, instead of the "mode bits for new file" codepath.
Jeremy.
Diffstat (limited to 'librpc/gen_ndr')
0 files changed, 0 insertions, 0 deletions