Displaying 1 result from an estimated 1 matches for "id_access".
Did you mean:
end_access
2008 Mar 31
2
Allow_nets + MySQL failing when using range notation
...anatory.
I am using 1.0.rc15 patched as for last week as distributed in Debian etch.
First of all, everything related to this is stored in a MySQL database,
here is my password query:
password_query = SELECT u.password as password, t.allow_nets as
allow_nets FROM users u, access_type t WHERE u.ID_access_type =
t.ID_access and ( t.%Ls = 1 ) and u.mail = '%u'
This one should validate all mail addresses when the protocol used is
marked as 1 in table access_type and when the allow_nets value in this
same table contains the IP used for the access request. The, if
access_type looks like:
I...