LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   domain users only have 1 group !!! (https://www.linuxquestions.org/questions/linux-server-73/domain-users-only-have-1-group-562068/)

humbletech99 06-15-2007 11:53 AM

domain users only have 1 group !!!
 
I am authenticating users against active directory using samba/winbind but I notice that when doing
Code:

id someuser
it only shows the user as belonging to one group, by default domain users.

I know I can change the primary group in ad to change this but what I really want is for the users to belong to serveral groups instead so that I can give them access to various things by group memberships.

Is is possible to have the domain users belong to multiple groups? Is so how?

What have you done regarding group memberships and using them to assign permissions to files or shares?

archtoad6 06-28-2007 06:54 AM

Quote:

Originally Posted by humbletech99
Is is possible to have the domain users belong to multiple groups?

Yes.

Quote:

Originally Posted by humbletech99
Is so how?

RT:)M usermod, especially "-G".

Quote:

Originally Posted by humbletech99
What have you done regarding group memberships and using them to assign permissions to files or shares?

I run single user machines & don'tuse this feature much, except when I happen to create something w/ root & need to change the ownerships from "root root", to "root users".

humbletech99 06-28-2007 07:56 AM

errrrr, I know how to do unix.

The question was about domain group memberships (and yes I know how to do that too)

the problems was the domain group memberships weren't resolved, but it looks like it sorted itself out, must have been a timing thing cos it was newly done, probably just needed some time. This is strictly a winbind+krb thing.

fukawi2 06-29-2007 01:57 AM

When we first setup our File Server, we discovered a caching problem with the 'nscd' service.

You may need to restart this service when making changes to groups etc


All times are GMT -5. The time now is 12:36 PM.