Célio
Visitor
|
Re:User passwords? - 2006/03/29 08:30
Hi !
Database identification is not "really" implemented yet, (but is one of the next feature ...)
But if you know a little python, the basis are already in PalabreServer.py and it should be easy to configure
Example : If you want to use Mysql as a Database :
in PalabreServer.py line 31 : uncomment : #import MySQLdb as M (you need python mysql support of course)
and at the bottom (line 414 and following ) : You can uncomment and then configure the sql queries as you like In my example i was waiting for "code" and "password" (ex : <connect nickname="XXX" code="BLABLA" password="ARTYU" />)
but you may use any attribute you like, then execute the sql query and return True or False.
in the next version i think i'll move this in the configuration, and try to enable support for other databases (and why not LDAP ....)
and i'm french so i'm sorry for my english too :)
Have fun !
|