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)
committerMichael Adam <obnox@samba.org>
Fri, 30 Nov 2012 16:17:21 +0000 (17:17 +0100)
commitff274bafeb223c7440f4d97e2225b954b1031259
treee827ffc2c55912adf39f2f70cba72272c6f12cfd
parent5838637b4218ecf88e7a650610da3be1a5a518c9
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>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/dsdb/samdb/ldb_modules/objectclass.c