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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2148>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to