[Samba] How do you configure a NIS group?
rowlandpenny at googlemail.com
Sun Oct 12 05:26:04 MDT 2014
On 12/10/14 12:12, Marc Muehlfeld wrote:
> Am 12.10.2014 um 12:23 schrieb steve:
>> So, how do you use samba-tool to add a NIS group as the OP asked? You
>> haven't. You've used ldbedit!
> Yes, you are right. For the initial question ('how to add a NIS
> group?'), I used 'ldbedit', to add the two attributes and not 'samba-tool'.
> But my further thoughts were, that the OP maybe would use 'ldapmodify'
> for the group membership management. This can be done without any
> problems using 'samba-tool', if the group membership is taken from the
> AD attributes member/memberOf. 'samba-tool' should be the preferred way
> here, instead of 'ldapmodify'. Reasons posted before.
OK, firstly you **never** modify the 'memberOf' attribute directly, AD
will do it for you when you add/modify a users 'member' attribute.
Secondly, what is wrong with using this ldif with ldbmodify:
dn: <users DN>
member: <group DN>
> Sorry, if this caused confusion to some people here.
More information about the samba