Ticket #205 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

Anonymous sasl problems.

Reported by: thepug Owned by: smoku
Priority: major Component: General
Version: 2.1.24 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

I am trying to use anonymous sasl with my client. I get to the point where the server sends a 'success' and then I send a new stream. With this new stream I should get back a feature list with bind in it, but I get back one with auth and register in it. If I go ahead and try to bind, I get an internal server error.

I'll attach the debug output from the server.

Attachments

jabber_c2s.err (274.0 KB) - added by thepug 7 months ago.
debug log from my anonymous sasl attempts

Change History

Changed 7 months ago by thepug

debug log from my anonymous sasl attempts

Changed 7 months ago by thepug

  • version changed from 2.1.23 to 2.1.24

I was able to get anonymous sasl working, but not without adding a line of code to jabberd2.

It works if I add the following code to sx/sasl_gsasl.c on line 656 (latest stable release): gsasl_property_set(sd, GSASL_AUTHID, creds.authnid);

Changed 7 months ago by smoku

  • status changed from new to closed
  • resolution set to fixed

Right. I think AUTHNID was a bug and it should be AUTHID. Commited in [560].

Could you please the current trunk version to see whether this really help? If not, reopen the ticket.

Note: See TracTickets for help on using tickets.