For $\lambda =0$ and $\lambda <0$ the solution is the trivial solution $x\left(t\right)=0$
So we have to calculate for $\lambda >0$
The general solution here is
$x\left(t\right)=C_1cos\left(\sqrt{\lambda }t\right)+C_2sin\left(\sqrt{\lambda \:}t\right)$
Because $0=C_1\cdot cos\left(0\right)+C_2\cdot sin\left(0\right)=C_1$ we know that
$x\left(t\right)=C_2sin\left(\sqrt{\lambda }t\right)$
$\sqrt{\lambda }t=n\pi$
$\sqrt{\lambda }=\frac{n\pi }{t}$
But does there a solution for lambda exist which is not dependent on t?
By saying $x(L) = 0$ you mean $\sqrt{\lambda}*L = n \pi$