[jadmin] adding user to mysql

Andy Choi waichoi88 at gmail.com
Wed Jul 5 04:25:09 CDT 2006


user the userservice path.
best guest is you need md5(password) (or some kind of encyrtion)


On 7/5/06, Marcin Mazurek <M.Mazurek at netsync.pl> wrote:
>
> 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/
>
> _______________________________________________
> jadmin mailing list
> jadmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20060705/500c3613/attachment-0003.htm


More information about the JAdmin mailing list