On Thu, Aug 25, 2005 at 10:16:11PM +0200, Alexander Gnauck wrote: > hi, > > > > > There should be "gmail.com" instead of "google.com". Check your JID, > > it should be "[EMAIL PROTECTED]". > > ya this was the problem ;-(. Now it works ok and i get the correct > stream features.
Hmm, that is odd. If the google.com domain doesn't exist, it should reply with a stream level <host-unknown/> error. If is does, and isn't willing to service, there are a few options, like sending <policy-violation/>, <see-other-host/>, <host-gone/> or even <undefined-condition/>. Otherwise the following applies. One of the rules in section 6.1 of RFC 3920 states: If the receiving entity is capable of SASL negotiation, it MUST advertise one or more authentication mechanisms within a <mechanisms/> element qualified by the 'urn:ietf:params:xml:ns:xmpp-sasl' namespace in reply to the opening stream tag received from the initiating entity (if the opening stream tag included the 'version' attribute set to a value of at least "1.0"). The phrase 'is capable of SASL negotiation' means supporting SASL and showing this by returning a version >= 1.0 in the stream header. The phrase 'one or more' means sending an empty <mechanisms/> element is an error, and this should be reflected in the schema, where this is not specified. Let's take this into account for 3920bis. -- Groetjes, ralphm _______________________________________________ jdev mailing list jdev@jabber.org http://mail.jabber.org/mailman/listinfo/jdev