From c06d602d7f3b8d3da972071a1b5392c6b145133f 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 --- 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 fadd22922e2..d46a16dbc13 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -1609,7 +1609,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) -- 2.34.1