I understand the general theory of pooling resources and splitting the rewards based on work contributed, and I've read the pooled mining wiki page at
https://en.bitcoin.it/wiki/Pooled_mining, but I have one question about a technical detail of pooled mining.
When someone contributes a share, does that affect the work the rest of the pool does? Does the share just show that work was done therefore the user is entitled to some reward, or does the share show exactly what work was done so other miners in the pool avoid using the same nonce values that don't solve the block, for instance?
Does a miner who has contributed shares but not solved a block help the other miners in the pool to solve the block more quickly, or is that miner getting paid for doing work that hasn't actually contributed anything valuable?