[cifs-protocol] MS-ADTS 6.2.2.4 Remove unnecessary connections

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Tue Jun 16 21:05:53 MDT 2015


hello dochelp!

I have a question about the use of the NTDSCONN_OPT_IS_GENERATED in
6.2.2.4 Removing Unnecessary Connections. The list of conditions for
deleting a connection begins the same way for both intersite and
intrasite connections:

   Given an nTDSConnection object cn, if the DC with the nTDSDSA
   object dc that is the parent object of cn and the DC with the
   nTDSDA object referenced by cn!fromServer are in the same site, the
   KCC on dc deletes cn if all of the following are true:

    * Bit NTDSCONN_OPT_IS_GENERATED is clear in cn!options.

    [...]

   Given an nTDSConnection object cn, if the DC with the nTDSDSA
   object dc that is the parent object of cn and the DC with the
   nTDSDSA object referenced by cn!fromServer are in different sites,
   a KCC acting as an ISTG in dc's site deletes cn if all of the
   following are true:

   * Bit NTDSCONN_OPT_IS_GENERATED is clear in cn!options.

My reading is that the KCC can only delete connections that it did not
create. Is that what is meant? (And if so, how do KCC's connections
get deleted).

cheers,
Douglas


More information about the cifs-protocol mailing list