s3: smbd: In ntrename OR in ucf_flags, don't overwrite.
authorJeremy Allison <jra@samba.org>
Thu, 18 May 2017 19:08:57 +0000 (12:08 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 22 May 2017 16:41:15 +0000 (18:41 +0200)
commit29ec4744542230c93c209acfe2a5d6144707b332
treefe46704a583ef4e698d79415e0f010761488e4a6
parent4910febdac9cf282597349e85610e582001a3c54
s3: smbd: In ntrename OR in ucf_flags, don't overwrite.

This isn't worth a bug backport as right now the only flag that
could be overwritten is the UCF_POSIX_PATHNAMES flag, and for
a POSIX connection the client will use posix rename, not an
ntrename.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/smbd/nttrans.c