pam_smb is a module which allows Linux users to be authenticated from Samba, NT or Windows 95/8 machines.