[jadmin] adding user to mysql

Marcin Mazurek M.Mazurek at netsync.pl
Wed Jul 5 04:21:36 CDT 2006


Hi,

I have a problem with users stored in mysql db. I've read in docs that to
add user to database I don't have to fill token, hash and sequence field

That simple query:
insert into authreg (username, realm, password) values
('stefan.kowalski', 'jabber.netsync.pl', 'stefek');

should be enough. When I try to authorize new user it fails

jabberd2 2.0s8-0ubuntu5

Wed Jul  5 11:02:13 2006 [notice] [8] [192.168.88.30, port=39941] connect
Wed Jul  5 11:02:13 2006 [notice] [8] auth succeeded:
username=stefan.kowalski, resource=Psi
Wed Jul  5 11:02:13 2006 [notice] [8] requesting session:
jid=stefan.kowalski at jabber.inetsync.pl/Psi
Wed Jul  5 11:02:13 2006 [notice] [8] [192.168.88.30, port=39941]
disconnect


Normal autoregistered users work just fine. What might be wrong?

br 
mazek

-- 
http://www.actus.org.pl/  - :::: -  nic-hdl: MM3380-RIPE
GnuPG 6687 E661 98B0 AEE6 DA8B  7F48 AEE4 776F 5688 DC89
http://www.poznan.linux.org.pl/ : http://www.netsync.pl/




More information about the JAdmin mailing list