https://bugs.openldap.org/show_bug.cgi?id=8847
--- Comment #38 from Howard Chu <[email protected]> --- (In reply to HoweverAT from comment #37) > (In reply to Howard Chu from comment #36) > > Since I've just been tinkering with debug output, this came to mind. With > > this patch, it would be a good idea to add the locally bound IP:port to the > > debug output somewhere, e.g. in ldap_dump_connection. Should probably use > > the recently added lutil_sockaddrstr, and that function likely should be > > moved into ldap_pvt_ instead of lutil. > > Hello, > > thank you for your input. > > I tried to add to ldap_dump_connection( see the "from" part, which is always > printed out independet of ) > > e.g. Output: > ** ld 0x55974c710680 Connections: > * host: localhost port: 389 (default) > * from: IP=127.0.0.1:33676 > refcnt: 2 status: Connected > last used: Tue Mar 9 12:01:18 2021 > > > ** ld 0x55974c710680 Outstanding Requests: > * msgid 1, origid 1, status InProgress > outstanding referrals 0, parent count 0 > ld 0x55974c710680 request count 1 (abandoned 0) > ** ld 0x55974c710680 Response Queue: > Empty > ld 0x55974c710680 response count 0 > > I tried to add to ldap_dump_connection the "from" part which is always > output regardless of the new SOCKET_BIND_ADDRESSES option > > If this ok, i could provide a patch for it tomorrow :) Yes, this is what I had in mind, thanks. -- You are receiving this mail because: You are on the CC list for the issue.
