OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: proxymap segfaulting

From: Todd A Green (tagcs.utah.edu)
Date: Mon Jan 02 2006 - 13:09:38 CST


Wietse Venema wrote:
> This happens in the nsswitch routines, while doing a unix:passwd.byname
> table via the nsswitch routines. How are your UNIX password records
> stored?

Reply #2 (I've had to put a space in passw d so that the list manager
doesn't try to interpret this as a command ;-)

nsswitch.conf has:

passw d: compat
group: compat

i.e. /etc/{passwd,shadow} + NIS (crypt format)

> Does this always happen with usernamedomainname lookups?

No. Same process earlier webmastercs was just fine (there are also many
other successful lookups):

read(16, "request\0lookup\0table\0unix:passwd"..., 4096) = 64
time(NULL) = 1136179633
socket(PF_FILE, SOCK_STREAM, 0) = 19
fcntl(19, F_GETFL) = 0x2 (flags O_RDWR|O_LARGEFILE)
fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(19, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
poll([{fd=19, events=POLLOUT|POLLERR|POLLHUP, revents=POLLOUT}], 1, 5000) = 1
writev(19, [{"\2\0\0\0\0\0\0\0\n\0\0\0", 12}, {"webmaster\0", 10}], 2) = 22
poll([{fd=19, events=POLLIN|POLLERR|POLLHUP, revents=POLLIN|POLLHUP}], 1,
5000) = 1
read(19, "\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377"..., 36) = 36
close(19) = 0
select(17, NULL, [16], [16], {3600, 0}) = 1 (out [16], left {3600, 0})
write(16, "status\0001\0value\0\0\0", 17) = 17
time(NULL) = 1136179633
write(5, "V\32\0\0.\0\0\0\1\0\0\0", 12) = 12

Todd