Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iChat Server: "SASL callback for non-existing host"

I'm working on getting a new Mac Mini Server set up and have run into a problem with involving iChat Server and DNS. I found a few other threads with the same error message I'm seeing, but none had the same setup, so I'm hoping someone knows the solution.


My server's hostname is <myserver>.<mydomain>.com. When I connect via Jabber client as khagler@<myserver>.<mydomain>.com, everything works fine--no problems.


I've set up SRV records for _xmpp-server._tcp.<mydomain>.com and _xmpp-client._tcp.<mydomain>.com pointing to <myserver>.<mydomain>.com.


When I try to create a Jabber account "khagler@<mydomain>.com" and try to connect, it rejects my password and looking in the log I see:


Feb 2 16:52:47 frontier jabberd/c2s[51253]: SASL callback for non-existing host: <mydomain>.com


Does anyone know what I might be missing?

Posted on Feb 2, 2012 4:58 PM

Reply
Question marked as Best reply

Posted on Feb 3, 2012 1:35 PM

Considerable further searching, this time on "jabberd2," eventually turned up the solution. I need to open two files and edit them.


/etc/jabberd/sm.xml:


Look for

<local>

<!-- Who we identify ourselves as.

Users will have this as the domain part of their JID.

If you want your server to be accessible from other

Jabber servers, this IDs must be FQDN resolvable by DNSes.

If not set, the SM id is used. -->

<id><myserver>.<mydomain>.com</id>


/etc/jabberd/c2s.xml:


Look for

<id require-starttls="true" pemfile="/etc/certificates/frontier.orange-road.com.947515504262B5757AB90D084DF 652A0EA8E0B76.concat.pem" private-key-password="C4D239B3-87B9-4F58-9D3E-541587EFD7EF" cachain="/etc/certificates/frontier.orange-road.com.947515504262B5757AB90D084DF 652A0EA8E0B76.chain.pem"><myserver>.<mydomain>.com</id>


In each file, I removed the "<myserver>." bit and that solved my problem. (Of course, this also breaks <myserver>.<mydomain>.com addresses, but I don't particularly care about that.)

4 replies
Question marked as Best reply

Feb 3, 2012 1:35 PM in response to khagler

Considerable further searching, this time on "jabberd2," eventually turned up the solution. I need to open two files and edit them.


/etc/jabberd/sm.xml:


Look for

<local>

<!-- Who we identify ourselves as.

Users will have this as the domain part of their JID.

If you want your server to be accessible from other

Jabber servers, this IDs must be FQDN resolvable by DNSes.

If not set, the SM id is used. -->

<id><myserver>.<mydomain>.com</id>


/etc/jabberd/c2s.xml:


Look for

<id require-starttls="true" pemfile="/etc/certificates/frontier.orange-road.com.947515504262B5757AB90D084DF 652A0EA8E0B76.concat.pem" private-key-password="C4D239B3-87B9-4F58-9D3E-541587EFD7EF" cachain="/etc/certificates/frontier.orange-road.com.947515504262B5757AB90D084DF 652A0EA8E0B76.chain.pem"><myserver>.<mydomain>.com</id>


In each file, I removed the "<myserver>." bit and that solved my problem. (Of course, this also breaks <myserver>.<mydomain>.com addresses, but I don't particularly care about that.)

Nov 28, 2013 6:55 AM in response to khagler

Since I walked through your post, and then through the files - why would I edit this entry? Don't get me wrong - but where are the Variables (I believe they are variables) localhost and localdomain defined?!

I strongly believe that's the problem - they can't be derived - hopefully they can be resolved by DNS - in my case they are resolved by DNS.


Localhost is defined in /private/etc/host - yes - but where is localdomain defined? Would it make sense to edit the /private/etc/hosts-file with

ip.ip.ip.ip domainname


Cheers

Nov 28, 2013 10:56 AM in response to khagler


Feb 2 16:52:47 frontier jabberd/c2s[51253]: SASL callback for non-existing host: <mydomain>.com



I'd like to reflect on this logentry you've provided. According to this, the only file you would need to edit is the c2s.xml, since in this file is the entry on how to identify itself in logentries?


User uploaded file


I had them copied to the Desktop and opened in Xcode editor - from this I would say, if the sm was complaining then the logentry must be different - jabberd/sm instead of jabberd/c2s, right?

iChat Server: "SASL callback for non-existing host"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.