Use this wiring diagram
http://manuals.sohc4.net/CB350_CB400/WD_CB400_77.jpg not any simplified one. Take the time to understand the layout and the switching diagrams.
The red/white wire should go from the solenoid connector to the rectifier connector, this is the charge power from the alternator to the battery.
The fusebox wiring is a bit odd but not super complex.
The sleeved red wire from the solenoid is +12V battery power, it goes to fusebox connector and to the MAIN fuse. The extra insulating sleeve is because if the insulation on this unfused battery power wire gets worn through and metal touches metal, you have a melted wire at minimum... and probably a fire.
After the MAIN fuse the fused power is also a red wire, but without the extra insulating sleeve - it goes only to the ignition switch.
Key on power is the black wire: this goes to may components directly, and to the starter button switch. The starter button, when "off", sends power to the headlight switch on the black/red wire to power the headlight and front marker lights through the switch.
Ahh but the "TAIL" fuse... some bikes had a lights OFF function, this would connect black to brown/black which powers the TAIL fuse, with its fused power coming back to the ignition switch on the brown/white wire. If yours has no OFF position on the headlight dimmer switch, the black wire is spliced to the brown/black wire somewhere: usually the spliced wires are stuck in the sleeving with the switchpod wires but if the pod was replaced (replacement ones don't have the spliced wires) you will need to add the jumper at the harness junction by the steering stem - or the tail light will come on in P but not in ON (there has been plenty of confusion and hair pulling about this).
This is all for the parking lights. In "P", the tail light is powered from the MAIN fuse directly. In "ON", it's powered though the TAIL fuse.
The extra brown wire in the headlight shell is for a front parking light, you may see some headlights with an extra tiny bulb, that is the front parking light. This was never used in North America because the DOT headlight rules did not allow it, but was used in other markets.
This makes the ignition switch wiring a bit confusing, the brown wire connects to two terminals. It makes sense if you look at the ignition switch connection diagram.
A black wire in the headlight shell could be for the horn or the front brakelight switch. Or just an extra?
Connect the green ground wire to the spade terminals at the bucket mounting bolts. This carries the headlight (etc) ground current around the steering stem bearings. Without this connection the bearings will be destroyed pretty quickly by the electricity going through them.