Have you got your Samba server authenticating your users to a domain controller. here is an example for the smb.conf

code:
security = SERVER
encrypt passwords = Yes
password server = Server1

I think this is what you want but this requires that you have a windows domain controller.