s4:dsdb/objectclass: do not pass the callers controls on helper searches
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Nov 2012 22:21:10 +0000 (23:21 +0100)
committerStefan Metzmacher <metze@samba.org>
Sun, 25 Nov 2012 22:30:07 +0000 (23:30 +0100)
commitef41911db8ee1a37597124057c06782b5a4cda34
treea872c322b4c493bbc839bbfa39e9010fc106de29
parent8c0c52526b19e2d8df65337f0896f6ac7489e17d
s4:dsdb/objectclass: do not pass the callers controls on helper searches

We add AS_SYSTEM and SHOW_RECYCLED to the helper search,
don't let the caller specify additional controls.

This also fixes a problem when the caller also specified AS_SYSTEM.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/objectclass.c