The harness that comes with the OEM hitch kit provides hook-ups for the lights, but not electric brakes.
There's a couple of install examples on the home page of aftermarket electric brake installs. They are
http://www.bmwmotorsports.org/pdf/BM...er%20Brake.pdf and
http://www.bmwmotorsports.org/pdf/X5...stallation.pdf

and :xoutpost: