Allow clearing all settable DOS mode bits. A mode value of zero is ignored by
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 24 Jan 2008 01:44:54 +0000 (20:44 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 24 Jan 2008 01:44:54 +0000 (20:44 -0500)
commite0021b586d0c882fcc5ce0566dbbbd76f163d170
tree1a729d5d9c5506f6547d5318f0459570a31bfc78
parentd221d53f3a523ac014e9f33b67f0b7d777dfb171
Allow clearing all settable DOS mode bits.  A mode value of zero is ignored by
Windows.  If the requested mode is zero, we instead send the appropriate one
of 0x80 (NORMAL) or 0x10 (DIRECTORY).

Thanks Jeremy!

Derrell
(This used to be commit 54abf7d0e595e9cbeea115a40d4f7b995252a150)
source3/libsmb/libsmbclient.c