Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-15-2013, 08:38 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 8

Rep: Reputation: Disabled
Angry Make AD domain account member of local group in Linux

I'm using RHEL 6 that I've figured out (finally...) how to integrate it in a MS Active Directory domain. I've used Winbind to achieve this. For now, I need to enable Samba shares but it seems that this working only if the permissions on the shares are set using the AD groups.
More clearly I would say that what I want to achieve is to have AD account being a member of a Linux local group.

I've ran the command below :

[root@hqltest2 samba]# usermod -a -G localgroup MYDOMAIN\user

and I can see from /etc/group that my domain user is now member of my local Linux group.

In my smb.conf file, I set permissions for the share to the local group

valid users = +localgroup

However, the user is not able to browse the share. On the other hand, this works perfectly if the permissions are granted to the AD domain group of the user. Apparently, Linux doesn't handle correctly the membership of the AD domain account to the local group.

Does somebody has a clue how to sort it out?

Last edited by patmut; 01-15-2013 at 09:13 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Add Local User to Domain Users Group Stannley Linux - Newbie 1 09-09-2012 09:21 PM
Need to make local user account with administrative rights wilmapayne Other *NIX 2 04-22-2009 08:24 AM
How would you make a local backup of a group share? Neruocomp General 3 10-30-2008 01:22 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
Member of local and remote group at the same time? xtrax Linux - General 3 12-20-2004 07:36 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration