New User Authorization

Submitted by Anonymous on Mon, 2007-11-12 18:04.

Hi Kobit,

I chose Tigase because it is a lightweight server and am trying to get it to work on a small private network. I am able to register new user accounts using Psi, and the new users do show up in the XML user repository. However when I try to go "online" with a client, I continue to get an error message that the account is "not yet authorised."

How do I go about authorising users once they register? My installation is version 2.9.5 b606 on a Mac running in the Unix environment. I am new to Jabber but quite Unix saavy.

Thanks!

Trackback URL for this post:

http://www.tigase.org/en/trackback/1355
Submitted by Anonymous (not verified) on Tue, 2007-11-13 11:43.

Thanks, I seem to have it working now!

kobit's picture
Submitted by kobit on Tue, 2007-11-13 06:17.

Hello, I found what is causing the problem.

In your repository you have an account: "Bill@localhost", starting with upper case. But Psi normally sends authentication details with account name all lowercased. Tigase authentication module is case sensitive so authentication fails.

I am not sure, to be honest where is the bug - Psi or Tigase. I would need to look at XMPP specification to tell whether JID is case sensitive or not.

But in you case to solve the problem you need to edit user-repository.xml and change "Bill" to "bill" and it should work.


Submitted by Anonymous (not verified) on Mon, 2007-11-12 22:53.

Thanks. I sent the logs, configuration files and user repository via email to kobit at tigase.org. The logs confirm the inability to go online in Psi.

I activated server debugging for the last run.

I am using Psi version 0.11 for Mac OS.

One point to note is that Java 1.6 for Mac OS is a beta and Apple is no longer making this available to developers. (I am indeed running Tigase with Java 1.6).

kobit's picture
Submitted by kobit on Mon, 2007-11-12 21:57.

I have never tested Tigase on Mac but I don't think this is an issue with Mac environment itself.

What Psi version do you use?

There should be logs/ directory created during installation time. Could you please have a look if there are any logs.

In any case this behavior is unexpected and to be able to diagnose the problem I would like to see your configuration file if possible and log files with debugging turned on


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.