From a723d3c76250d20d94fd6dd4b249cd2ea1de6c2d Mon Sep 17 00:00:00 2001 From: Arvid Requate Date: Sat, 10 Nov 2012 10:40:32 +0100 Subject: [PATCH] s3:smbd: Fix typo in got_duplicate_group check Reviewed by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Nov 10 20:25:48 CET 2012 on sn-devel-104 (cherry picked from commit c06d602d7f3b8d3da972071a1b5392c6b145133f) --- source3/smbd/posix_acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index e7e118d..bbc1eed 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -1524,7 +1524,7 @@ static bool ensure_canon_entry_valid_on_set(connection_struct *conn, /* Already got one. */ got_duplicate_user = true; } else if (pace->type == SMB_ACL_GROUP && - pace->unix_ug.id == pace_user->unix_ug.id) { + pace->unix_ug.id == pace_group->unix_ug.id) { /* Already got one. */ got_duplicate_group = true; } else if ((pace->type == SMB_ACL_GROUP) -- 1.7.9.5