Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to link a debian server authentication to active directory. I followed this tutorial: http://wiki.debian.org/Authenticating_Linux_With_Active_Directory 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

1 Answer 1

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

 
discard

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.