s3:smbd: preserve file type mode bits in file_set_dosmode()
commit31e4d6d2c7779e2f688352f5947e6bbd2a1cfc60
authorMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 12:27:10 +0000 (19 13:27 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 14:45:31 +0000 (19 15:45 +0100)
tree3492d6e340063656b52b00846ff51e2bf1c1f781
parentf211b57dd28e5aab69480f9e9764864922f988e4
s3:smbd: preserve file type mode bits in file_set_dosmode()

When translating between dos modes and unix modes, these bits were dropped from
the stat->st_ex_mode field.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue Feb 19 15:45:31 CET 2013 on sn-devel-104
source3/smbd/dosmode.c