Muckl and Openfire

Hello,

I have muckl installed ( http://zeank.in-berlin.de/muckl/ ) and works fine with Openfire. But my problem is: muckl is complety client-based and the Login data are stored in config.js. So can everyone use the Jabber Account and change the password. To solve this problem, the server must support anonymous sasl. Supports Openfire Anonymous SASL? And if Openfire supports anonymous sasl how i do configure this?

Here is a example config: http://muckl.org/config.js with anonymous sasl. muckl.org uses ejabberd.

Hello,

I’m trying to use MUCkl with open Fire and I don’t con config correctly. Anybody have success and can post, or help with config examples ?

Thanks,

This config finally did it for me:

/*

  • MUCkl - A Web Based Groupchat Application
  • Copyright © 2004 Stefan Strigler steve@zeank.in-berlin.de
  • This program is free software; you can redistribute it and/or
  • modify it under the terms of the GNU General Public License
  • as published by the Free Software Foundation; either version 2
  • of the License, or (at your option) any later version.
  • This program is distributed in the hope that it will be useful,
  • but WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  • GNU General Public License for more details.
  • You should have received a copy of the GNU General Public License
  • along with this program; if not, write to the Free Software
  • Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    */

/* ***

  • This is the main configuration file for the chat client itself.
  • You have to edit this before you can start using MUCkl on your website!

*/

/* BACKENDTYPE - the type of backend to be used
*

  • Either ‘polling’ for HTTP Polling
  • Or ‘binding’ for HTTP Binding
    */
    var BACKENDTYPE = ‘binding’;

/* HTTPBASE - base URI to contact HTTP Polling service
*

  • This must be local to your web server which serves MUCkl. If
  • HTTP Polling service is not local to your web server you have to
  • define a rewrite rule which matches this address and redirects to
  • the real HTTP Polling URI.
  • [refers to step 2 of installation instructions]
    */

//var HTTPBASE = “/tomcat/JHB/”;
var HTTPBASE = “/http-bind”;

/* Login Data - the user to login
*

  • [refers to step 3 of installation instructions]
    */

var XMPPDOMAIN = “127.0.0.1”; // domain name of jabber service to be used

var AUTHTYPE = ‘saslanon’;
//var AUTHHOST = “anon.localhost”; // hostname of sasl anonymous service

//var MUCKLJID = “muckl”; // username
//var MUCKLPASS = “muckl”; // password

/* ROOMS
*

  • Which chat room to join
  • [refers to step 4 of installation instructions]
    */

var ROOMS =
[
{
name:‘test’,
description:‘some room for testing’,
server:‘conference.127.0.0.1’//,
// logo: ‘http://localhost/spongebob.png
}
];

/* CONFERENCENOHIST

  • whether to not show room history upon joining
    */
    var CONFERENCENOHIST = false;

/* DEFAULT_LOCK_MINS

  • time a user is being locked out if not otherwise indicated by kick reason
    */
    var DEFAULT_LOCK_MINS = 1;

/* MAX_LOCK_MINS

  • maximum allowed number of minutes a user may be locked out by kick reason
  • on ban this is used as default value
    */
    var MAX_LOCK_MINS = 60;

/* ***

  • some internally used vars - don’t change except you really know
  • what you are doing

*/

var timerval = 5000; // poll frequency in msec

var stylesheet = “muckl.css”;
var THEMESDIR = “themes”;

/* debugging options */
var DEBUG = true; // turn debugging on
var DEBUG_LVL = 2; // debug-level 0…4 (4 = very noisy)

/* ** Don’t touch ** */
var VERSION = “0.4.4”;