List Info

Thread: Hash and Token, are really important?




Hash and Token, are really important?
user name
2006-12-08 15:18:08
I am writing a PHP script to register new users from a web
site, but I
can't figure out how to generate a new hash and token to
insert into
the authreg table. Is it really important or I can just
carry on
without a Hash for these users?
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
Hash and Token, are really important?
user name
2006-12-08 15:36:39
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ed ed wrote:
> I am writing a PHP script to register new users from a
web site, but I
> can't figure out how to generate a new hash and token
to insert into
> the authreg table. Is it really important or I can just
carry on
> without a Hash for these users?
I have:

mysql> select * from authreg;
+------------+------------------------+---------------------
-+-------+----------+------+
| username   | realm                  | password            
| token |
sequence | hash |
+------------+------------------------+---------------------
-+-------+----------+------+
| admin      | host.domain.com | ********    | NULL  |    
NULL | NULL |
| user1       | host.domain.com | ********    | NULL  |    
NULL | NULL |
| user2       | host.domain.com | ********    | NULL  |    
NULL | NULL |

and it works nice. Btw, I'm using Jabberd2.

/ipv
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFFeYaHDqLva/B4E1ARApjJAJ9CKHphbkIl9HcSH4arWWhO0Z8q4gCg
kitp
czd3bE1zy27OHWtzwQxs15g=
=l92u
-----END PGP SIGNATURE-----

_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
Hash and Token, are really important?
user name
2006-12-08 16:37:56
ed ed schrieb:
> I am writing a PHP script to register new users from a
web site, but I
> can't figure out how to generate a new hash and token
to insert into
> the authreg table. Is it really important or I can just
carry on
> without a Hash for these users?

The hash and token values are only needed by an old legacy
one-time
password authentication scheme. If you do not intend to use
this
authentication scheme (normally you don't), you can just add
NULL values
to these fields.

Other Jabber servers have never implemented this protocol
(e.g.
ejabberd) or already dropped support for it (e.g.
jabberd14).


Tot kijk
    Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )