Make sure that we only propogate the INHERITED flag when we are allowed to.
authorRichard Sharpe <realrichardsharpe@gmail.com>
Thu, 28 Mar 2013 02:36:43 +0000 (19:36 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Apr 2013 21:07:33 +0000 (23:07 +0200)
commit20b0adc9a6da3e9c1c6dcbd65c8f76f921de88ff
tree269264afd12370ddc6d978864a5d0801810d8096
parente95a1cded19f7a7af0ecb51c8a575a564b912185
Make sure that we only propogate the INHERITED flag when we are allowed to.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Fix bug #9747 - When creating a directory Samba allows inherited bit to slip
through.

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Tue Apr  2 23:07:34 CEST 2013 on sn-devel-104
libcli/security/secdesc.c