As discussed on IRC, smbtad shall support binding to an IP Adress (and as such to an interface) by configuration.
blocks 1.2.6 release tracker bug
and this raises a lot of coding to properly support both ipv4 and ipv6
The server interface can run on ipv6 native while supporting ipv4.
I am not ready to commit code yet, but have a bunch of code in the queue...
The current code works for me for ipv6 as well as for ipv4.
The address to bind to can be given with:
smbtad_ip = $IPV4ADDR
smbtad_ip = $IPV6ADDR
smbtad_ip = $HOSTNAME
in case of HOSTNAME smbtad will try to resolve the hostnames ip address and uses that.
If the parameter is not given, it defaults to localhost.
I have updated the documentation about this.
I am resolving this bug, please reopen if it doesn't work.
the status table has to be updated to reflect the smbtad_ip settings in the database. reopened
smbtad_ip is now included in the report functions of smbtaquery and in the status table of smbtad.
I have re-factored IP address support using getaddrinfo. Right now you can not only specify either IPv4 of IPv6 address, but also and DNS name.