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

Successfully joined my Linux Box to a Windows AD Domain. Wanted to know from other admins if it us possible to specify what groups from windows ad is allowed to login? Otherwise anyone with a AD account can login. Suggestions?

share|improve this question
up vote 1 down vote accepted

I've recently completed a Linux/AD integration project at my employer. I tried out Likewise, but didn't appreciate the complete mess it made out of the LDAP tree in Active Directory. Anyway, I ended up going the "homebrew" route with mit-kerberos, ldap, and pam_ldap - we couldn't be happier. I use the AllowGroups directive in my sshd_config to limit which AD groups are able to authenticate to the server. This has worked quite well for us so far.

share|improve this answer

I heartily recommend Likewise-Open for this sort of thing (, because they make it dead simple to specify the groups able to log in, and the like.

The simplicity and time savings alone is worth checking it out. I built an AD infrastructure specifically to authenticate Linux users against AD, and I used this tool to do the configuration. I'm not a paid shill, I've just had such a good experience with it that I can't talk about it enough.

share|improve this answer
Congrats on the 10K! – Dennis Williamson May 13 '10 at 1:41
congrats on 10K! – Mark Henderson May 13 '10 at 3:41
Hey, thanks guys! :-D – Matt Simmons May 13 '10 at 11:56

Go to where the computer object is located in AD and right click and select Properties. Under the security tab you can specify who has access and their rights on the machine.

share|improve this answer
Have you verified that this works with Linux hosts? I may be wrong, but I'm nearly 100% certain that it does not. – EEAA May 10 '10 at 22:03

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.