Is it a network password or a local password?
On my Debian box, this seems to be controlled by the file /etc/pam.d/common-password and it might load libpam-cracklib package if required.
Not sure about NIS passwords. Here's a
link explaining how to setup common-password to use (or not use) dictionary checking...