diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-12-07 12:41:43 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-12-07 13:07:56 +1100 |
commit | 354b80b3ae3fd918d65f6425d054630d51ee18e0 (patch) | |
tree | 71c825b4a7c3d5db158e87d24986f2d01310b99a /lib/replace/test | |
parent | 45cd4c93fbcabe8e5c66f57f8ded08a860af1bce (diff) | |
download | samba-354b80b3ae3fd918d65f6425d054630d51ee18e0.tar.gz samba-354b80b3ae3fd918d65f6425d054630d51ee18e0.tar.bz2 samba-354b80b3ae3fd918d65f6425d054630d51ee18e0.zip |
s4:dsdb Make primaryGroupToken calculation more efficient and correct
The original code here would do a subtree search under each object,
attempting to determine if it was a group. This was incorrect, and
inefficient - we just need to ask for the objectClass attribute, and
check that value before returning the group's RID.
(Much of this patch reworks operational.c to allow a search for 2
attributes for this calculation).
Andrew Bartlett
Diffstat (limited to 'lib/replace/test')
0 files changed, 0 insertions, 0 deletions