Fix bug #6939 - mangling method = hash breaks long filenames.
commit15747edfe49e9c7909022bd438760c441241fffa
authorJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 00:14:30 +0000 (17 16:14 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 00:20:05 +0000 (17 16:20 -0800)
treec552768e4b29cd400cad298953bb8e9796b5835e
parentf0f4e5b9c3b8c640bf1829a9a12bcdfa7d2c153a
Fix bug #6939 - mangling method = hash breaks long filenames.

We were returning the wrong sense of the bool. must_mangle()
has to return !NT_STATUS_IS_OK, not NT_STATUS_IS_OK.

Jeremy.
(cherry picked from commit 159c1b860aa4d61acf765c849c63e3bee9f57ad3)
source3/smbd/mangle_hash.c