[Samba] Trouble Using Samba 3.5.6 in ADS Domain

Greg Byshenk samba at byshenk.net
Thu Feb 24 15:03:02 MST 2011

On Thu, Feb 24, 2011 at 01:00:36AM +0100, Robert Einsle wrote:

> nsswitch.conf:
> --- cut ---
> passwd:         compat winbind
> group:          compat winbind
> shadow:         compat winbind
> --- cut ---
> But a "getent passwd" dont shows me users from the ADS.
> Is anything missing?
> I've done it with this article:
> http://www.enterprisenetworkingplanet.com/netos/article.php/3487081/Join-Samba-3-to-Your--Active-Directory-Domain.htm
> Any hints?

That article doesn't want to load for me at the moment, so I can't see what
it says, but your 'nsswitch.conf' looks wrong.

If you are using 'compat', then it needs to be the only entry for the database;
you can't use 'compat' + something. 

I think you want either:
	passwd:         winbind
	group:          winbind
	shadow:         winbind

	passwd:         compat
	passwd_compat:  winbind
	group:          compat
	group_compat:   winbind
	shadow:         compat
	shadow_compat:  winbind

greg byshenk  -  gbyshenk at byshenk.net  -  Leiden, NL

More information about the samba mailing list