I've thought a bit about this as I'm interested in the possibility of charging a Leaf from a Prius for remote charging.
It _may_ be possible to charge L1/L2 from a DC source but it won't be any faster than charging from AC. You will still be limited by the current capacity of the wiring to the charger, and the power output limit of the on board charger (3 or 6 kW depending on your Leaf). And your DC source will have to be stable, in the window of what the charger expects to see after rectification, and capable of delivering the current the on board charger expects to be able to pull.
There are ways you could get direct DC in and bypass the onboard charger limit, but you will need an external charger not just an EVSE like device. That will either require a CHAdeMO setup (Leaf w/QC and a compatible charger and controller) or hacking your Leaf to add a direct DC input (and a charger, controller, and probably some CAN spoofing). Either is expensive, but feasible. Using CHAdeMO will be more expensive but take less hacking, direct DC will be a bit cheaper but take much more hacking.
If you want to charge from solar by far the most straightforward thing to do is use a grid-tie inverter to put power into the grid, and then charge from the grid using AC either at the same time or some other time. Even if you have an off grid system, it will still be much simpler to use an AC inverter even though there are some efficiency penalties. In theory you could use solar to charge direct from DC, but you would still need a high power charge controller as in either of the above approaches. There is no way to directly feed the DC from a solar array into the battery safely. You need a charger to supply the right voltage / current to the battery under a wide variety of solar output voltage/current conditions, and to load the solar array appropriately for decent efficiency. A poorly designed dc:dc system could easily be less efficient than a dc:ac:dc system with proper max power point tracking.
Rob