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'm trying to link a debian server authentication to active directory. I followed this tutorial: but I'm stuck on the

getent passwd

Because this doesn't list all AD users but only locals. This is my nsswitch.conf:

passwd:         files winbind
group:          files winbind
shadow:         files winbind

And I'm sure it is well connected to AD becuse this:

wbinfo -u

Lists all AD users. What have I missed?

share|improve this question
Check enum user directives in smb.conf – user130845 Aug 3 '12 at 11:49
up vote 1 down vote accepted

If you are not running getent passwd as root, this is expected behaviour in most cases as as a standard user should not get access to the user list. Knowing the username of a user you could check via

$ getent passwd <username>

too. This should be possible for root and non-root users.

If this does not work, you should take a look at the logs:

  • /var/log/krb5.log
  • /var/log/auth.log
  • /var/log/samba/*
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.