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 unix users authenticating to an PDC (via winbind) and want to have the primary group of those users a local unix group (e.g. www-data).

users have the group "domain users" with gid 10006 (as the gid winbind mapping)

idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum groups = yes
winbind enum users = yes
winbind use default domain = yes
winbind nested groups = yes

but want that the primary group is 33 for all users (www-data)

how to achieve that?

share|improve this question

2 Answers 2

Not what you are exactly asking but may be you could use Identity Management for Unix on your AD and then use ACL (setfacl) on you linux machine to allow access to the filesystem.

share|improve this answer

You should review this post as it mostly solved consistent uid/gid mapping for me

Configure Winbind to get User Info from Windows

share|improve this answer

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.