Ejabberd friends list, groups witn external auth

view story

http://serverfault.com – I installed ejabberd on my ubuntu box. I configured ejabberd to get authentication from a python script (which check username / password in our database) . That works. Just now, I dont know how to get friends list, groups from our database. Anyone know, pls tell me. Thank you very much (HowTos)