Material that can catch shadows but wont cast itself
Maybe you want to use the Input > Light Path node like so:



If the cycles ray is a shadow ray, use the transparent BSDF, otherwise use the Diffuse node (or whatever material nodes you want).

The grey cube casts a shadow on the plane and the blue cube, but the blue cube casts no shadow.