Problem in receiving chat and User status is not authorized
erudd at netfor.com
Mon Dec 10 20:25:54 UTC 2007
The roster table ONLY gets updated when a *subscription* happens. IE.
users A subscribes or adds user B to a group in their buddy list.
Rajesh Dharmalingam wrote:
> I created new users and able to login. But when i check the roster, i
> get the same old data as i sent you previously. The roaster table does
> not get updated with the latest users.
> From config file:
> The plugin for users
> <Plugin DJabberd::Authen::HTDigest>
> Realm djabberd
> HtDigest /usr/local/chat/djabberd/djabberd.users
> The plugin for SQLite:
> <Plugin DJabberd::RosterStorage::SQLite>
> Database /usr/local/chat/djabberd/DJabberd/roster.sqlite
> I am creating the users as
> htdigest -c djabberd.users djabberd user1
> htdigest -c djabberd.users djabberd user2
> Am i missing something?
> On Dec 11, 2007 1:08 AM, Edward Rudd <erudd at netfor.com
> <mailto:erudd at netfor.com>> wrote:
> Rajesh Dharmalingam wrote:
> > That means the subscriptiong didn't work right. Can you
> provide a dump
> > of your roster database?
> > sqlite3 roster.sqlite .dump
> > This is the output:
> > BEGIN TRANSACTION;
> > CREATE TABLE roster (
> > userid INTEGER REFERENCES
> > NOT NULL,
> > contactid INTEGER REFERENCES
> > NOT NULL,
> > name VARCHAR(255),
> > subscription INTEGER NOT NULL
> > REFERENCES substates DEFAULT 0,
> > PRIMARY KEY (userid, contactid)
> > );
> Looks like no subscription information every got save. Odd.. the
> table should be filled with entries like (1,2, 'My User',3) and (2,1,
> 'My Other User',3)
> Try specifying a *groupname* and alias when subscribing to users and see
> how this DB changes.
> "Stick to our roots and not to forget where we come from"
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 284 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/djabberd/attachments/20071210/d08b05a7/erudd.vcf
More information about the Djabberd