[New-bugs-announce] [issue2148] nis module not supporting group aliases

Ernst Persson report at bugs.python.org
Wed Feb 20 13:30:31 CET 2008

New submission from Ernst Persson:

Nis (applications?) has a line limit in the "group" entry, so you can't 
have very long lines (=many users)
The way to solve this is to put aliases in the group map, like this:

This is supported by the OS, grp.getgrall(), etc, but
only puts the last entry into the dict it returns.

I guess the best thing if you want to return a dict is to merge the 
members if both the name and gid matches.

components: None
messages: 62591
nosy: ernstp
severity: normal
status: open
title: nis module not supporting group aliases
type: behavior
versions: Python 2.5

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list