summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArvid Requate <requate@univention.de>2012-11-10 10:40:32 +0100
committerJeremy Allison <jra@samba.org>2012-11-10 20:25:48 +0100
commitc06d602d7f3b8d3da972071a1b5392c6b145133f (patch)
tree9855235226aa0c5a22869d12a6af129a597cb246
parent01f188a3f0725f42ce4f17621985abe4ab5a54c2 (diff)
downloadsamba-c06d602d7f3b8d3da972071a1b5392c6b145133f.tar.gz
samba-c06d602d7f3b8d3da972071a1b5392c6b145133f.tar.bz2
samba-c06d602d7f3b8d3da972071a1b5392c6b145133f.zip
s3:smbd: Fix typo in got_duplicate_group check
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
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index fadd22922e..d46a16dbc1 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)