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 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
add comment

1 Answer

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
add comment

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.