On Wed, Mar 06, 2013 at 08:01:32PM +0100, LEVAI Daniel wrote:
> Hi!
> 
> <Preface>
> You can use Google Talk with Bitlbee, because it supports jabber, but on
> OpenBSD with one condition: you must specify the server name for the
> account (eg.: 'account set server xmpp.l.google.com', because bitlbee's
> SRV DNS queries don't work on OpenBSD [1].  Basically Bitlbee uses the
> ominous ns_*() functions for SRV type DNS lookups, and those are missing
> from our libc. So now, when Bitlbee tries to fire up a GTalk account, it
> can not query the SRV record(s) for _xmpp-client._tcp.gmail.com, and
> falls back to querying A records for gmail.com (given that the account
> id is username(at)gmail.com) and fails to connect.
> </Preface>

This is not specific to gmail, it's in the protocol itself. And fwiw, it
seems it works ootb with the libpurple flavor of bitlbee, connecting
with an account f...@bar.com where the server is xmpp.bar.com and there's
a dns srv record such as
$host -t SRV _xmpp-client._tcp.bar.com
_xmpp-client._tcp.bar.com has SRV record 0 5 5222 xmpp.bar.com

With that i dont need to set the server in the account config - so you
might want to have a look at how libpurple works here.

That said, i'll recheck with the regular unflavored bitlbee, and with
your diff.

Landry

Reply via email to