Project

General

Profile

Bug #3163

nss: need local netgroup implementation

Added by Vitaliy Gusev over 7 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
2012-09-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

/etc/netgroup now is only for NIS-server, but it also could be used for non-NIS purposes.

nss_files.so doesn't have parser for that, so it should be implemented.

History

#1

Updated by Vitaliy Gusev over 7 years ago

  • Assignee set to Vitaliy Gusev
#2

Updated by Vitaliy Gusev over 7 years ago

instead of set:

zfs sharenfs="ro=host1,host2,...,host1024" dataset

can be used next:

/etc/netgroup:
netgroup_rohosts    (host1,,) (host2,,) ... (host1024,,)
zfs sharenfs="ro=netgroup_rohosts" dataset
#3

Updated by Gordon Ross over 2 years ago

There's an implementation of this in NexentaStor, in case anyone wants to upstream it.
https://github.com/Nexenta/illumos-nexenta/commit/bbd227bda98152331a777d5738104051002253b7

Also available in: Atom PDF