[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3704) slapd: socket problem using gcc elf-64



Full_Name: Andrea Migliore
Version: 2.2.15 - 2.2.24
OS: hp-ux 11.11 and 11.23
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (192.6.76.74)


compiling openldap 2.2.15 or 2.2.24 on hp-ux 11.11 or 11.23 on pa-risc cpu
using gcc/pa-risc 2.0 all it's ok.

But using gcc/elf-64 slapd cannot accept connection.

With tusc ( truss,strace etc.. ) it seems that in source slapd/daemon.c

s = accept( slap_listeners[l]->sl_sd,(struct sockaddr *) &from, &len );

return ok ( s=9 ) but doesn't fill "from".

when switch test from.sa_addr.sa_family results 0 ( UNDEFINED ) 
so socket is closed ( slapd_close(s);).


slapadd works fine !