Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have Samba v4.0.5 installed and running. It is running its own 'bundled' ldap service. I'm happy for it to use its own internal ldap service, but I'd like it to use an external ldap service for authentication. Can someone tell me how to do that? PAM? Config statements in smb.conf? Other?

share|improve this question

Per the Samba4 wiki:

This document attempts to describe some of requirements that a 'general purpose' LDAP directory server must meet to have Samba4 successfully use it as a 'directory backend'.


This is no longer an area of active development in Samba4, and is not supported, or expected to be supported

I'd suggest switching whatever references your external LDAP to instead point to Samba4 (which implements AD) rather than the other way around.

share|improve this answer

Just use ntlm_auth. For example, both dovecot and squid support it.

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.