s3:passdb: speed up pdb_get_group_sid()
authorStefan Metzmacher <metze@samba.org>
Thu, 4 Feb 2010 16:16:59 +0000 (17:16 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 8 Feb 2010 10:10:18 +0000 (11:10 +0100)
commit172202e4c64697e933e271bdf5760d738b9b7b2b
treef568afdb81a7b201c1f052d7272c410d6621c1fd
parent6677fcc9eba448ee905001f472c1ae511f01f0c7
s3:passdb: speed up pdb_get_group_sid()

Use the cached version gid_to_sid() instead
of pdb_gid_to_sid().

And also avoid the expensive lookup_sid() call
for wellkown domain groups.

metze
source3/passdb/pdb_get_set.c