| Anonymous | Login | Signup for a new account | 2013-05-25 03:19 UTC | ![]() |
| Main | My View | View Issues | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0002192 | CentOS-4 | 4Suite | public | 2007-07-05 21:09 | 2007-07-05 21:34 | ||||||
| Reporter | tblader | ||||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||||
| Status | assigned | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 4.5 - x86_64 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0002192: getpwuid_r() returns unknown user to application on LDAP client | ||||||||||
| Description | Trying to invoke Adobe Acrobat reader 7.0.9 results in the application not starting. Other applications terminate early when user is in LDAP, but not in /etc/passwd. Users otherwise can login fine, change LDAP passwords, query LDAP server and perform as users quite normally. (acroread:32316): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (230) | ||||||||||
| Additional Information | [3]$ uname -a Linux tmbcorp.flamcorp.com 2.6.9-55.ELsmp 0000001 SMP Wed May 2 14:04:42 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux [3]$ ls -lart /lib/libc.so* lrwxrwxrwx 1 root root 13 Jun 12 16:32 /lib/libc.so.6 -> libc-2.3.4.so [3]$ rpm -qa | grep glibc glibc-2.3.4-2.36 compat-glibc-2.3.2-95.30 glibc-headers-2.3.4-2.36 glibc-common-2.3.4-2.36 glibc-kernheaders-2.4-9.1.100.EL glibc-devel-2.3.4-2.36 compat-glibc-headers-2.3.2-95.30 glibc-2.3.4-2.36 glibc-devel-2.3.4-2.36 [3]$ fgrep -v \# /etc/nsswitch.conf | grep -v ^$ passwd: files ldap shadow: files ldap group: files ldap hosts: files dns bootparams: files ethers: files netmasks: files networks: files protocols: files ldap rpc: files services: files ldap netgroup: files ldap publickey: files automount: files ldap aliases: files | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0005528) tblader (reporter) 2007-07-05 21:34 |
Sorry, you can probably mark this bug as closed. I've compiled a routine that uses getpwuid_r() to obtain a username and it works correctly. This must be an Adobe problem. -- #include <stdio.h> #include <pwd.h> #include <errno.h> #include <string.h> #include <sys/types.h> #define MAXBUF 1024 int main (void) { int id = 0; char buf [MAXBUF]; struct passwd p; struct passwd *pp; uid_t uid = 1009; if ( (getpwuid_r (uid, &p, buf, sizeof (buf), &pp)) == 0) { printf ("succes: name is %s\n", pp->pw_name); } else { printf ("sorry, no biscuit\n"); } return (0); } |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2007-07-05 21:09 | tblader | New Issue | |
| 2007-07-05 21:09 | tblader | Status | new => assigned |
| 2007-07-05 21:34 | tblader | Note Added: 0005528 | |
| Copyright © 2000 - 2011 MantisBT Group |