This paper considers the capabilities of the least-square method for adaptive spatial smoothing of lidar return signals recorded in the photon counting mode. An example is given of application of the adaptive smoothing procedure for reconstruction of the vertical profiles of temperature and scattering ratio.