Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for howtos or instructions on setting up Samba to use an AD server for authentication instead of using a Samba password file. Pointers to documentation helpful, especially the right document to look at on http://samba.org/samba/docs/ .

share|improve this question

It sounds like you want Samba to join to a Windows Server running Active Directory as a Domain Member You will need to set-up Winbind as well using either pam_smb or pam_winbind. I can't remember exactly. Lastly, you will need the winbind nss module activated in /etc/nsswitch.conf for passwd/groups.

share|improve this answer
I'll check this out. Thanks! – casualunixer May 8 '11 at 16:57

Here is a good guide for ArchLinux. It worked quite well for me and may be feasible for other distributions, too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.