s3:passdb: only use gid_to_sid() result if the result is a group of our local sam
commitfb9a59d519a86a905ab57411bad666ef6d11dca9
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Feb 2010 11:57:01 +0000 (9 12:57 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Feb 2010 10:08:42 +0000 (10 11:08 +0100)
tree423bfc35b5c1a5447544a724a940d8018c10b7d7
parent123ecafdcc5399de9340d30c98baf88593be6d4c
s3:passdb: only use gid_to_sid() result if the result is a group of our local sam

Otherwise retry with pdb_gid_to_sid().

metze
(cherry picked from commit 4dc2be2264926fe415e4e40e212f94793c9831d1)

Last seven patches address bug #7116 (pdb_ldap performance fixes).
(cherry picked from commit 8946a47fcebe57f459c59ee2cb163e15901ff996)
source3/passdb/pdb_get_set.c