From 2e026712b8761da429d0851b19906dc07087779e 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 --- 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 fadd229..d46a16d 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) -- 1.7.10.4