Mantis BugTracker for CapiSuite
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000091 [CapiSuite] scripts minor always 2004-08-13 15:28 2004-09-07 10:36
Reporter guest View Status public  
Assigned To gernot
Priority normal Resolution won't fix  
Status closed   Product Version
Summary 0000091: pwd.getpwnam(user) does not returns error using ldap/nis for user auth
Description On a system where users are managed with ldap or nis the file /etc/passwd does not contain the usernames (cause they are stored elsewhere).
Because of that pwd.getpwnam(user) in idle.py returns an error.

Fri Aug 13 15:21:31 2004 Pythonscript /usr/lib/capisuite/idle.py,idle,0x81c7408: A python error occured. See traceback below.
Fri Aug 13 15:21:31 2004 Pythonscript /usr/lib/capisuite/idle.py,idle,0x81c7408: Python traceback: Traceback (most recent call last):
Fri Aug 13 15:21:31 2004 Pythonscript /usr/lib/capisuite/idle.py,idle,0x81c7408: Python traceback: File "/usr/lib/capisuite/idle.py", line 35, in idle
Fri Aug 13 15:21:31 2004 Pythonscript /usr/lib/capisuite/idle.py,idle,0x81c7408: Python traceback: userdata=pwd.getpwnam(user)
Fri Aug 13 15:21:31 2004 Pythonscript /usr/lib/capisuite/idle.py,idle,0x81c7408: Python traceback: KeyError: 'getpwnam(): name not found'
Additional Information
Attached Files

- Relationships

- Notes
(0000178)
gernot
2004-09-07 10:36

I'm very sorry, but supporting LDAP/NIS is not in the scope of the CapiSuite default scripts. They should serve as an example and be as simple as possible.

AFAIK, there was a possibility to add NIS entries to /etc/passwd by adding something like "+:::::" at the end; but I'm definitely no LDAP/NIS expert.

If you find a solution for this, I'll have a look on it and decide if I'll include it in the official distribution but I don't have time to investigate this special use case by myself, sorry...

You certainly can ask on my mailing lists of someone can help you, though...
 

- Issue History
Date Modified Username Field Change
2004-08-13 15:28 guest New Issue
2004-09-07 10:32 gernot Status new => assigned
2004-09-07 10:32 gernot Assigned To  => gernot
2004-09-07 10:36 gernot Status assigned => resolved
2004-09-07 10:36 gernot Resolution open => won't fix
2004-09-07 10:36 gernot Note Added: 0000178
2004-09-07 10:36 gernot Status resolved => closed


Mantis 0.19.2
Copyright © 2000 - 2004 Mantis Group
134 total queries executed.
19 unique queries executed.