Whoa -
Samba doesn't play well with Active Directory, so far as I know.
If you want to have usernames consistent with Windows, you'll have to create a username on the linux machine for every one on the windows machines and give them the same password. If you want password changes to cascade automatically, you'll have to read about setting up a Samba PDC (Primary Domain Controller).
Windows doesn't use straight usernames and passwords. They add the machine name onto the beginning of the username and also require a secure hash if they are operating in PDC mode (read: portable desktops, automatic password changes, logon scripts, etc)
I set up just such a system in-house a few months ago, and it was a pain and ultimately not really worth it. I would recommend that you read up on Samba and Windows password synchronization, as it is too much to go into here.
|