[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:
MY_GROUP::123:user1,user2
MY_GROUP::123:user3,user4

This is supported by the OS, grp.getgrall(), etc, but
nis.cat("group")
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>
<http://bugs.python.org/issue2148>
__________________________________


More information about the New-bugs-announce mailing list