Fix bug #6939 - mangling method = hash breaks long filenames.
authorJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 00:21:46 +0000 (16:21 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 23 Dec 2009 11:08:03 +0000 (12:08 +0100)
commit7fe8f2b3ac4eccad003ec44ccd9c4c5736e537ec
tree6f439f1874ea09f1e8a5ecc078936feba82a8db3
parentdad3c6d1fe05e41beab276633467e897c6cc196a
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 2f1a66a72a6bd9f3e160b01982171dd66835990e)
source3/smbd/mangle_hash.c