Avoid duplicate aces
authorSimo Sorce <ssorce@redhat.com>
Wed, 22 Apr 2009 10:15:21 +0000 (06:15 -0400)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Jun 2009 10:41:52 +0000 (12:41 +0200)
commitaf7cf2ae894ee85e9f07498ca39a0aa8fcc1bc64
treedad13a8f77f6af4a2cda3281c80af6d2dd52e0c9
parent24fd3ea71d5f1ac38851a8a849e3d08663c8c69b
Avoid duplicate aces

When adding arbitrary aces to an nt_ace_list we need to make sure we
are not actually adding a duplicate.
add_or_replace_ace() takes care of doing the right thing.
(cherry picked from commit 958207e321f330426536bf7e936b30fa2efffddc)
source/smbd/posix_acls.c