https://bugs.openldap.org/show_bug.cgi?id=9287

happy mu <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FEEDBACK                    |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #3 from happy mu <[email protected]> ---
hi Quanah 

yes, there is an issue in ldap DNS search. 

currently we use  *result=gethostbyname_r  in function
ldap_pvt_gethostbyname_a.
but gethostbyname_r is not support ipv6 and deprecated  , should use
getaddrinfo() instead. 

will openldap fix this issue ?  if yes, which version can be use. 

/*********************************************************************/

ref :
http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/baselib-gethostbyname-r-3.html

pstack : 
1412 #0 0x00007f5e92426c3d in poll () from /lib64/libc.so.6
1413 #1 0x00007f5e8ffa4f62 in __res_context_send () from /lib64/libresolv.so.2
1414 #2 0x00007f5e8ffa2394 in __res_context_query () from /lib64/libresolv.so.2
1415 #3 0x00007f5e8ffa35ca in __res_context_search () from
/lib64/libresolv.so.2
1416 #4 0x00007f5e80a13208 in gethostbyname3_context () from
/lib64/libnss_dns.so.2
1417 #5 0x00007f5e80a13cdb in _nss_dns_gethostbyname_r () from
/lib64/libnss_dns.so.2
1418 #6 0x00007f5e9244ce6f in gethostbyname_r@@GLIBC_2.2.5 () from
/lib64/libc.so.6
1419 #7 0x00007f5e90e2667e in ldap_pvt_gethostbyname_a
(name=name@entry=0x7fff152052c0 "mix-udmee-1-67784ddf44-5krt4",
resbuf=resbuf@entry=0x7ff f152052a0, buf=buf@entry=0x7fff15205290,
result=result@entry=0x7fff15205298, herrno_ptr=herrno_ptr@entry=0x7fff1520528c)
at util-int.c:453
1420 #8 0x00007f5e90e268cd in ldap_pvt_get_fqdn (name=0x7fff152052c0
"mix-udmee-1-67784ddf44-5krt4", name@entry=0x0) at util-int.c:851
1421 #9 0x00007f5e90e24afb in ldap_int_initialize
(gopts=gopts@entry=0x7f5e91049120 <ldap_int_global_options>,
dbglvl=dbglvl@entry=0x7fff1520549 0) at init.c:682
1422 #10 0x00007f5e90e25841 in ldap_set_option (ld=0x0, option=20481,
invalue=0x7fff15205490) at options.c:463

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to