Don't discard result of checking grouptype
authorRoel van Meer <roel@1afa.com>
Fri, 22 Aug 2014 13:11:04 +0000 (15:11 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 23 Aug 2014 00:48:52 +0000 (02:48 +0200)
commit6174bfafe7c8d3e424869c08077ae1deb002de03
tree517c141414044e372944de59d8fde0e2c7a3c736
parent20ef305cfa8af5437ded8bd093e4f9c487ee82a7
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