Avoid duplicate aces
commitde1fad9e9a5430358d1d301f97c3d61196e55857
authorSimo Sorce <ssorce@redhat.com>
Wed, 22 Apr 2009 10:15:21 +0000 (22 06:15 -0400)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Apr 2009 06:37:17 +0000 (28 08:37 +0200)
tree6f23d097802cde08fb8a07aa165b8db3e8be0f56
parentc1648af7dc38046c4613481bc756f79ecbb7252a
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 59ba5e05c01e9a20fbae7cce40b2301585db5c34)
source/smbd/posix_acls.c