[PATCH] Add option --nis-domain and --gid to samba-tool group add

Marc Muehlfeld mmuehlfeld at samba.org
Sun Oct 12 11:02:33 MDT 2014


Hello,

today we had a discussion on the samba mailing list about adding RFC2307
attributes to a group.

Currently, if you don't use ADUC, you have to add the attributes
'msSFU30NisDomain' and 'gidNumber' manually (e. g. via ldbedit). I
thought, it is helpful, if people could do this directly when creating
the group via samba-tool:

# samba-tool group add demoGroup --nis-domain=samdom --gid-number=12345

Find attached a patch for master. Please review and push, if OK. If it's
fine, can this be included in 4.2, too? Or is 4.2 already closed for new
features?

Thanks.


Regards,
Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-option-nis-domain-and-gid-to-samba-tool-group-ad.patch
Type: text/x-patch
Size: 4183 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141012/740c22cd/attachment.bin>


More information about the samba-technical mailing list