Close .. Use/Try
net ads dns gethostbyname dc1.internal.domain.tld $(hostname -f)
Does that work?
I'll bet it does, because, that works for me. ;-)
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Zbynek via samba
> Verzonden: woensdag 21 augustus 2019 11:35
> Aan: L.P.H. van Belle via samba
> Onderwerp: [Samba] Core dumped - net ads dns gethostbzname
>
>
> Hi.
>
> Performing a DNS search for a hostname results in a
> segmentation fault:
>
>
>
>
> ## Debian 10 Buster 64bit
>
>
>
>
> root at hostxzy:~# net ads dns gethostbyname name $(hostname)
> Bad talloc magic value - unknown value
> PANIC (pid 15749): Bad talloc magic value - unknown value
> BACKTRACE: 12 stack frames:
> ?#0
> /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x32)
> [0x7f0827
> a408d2]
> ?#1 /lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20)
> [0x7f08278811c
> 0]
> ?#2 /lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f)
> [0x7f0827a409
> df]
> ?#3 /lib/x86_64-linux-gnu/libtalloc.so.2(+0x3591) [0x7f0826ceb591]
> ?#4
> /usr/lib/x86_64-linux-gnu/samba/libaddns.so.0(dns_open_connect
> ion+0x174)
> [0x7f0827d20424]
> ?#5 net(do_gethostbyname+0x32) [0x5567e6e4acc2]
> ?#6 net(+0x38a50) [0x5567e6e11a50]
> ?#7 net(+0x36168) [0x5567e6e0f168]
> ?#8 net(net_ads+0x47) [0x5567e6e16f17]
> ?#9 net(main+0x980) [0x5567e6dfb5b0]
> ?#10 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)
> [0x7f082686009
> b]
> ?#11 net(_start+0x2a) [0x5567e6dfb87a]
> Can not dump core: corepath not set up
> root at hostxzy:~# dpkg -l winbind
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-a
> Wait/Trig-
> pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name?????????? Version??????? Architecture Description
> +++-==============-==============-============-==============>
=============> =======================================> ii? winbind???????
2:4.9.5+dfsg-5 amd64??????? service to
> resolve user and
> group information from Windows NT servers
> root at hostxzy:~#
>
>
>
>
> Please advise.
>
> Thank you
>
> Zbynek
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>