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:23:23 +0000 (11:23 +0100)
commite10d0869567436902c8b8cfb50f8c64148d554cb
treefc7767415e7d98b113fc2b3bb43bb47ebd27b92d
parentb99046fed1bf4a908ed856afb17c3c934c6d305d
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