[Kamailio-Devel] [ openser-Bugs-2740437 ] PUBLISH authentication is wrong
Juha Heinanen
jh at tutpro.com
Fri Apr 17 16:26:35 CEST 2009
Jan Janak writes:
> I think it should not be that hard. The biggest obstacle would be the format
> of the subscriber/credentials table. We renamed table subscriber to
> crendentials and changed its definition to:
>
> CREATE TABLE credentials (
> auth_username VARCHAR(64) NOT NULL,
> did VARCHAR(64) NOT NULL DEFAULT '_default',
> realm VARCHAR(64) NOT NULL,
> password VARCHAR(28) NOT NULL DEFAULT '',
> flags INT NOT NULL DEFAULT '0',
> ha1 VARCHAR(32) NOT NULL,
> ha1b VARCHAR(32) NOT NULL DEFAULT '',
> uid VARCHAR(64) NOT NULL,
> KEY cred_idx (auth_username, did),
> KEY uid (uid),
> KEY did_idx (did),
> KEY realm_idx (realm)
> );
jan,
i don't use subscriber table, because i use auth_radius module.
i was talking about auth module (of which you are first author), NOT
auth_db module.
so it should suffice that domain module is upgraded to include the
realm.
-- juha
More information about the Devel
mailing list