See the Setup a Samba AD Member Server HowTo for information about setting up Winbind and pam_winbind.