]> git.entuzijast.net Git - freeradius-dialup-admin.git/commit
* Add a check_user_passwd() and a get_user_dn() functions in lib/ldap/functions.php3
authorkkalev <kkalev>
Tue, 6 Apr 2004 19:37:47 +0000 (19:37 +0000)
committerkkalev <kkalev>
Tue, 6 Apr 2004 19:37:47 +0000 (19:37 +0000)
commit29b914d722490895445f386682604feeffc62a75
tree6b54c033ac2940ff42117bc7d7d17154f4543945
parent5f4faf3cca816659d3eb7b44580221574db21a5c
* Add a check_user_passwd() and a get_user_dn() functions in lib/ldap/functions.php3
* Add general_restrict_badusers_access directive. If set to yes we only allow each administrator
  access to their own entries in the badusers table
* Add a username.mappings table. We are able to map each administrator username to additional queries
  on the accounting and user settings tables.
* Add an sql_accounting_extra_query directive. If set this query is included in all
  queries to the accounting tables.
  Combined with admin username mappings we are able to easily restrict access on specific accounting data
  to each administrator.
* Escape bad characters in the $login variable
* Add a da_sql_escape_string function. We use that for every element we pass to sql queries in order to
  protect ourselves from sql injection.
* Use the ldap_userdn directive where applicable in the functions.php3 file
* Add an sql_xlat function

TODO: Check out the sql queries in lin/sql for sql injection.
17 files changed:
Changelog
conf/admin.conf
conf/config.php3
doc/TODO
htdocs/accounting.php3
htdocs/badusers.php3
htdocs/clear_opensessions.php3
htdocs/failed_logins.php3
htdocs/stats.php3
htdocs/user_accounting.php3
htdocs/user_finger.php3
htdocs/user_stats.php3
htdocs/user_test.php3
lib/ldap/functions.php3
lib/sql/drivers/mysql/functions.php3
lib/sql/drivers/pg/functions.php3
lib/sql/functions.php3