summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorRoel van Meer <roel@1afa.com>2014-08-22 15:11:04 +0200
committerJeremy Allison <jra@samba.org>2014-08-23 02:48:52 +0200
commit6174bfafe7c8d3e424869c08077ae1deb002de03 (patch)
tree517c141414044e372944de59d8fde0e2c7a3c736 /source3
parent20ef305cfa8af5437ded8bd093e4f9c487ee82a7 (diff)
downloadsamba-6174bfafe7c8d3e424869c08077ae1deb002de03.tar.gz
samba-6174bfafe7c8d3e424869c08077ae1deb002de03.tar.xz
samba-6174bfafe7c8d3e424869c08077ae1deb002de03.zip
Don't discard result of checking grouptype
The pdb_samba_dsdb_getgrfilter() function first determines the security type of a group and sets map->sid_name_use accordingly. A little later, this variable is set again, undoing the previous work. https://bugzilla.samba.org/show_bug.cgi?id=10777 Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Aug 23 02:48:52 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_samba_dsdb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/passdb/pdb_samba_dsdb.c b/source3/passdb/pdb_samba_dsdb.c
index b04e7b230a..87320e8708 100644
--- a/source3/passdb/pdb_samba_dsdb.c
+++ b/source3/passdb/pdb_samba_dsdb.c
@@ -944,8 +944,6 @@ static NTSTATUS pdb_samba_dsdb_getgrfilter(struct pdb_methods *m, GROUP_MAP *map
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
- map->sid_name_use = SID_NAME_DOM_GRP;
-
ZERO_STRUCT(id_map);
id_map.sid = sid;
id_maps[0] = &id_map;