s3:smbd: Fix typo in got_duplicate_group check
authorArvid Requate <requate@univention.de>
Sat, 10 Nov 2012 09:40:32 +0000 (10:40 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 10 Nov 2012 19:25:48 +0000 (20:25 +0100)
Reviewed by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Nov 10 20:25:48 CET 2012 on sn-devel-104

source3/smbd/posix_acls.c

index fadd22922e254c1672840dcd31fe9af8d00fbff2..d46a16dbc13e1a06ae00958a37bb7e1323fdbb76 100644 (file)
@@ -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)