Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have w2008R2 PDC and Linux server with samba and winbind. Now I'd like to add some domain users to Unix adm group in AD.

Let's say I have adm group defined in AD, and every user from this group will be a member of Unix adm group when logging to Linux over PuTTY.

I expected that it will be possible with net groupmap, so I tried:

net groupmap add ntgroup="adm"  unixgroup=adm   type=l

but it is not working. If I login I see that I'm a member of adm group, but I don't have adm group permissions (i.e I can't view syslog).

I've tried also

net groupmap add ntgroup="adm"  unixgroup=adm   type=d

but the behavior is the same.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["        <li><a href=\"http://area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"http://careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.7.10.1699\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group. <br>This site is not affiliated with Linus Torvalds or The Open Group in an"], "copyright__copyright__copyright": ["\n\nnet groupmap add ntgroup=\"adm\"  unixgroup=adm   type=l\n\nbut it is not working. If I login I see that I'm a member of adm group, but I don't have adm group permissions (i.e I can't view syslog).\n\nI've tried also\n\nnet groupmap add ntgroup=\"adm\"  unixgroup=adm   type=d\n\nbut the behavior is the same.\n\nshare|improve this question\nadd comment\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nBrowse other questions tagged or ask your own question."]}