[Samba] domain users "primary group" does not take effect in UNIX attributes (NIS)

L.P.H. van Belle belle at bazuin.nl
Thu Oct 30 01:47:15 MDT 2014


>>Whatever I do choose as "primary group" for a user in the [UNIX Attributes] tab, it does *not take effect*. Is this a >> known bug?

What did you set as the "primairy group on the "Member of" Tab? 
Thats the group hou need to set.


Louis


 

>-----Oorspronkelijk bericht-----
>Van: micromegas at mail333.com 
>[mailto:samba-bounces at lists.samba.org] Namens ?icro MEGAS
>Verzonden: donderdag 30 oktober 2014 1:18
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] domain users "primary group" does not take 
>effect in UNIX attributes (NIS)
>
>Hello list,
>
>using AD with rfc2307 provisioned and NIS extensions are 
>available. In ADUC tool I choose the group "Domain Admins" and 
>click on the [UNIX Attributes] tab. I activate it for my 
>domain and choose the GID=500. When I execute on my member 
>server "net cache flush && getent group 500" I get the result
>
>domain admins:x:500:johndoe,name1,name2
>
>So far so good, that means that domain group is available on 
>the member server. Here's an output of "getent passwd"...
>[...]
>johndoe:*:500:40000:John Doe:/home/MYDOM/johndoe:/bin/bash
>[...]
>
>Looks correct, the user "johndoe" has uid=500 and gid=40000. 
>The gid 40000 is "domain users".
>
>Now I want to change some UNIX attributes of that particular 
>user. I open ADUC tool, choose that user "johndoe", click on 
>the [UNIX Attributes] tab and make following changes there:
>
>shell=/bin/false
>home=/srv/some/thing/else
>Primary Group=Domain Admins
>
>Then I apply these settings and on the member server I do a 
>restart of the winbind service and check the results of 
>"getent passwd" ...
>[...]
>johndoe:*:500:40000:John Doe:/srv/some/thing/else:/bin/false
>[...]
>
>The shell and home were applied correctly, but why doesn't the 
>"primary group" take effect ??? I would expect a line like that...
>johndoe:*:500:500:John Doe:/srv/some/thing/else:/bin/false
>
>I have tried with other groups, too but without success. 
>Whatever I do choose as "primary group" for a user in the 
>[UNIX Attributes] tab, it does *not take effect*. Is this a known bug?
>
>Cheers,
>Mirco
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list