Studies of adsorption of CO on nanoscopic surfaces are relevant for technological applications in heterogeneous catalysis as well as for sorption of this important greenhouse gas. Presently, adsorption of carbon dioxide on pure and oxidized thin samarium layers near mono-layer thickness on Ni(100) has been investigated by photoelectron spectroscopy and temperature programmed desorption. It is observed that very little CO adsorb on the metallic sample for exposures in the vacuum regime at room temperature. For the oxidized sample, a large enhancement in CO adsorption is observed in the desorption measurements. Indications of carbonate formation on the surface were found by C 1s and O 1s XPS. After annealing of the oxidized samples to 900 K very little CO was found to adsorb. Differences in desorption spectra before and after annealing of the oxidized samples are correlated with changes in XPS intensities, and with changes in sample work function which determines the energy difference between molecular orbitals and substrate Fermi level, and thus the probability of charge transfer between adsorbed molecule and substrate.