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.
Created on 2011年07月06日 12:48 by bjorn.lofdahl, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg139934 - (view) | Author: bjorn lofdahl (bjorn.lofdahl) | Date: 2011年07月06日 12:48 | |
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. |
|||
| msg221462 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年06月24日 14:50 | |
@bjorn terribly sorry for the delay here :-( Would you be able to supply a patch for this, including doc and unittest changes as appropriate? |
|||
| msg415080 - (view) | Author: Irit Katriel (iritkatriel) * (Python committer) | Date: 2022年03月13日 19:04 | |
nis is deprecated as per PEP 594, so there won't be further enhancements to it. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:19 | admin | set | github: 56715 |
| 2022年03月13日 19:04:45 | iritkatriel | set | status: open -> closed nosy: + iritkatriel messages: + msg415080 resolution: wont fix stage: resolved |
| 2019年03月15日 23:42:49 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2014年06月24日 14:50:47 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg221462 versions: + Python 3.5, - Python 2.6, Python 3.1, Python 3.2, Python 3.3 |
| 2011年07月07日 13:29:14 | bjorn.lofdahl | set | versions: + Python 2.6, Python 2.7 |
| 2011年07月07日 13:28:56 | bjorn.lofdahl | set | versions: + Python 3.1, Python 3.2, Python 3.3, Python 3.4, - Python 2.6, Python 2.7 |
| 2011年07月06日 12:48:57 | bjorn.lofdahl | create | |