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've been following: but getent passwd dosn't show domain users, and I cannot login with domain users. The rest of the test commands are OK.

share|improve this question
up vote 2 down vote accepted

I had to do the following:

Install: libpam0g-dev with:

# apt-get install libpam0g-dev

and then recompile and reinstall samba 4 from source.

in stead of the winbind 4 wiki:

# ln -s /usr/local/samba/lib/ /lib/
# ln -s /lib/

I used:

# ln -s /usr/local/samba/lib/ /lib/x86_64-linux-gnu/
# ln -s /usr/local/samba/lib/ /lib/x86_64-linux-gnu/

In stead of the wiki:

# ln -s /usr/local/samba/lib/security/ /lib/security

I used:

ln -s /usr/local/samba/lib/security/ /lib/x86_64-linux-gnu/security/

In /etc/pam.d/common-session i only put:

session required umask=0022 skel=/etc/skel

in the beginning of the file. (Following the wiki on this file I got locked out also for local root user)

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.