I don't know if this was mentionned above already, but there is one important thing to consider with L/D max.
When you are flying at the best glide speed, you are actually attempting to achieve the maximum ratio of lift to drag- this was mentionned above.
However, something to keep in mind is that L/D max is associated with a specific AOA, NOT an airspeed. Small trainers and Cessnas don't have angle of attack indicators, so the only resource we have is the ASI. This ratio is obtained from the coefficient of lift and drag curves, and finding the area where the ratio between the two is greatest.
While your best glide speed changes with weight, winds, etc, the specific AOA to use to achieve L/D max remains CONSTANT with altitude, weight, etc. This is important.
Now, let's consider what happens when weight increases; if weight were to increase, more lift would be required to maintain an equilibrium. There are 2 ways to generate lift - increase the AOA or increase IAS. Since L/D max is associated with a fixed AOA, you only have 1 option- increase IAS.
Therefore, when gross weight increases, use a slightly higher IAS for the best glide ratio.
Also, endurance is NOT affected by winds, but range is. With endurance, we fly at the minimum point on the power required curve- this provides minimum sink rate. Range is a function of distance... headwinds and tailwinds can therefore have an impact.