Fix bug #6939 - mangling method = hash breaks long filenames.
commit681f633331d410a20474780f977311595ab85ba1
authorJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 00:14:30 +0000 (17 16:14 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 21 Dec 2009 09:55:04 +0000 (21 10:55 +0100)
treea60dcf8e062c4ca2d3c54f2c84775836d1a728f8
parent5d6a23ced49656323c51376f43b9b747e46a0127
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)
(cherry picked from commit 15747edfe49e9c7909022bd438760c441241fffa)
source3/smbd/mangle_hash.c