CSB writes:
> I am curious why the second field is 0 and not any. Is that expected?
in db_mode = 1, proto field is coded when the in-memory table is filled
and any is coded to 0.
sorry that i cannot find why allow_trusted fails for you. i guess your
only choice is to all some LOG statements to
>
> > Thanks for the suggestion. Have just tried that - no difference.
>
> try the same query you see on your db log manually to see if it really
> returns something. if any is returned for proto field and null for
> from
> pattern, then allow_trusted should return true.
>
Prior to setting db_mod
CSB writes:
> Thanks for the suggestion. Have just tried that - no difference.
try the same query you see on your db log manually to see if it really
returns something. if any is returned for proto field and null for from
pattern, then allow_trusted should return true.
in db_mode=1, you should
>> Could anyone provide any suggestions on what I'm doing wrong?
>
>looks like what you do is correct and also by looking at the code i
>didn't find anything obviously wrong. have you tried using db_mode = 1?
>i don't myself have a 1.1 proxy to test.
Thanks for the suggestion. Have just tried tha
CSB writes:
> Could anyone provide any suggestions on what I'm doing wrong?
looks like what you do is correct and also by looking at the code i
didn't find anything obviously wrong. have you tried using db_mode = 1?
i don't myself have a 1.1 proxy to test.
-- juha
For some reason I cannot get allow_trusted() to evaluate to true for a
matching URI.
Relevant sections of the config (OpenSER 1.1):
modparam("auth_db|permissions|uri_db|usrloc|domain", "db_url",
"mysql://username:[EMAIL PROTECTED]/ser")
modparam("permissions", "db_mode", 0)
modparam("permissions"