Re: Further adventures in the land of 64-bit linux
[email protected] (Martin v. Löwis) 17 Sep 2002 11:36:35 +0200
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Message-ID | <[email protected]> |
Anders Qvist <[email protected]> writes: > Surprising noone in particular, test_pwd broke in the same way. Fixed in CVS as well. > $4 = 0x1202faec0 "+" > > It's the "NIS-thingie" in /etc/passwd that is the culprit. We may want > to handle that some way? It seems that this is both a misconfiguration of your system, and a bug of it: - If you use NIS, the "+" entry should transparently resolved to get list all users known to the system. - If you don't use NIS, the "+" entry should not be present. - If a field is ommitted in /etc/passwd, getpwent(3) should return "", not NULL, for this field. So I think processing it by returning those fields as None (as done in previous Python versions) should be sufficient. Regards, Martin