Fix bug #6939 - mangling method = hash breaks long filenames.
authorJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 00:36:53 +0000 (16:36 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2010 13:01:05 +0000 (14:01 +0100)
commit9aab74eaca37b49ad9453d64ede85651f56280b6
treef32293f759952d44fd19d58b7385ad36474ffdbc
parent9eabcc653730418c9910635218c93b7fad1ecd3a
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 f249d2d5893a3f8494e43fd1a805c78cee8eeec5)
source/smbd/mangle_hash.c