change the dsdb_control_current_partition to not include internal variables
authorAndrew Tridgell <tridge@samba.org>
Wed, 2 Sep 2009 03:36:54 +0000 (13:36 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 2 Sep 2009 08:19:55 +0000 (18:19 +1000)
commit79255a9384e16a37602028fb0960acf9fc1eb257
tree6a11bca3cb2544efa9e9ad5a15a2540a048cd078
parent67bf17598bd755ac07952fc44ce27031478d5503
change the dsdb_control_current_partition to not include internal variables

This structures was used in two ways. In one way it held variables
that are logically internal to the partition module, and in the other
way it was used to pass the partition DN down to other modules. This
change makes the structure contain just the dn which is being passed
down.

This change is part of the support for linked attributes. We will be
passing this control down from above the partition module to force
which partition a request acts upon. The partition module now only
adds this control if it isn't already there.
source4/dsdb/samdb/ldb_modules/partition.c
source4/dsdb/samdb/samdb.h