This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bjorn.lofdahl
Recipients bjorn.lofdahl
Date 2011-07-06.12:48:56
SpamBayes Score 2.7281777e-10
Marked as misclassified No
Message-id <1309956537.93.0.737876319543.issue12506@psf.upfronthosting.co.za>
In-reply-to
Content
I think i have found an issue with the module that is only visible on larger sites that are using multiple group entries for the same group in the NIS maps. This comes from the bug that NIS can only handle 1024 chars per line, so if a group has more members that exceeds 1024 chars, a new line is added with the same GID and NAME. yp tools handles this fine, it simply reports several "lines" for the same group. For ex:

> ypcat group | grep FOO | cut -d ':' -f 1-3
FOO:x:17776
FOO:x:17776
FOO:x:17776
FOO:x:17776
FOO:x:17776

when i do the same using the python NIS module it only gives me the users for one of the maps for this group. I guess the "correct" behavior from the module should be to concatenate/append all users from all the maps for each specific group.
History
Date User Action Args
2011-07-06 12:48:57bjorn.lofdahlsetrecipients: + bjorn.lofdahl
2011-07-06 12:48:57bjorn.lofdahlsetmessageid: <1309956537.93.0.737876319543.issue12506@psf.upfronthosting.co.za>
2011-07-06 12:48:57bjorn.lofdahllinkissue12506 messages
2011-07-06 12:48:56bjorn.lofdahlcreate