Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have Active Directory sign in working on an Ubuntu 12.04 box. When an active directory user signs in, I would like to add them to the group sambasharers. Where and how would I add this declaration?

I guess I should add that I am using Samba and winbind for authentication.

share|improve this question
Even better: have whether or not you add the user to the local linux group depend on whether they are a member of a specific AD group. – Joel Coel Oct 8 '12 at 15:48
That would definitely be a major plus. Everyone who "should" be logging in to this box will be a part of the progs group in AD. – tubaguy50035 Oct 8 '12 at 15:49
up vote 2 down vote accepted

Simple and probably not scalable solution:

Assuming you've already set up your Linux box to authenticate to Active Directory, then you just add each user who should be in the group to the sambasharers group on the UNIX Attributes tab in Active Directory Users and Groups. If you don't see the UNIX Attributes tab, see this Microsoft KB article.

share|improve this answer
Works for me. I'm a linux person and am just getting used to the Windows side of things. Thanks! – tubaguy50035 Oct 8 '12 at 16:00

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.