Ticket #78 (closed defect: fixed)
libnss_mdns crashes Samba
| Reported by: | mschurter | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | nss-mdns | |
| Keywords: | Cc: | michael@… |
Description
I received a segmentation fault when running the Samba command: net ads join
A gdb backtrace revealed libnss_mdns was the culprit. Removing mdns from my nsswitch.conf file fixed Samba.
Backtrace:
#0 0x0816e15d in timeval_add () #1 0xb791e76b in avahi_resolve_address () from /usr/lib/libnss_mdns.so.2 #2 0xb791ed09 in mdns_query_ipv4 () from /usr/lib/libnss_mdns.so.2 #3 0xb791c979 in _nss_mdns_gethostbyaddr_r () from /usr/lib/libnss_mdns.so.2 #4 0xb7cb6389 in gethostbyaddr_r () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7cbeaac in getnameinfo () from /lib/tls/i686/cmov/libc.so.6 #6 0xb7da9c3a in ldap_pvt_get_hname () from /usr/lib/libldap_r.so.2 #7 0xb7da5007 in ldap_host_connected_to () from /usr/lib/libldap_r.so.2 #8 0xb7d91060 in ldap_int_open_connection () from /usr/lib/libldap_r.so.2 #9 0xb7da3503 in ldap_new_connection () from /usr/lib/libldap_r.so.2 #10 0xb7d90ef1 in ldap_open_defconn () from /usr/lib/libldap_r.so.2 #11 0xb7d91776 in ldap_open () from /usr/lib/libldap_r.so.2 #12 0x081cc341 in ldap_open_with_timeout () #13 0x081cc41f in ads_connect () #14 0x0807b9b1 in net_ads_check_our_domain () #15 0x0807d4bf in net_ads_join () #16 0x0807afa9 in net_ads () #17 0x0807adea in main ()
Using Debian Sid, libc6 2.3.6ds1-8, libnss-mdns 0.8-6, samba 3.0.23d-1
Change History
Note: See
TracTickets for help on using
tickets.
