Don't discard result of checking grouptype
commit77e7db987f5bc1fa8a452fd2de1c4564e82fe4b7
authorRoel van Meer <roel@1afa.com>
Fri, 22 Aug 2014 13:11:04 +0000 (22 15:11 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Sep 2014 18:39:20 +0000 (2 20:39 +0200)
tree80ec3d75c8a29285fc417346fa6bffd95ba16068
parent691fe9a25c2e804bd47b13e67abb5a522d1828b8
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
source3/passdb/pdb_samba_dsdb.c