]> git.entuzijast.net Git - freeradius-dialup-admin.git/log
freeradius-dialup-admin.git
17 years agoFix unsafe use of tmpfile. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 25 Aug 2008 13:18:19 +0000 (14:18 +0100)]
Fix unsafe use of tmpfile. Signed-off-by: Stephen Gran <steve@lobefin.net>

17 years ago Fix MySQL errors, as posted to the list by Marcos Roberto
nbk [Sun, 20 Jan 2008 15:54:56 +0000 (15:54 +0000)]
Fix MySQL errors, as posted to the list by Marcos Roberto
Greiner <mrgreiner@gmail.com>

17 years ago Merge the patches sent by the dialupadmin users in the past for
nbk [Mon, 7 Jan 2008 09:31:48 +0000 (09:31 +0000)]
Merge the patches sent by the dialupadmin users in the past for
the 1.x series.

18 years ago Oops, a few files from dialup_admin/bin were missing.
nbk [Sun, 19 Aug 2007 22:32:59 +0000 (22:32 +0000)]
Oops, a few files from dialup_admin/bin were missing.

18 years ago Add a Makefile to dialup_admin to make the installation easier.
nbk [Sun, 12 Aug 2007 18:00:34 +0000 (18:00 +0000)]
Add a Makefile to dialup_admin to make the installation easier.
Now you can type "make install DIALUP_PREFIX=/path/of/your/choice"
and your local copy will work without editing a decade of files.

Based on the Makefile in the source package of the Debian archive,
with edits to not try to copy CVS directories. (so it works on CVS
snapshots, too)

18 years ago Delete trailing whitespace.
nbk [Mon, 14 May 2007 22:26:57 +0000 (22:26 +0000)]
Delete trailing whitespace.

20 years agoChange the order of OID's used in snmpfinger for cisco NASes
kkalev [Fri, 2 Sep 2005 12:42:25 +0000 (12:42 +0000)]
Change the order of OID's used in snmpfinger for cisco NASes

20 years agoIn lib/sql/attrmap.php3, only register variables once. Go through $show_attrs and...
kkalev [Fri, 22 Apr 2005 13:21:31 +0000 (13:21 +0000)]
In lib/sql/attrmap.php3, only register variables once. Go through $show_attrs and set default attribute
mappings for any attribute that a mapping does not exist.

20 years agoIn time2strclock also show days if applicable
kkalev [Tue, 19 Apr 2005 13:27:30 +0000 (13:27 +0000)]
In time2strclock also show days if applicable

20 years agoAdd a ?> at the end of user_admin.php3
kkalev [Fri, 15 Apr 2005 15:55:28 +0000 (15:55 +0000)]
Add a ?> at the end of user_admin.php3

20 years agoFix a bug with user_admin and da_sql_limit
kkalev [Fri, 15 Apr 2005 07:14:55 +0000 (07:14 +0000)]
Fix a bug with user_admin and da_sql_limit

20 years agoFix a small bug in lib/sql/drivers/mysql/functions.php3
kkalev [Thu, 14 Apr 2005 23:17:21 +0000 (23:17 +0000)]
Fix a small bug in lib/sql/drivers/mysql/functions.php3

20 years agoFix a small typo
kkalev [Thu, 14 Apr 2005 13:46:04 +0000 (13:46 +0000)]
Fix a small typo

20 years agoUse the correct max results variable in lib/*/find.php3
kkalev [Thu, 14 Apr 2005 13:43:01 +0000 (13:43 +0000)]
Use the correct max results variable in lib/*/find.php3

20 years agoCount online users correctly (through a separate query) in user_finger.
kkalev [Tue, 5 Apr 2005 13:32:23 +0000 (13:32 +0000)]
Count online users correctly (through a separate query) in user_finger.

20 years agoAdd a verbose logging option
pnixon [Thu, 24 Mar 2005 11:41:00 +0000 (11:41 +0000)]
Add a verbose logging option

20 years agoInsert a uniqueid into AcctSessionId field also, as both Postgresql and Oracle have...
pnixon [Thu, 24 Mar 2005 11:09:13 +0000 (11:09 +0000)]
Insert a uniqueid into AcctSessionId field also, as both Postgresql and Oracle have this field set to NUT NULL. (How did this code ever work with PG??)

20 years agoAdd Oracle comments
pnixon [Thu, 24 Mar 2005 09:24:54 +0000 (09:24 +0000)]
Add Oracle comments

20 years agoAdd Oracle support
pnixon [Thu, 24 Mar 2005 08:53:10 +0000 (08:53 +0000)]
Add Oracle support

20 years agoAdd support for Oracle
pnixon [Thu, 24 Mar 2005 08:35:30 +0000 (08:35 +0000)]
Add support for Oracle

20 years agoForce set NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM' on every Oracle...
pnixon [Tue, 22 Mar 2005 06:07:55 +0000 (06:07 +0000)]
Force set NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM' on every Oracle connect. (If anyone can think of a better way to do this I am all ears)

20 years agoOoops. Add another space.
pnixon [Mon, 21 Mar 2005 22:00:43 +0000 (22:00 +0000)]
Ooops. Add another space.

20 years agoFix calls to da_sql_limit
pnixon [Mon, 21 Mar 2005 21:53:34 +0000 (21:53 +0000)]
Fix calls to da_sql_limit

20 years agoFix the calls to da_sql_limit
pnixon [Mon, 21 Mar 2005 21:50:12 +0000 (21:50 +0000)]
Fix the calls to da_sql_limit

20 years agoRename the badusers date field to incidentdate to avoid reserved words in databases...
kkalev [Mon, 21 Mar 2005 17:05:17 +0000 (17:05 +0000)]
Rename the badusers date field to incidentdate to avoid reserved words in databases. Bug found by
Peter Nixon

20 years agoCreate a new function da_sql_limit() and use that to pass LIMIT arguments to the...
kkalev [Mon, 21 Mar 2005 13:16:58 +0000 (13:16 +0000)]
Create a new function da_sql_limit() and use that to pass LIMIT arguments to the database layer
since the syntax is different between db vendors

20 years agoTrim semicolon from the end of the query if it exists.
pnixon [Mon, 21 Mar 2005 10:35:47 +0000 (10:35 +0000)]
Trim semicolon from the end of the query if it exists.

20 years agoAdd native oracle support (Using the PHP OCI8 driver) to dialupadmin
pnixon [Sun, 20 Mar 2005 17:07:25 +0000 (17:07 +0000)]
Add native oracle support (Using the PHP OCI8 driver) to dialupadmin

20 years agohopefully final table schema
pnixon [Sat, 19 Mar 2005 19:08:07 +0000 (19:08 +0000)]
hopefully final table schema

20 years agoFix datatype
pnixon [Sat, 19 Mar 2005 18:47:27 +0000 (18:47 +0000)]
Fix datatype

20 years agopg_exec() has been replaced with pg_query()
pnixon [Sat, 19 Mar 2005 17:43:55 +0000 (17:43 +0000)]
pg_exec() has been replaced with pg_query()

20 years agototacct for Oracle
pnixon [Fri, 18 Mar 2005 22:29:57 +0000 (22:29 +0000)]
totacct for Oracle

20 years agomtotacct for Oracle
pnixon [Fri, 18 Mar 2005 22:25:10 +0000 (22:25 +0000)]
mtotacct for Oracle

20 years agobadusers for oracle
pnixon [Fri, 18 Mar 2005 22:13:58 +0000 (22:13 +0000)]
badusers for oracle

20 years agouserinfo.sql for oracle
pnixon [Fri, 18 Mar 2005 18:46:00 +0000 (18:46 +0000)]
userinfo.sql for oracle

20 years agoDon't use $num in stats.php3, change it to $stats_num
kkalev [Fri, 18 Mar 2005 14:12:59 +0000 (14:12 +0000)]
Don't use $num in stats.php3, change it to $stats_num

20 years agocheck_ip() should now work in nas_admin.php3. Only require lib/functions.php3 once
kkalev [Fri, 18 Mar 2005 14:01:45 +0000 (14:01 +0000)]
check_ip() should now work in nas_admin.php3. Only require lib/functions.php3 once
in stats.php3

20 years agoRevert back to using postgresql specific functions. dbx functions should be changed
kkalev [Wed, 16 Mar 2005 09:39:26 +0000 (09:39 +0000)]
Revert back to using postgresql specific functions. dbx functions should be changed
to also use a dabatase subtype and perform any database specific functions themselves.

20 years agoA first stab at using DBX for database abstraction. Works with Postgres currently.
pnixon [Tue, 15 Mar 2005 17:01:43 +0000 (17:01 +0000)]
A first stab at using DBX for database abstraction. Works with Postgres currently.

20 years agoFirst cut at making a working DBX driver.
pnixon [Tue, 15 Mar 2005 13:54:58 +0000 (13:54 +0000)]
First cut at making a working DBX driver.

20 years agoRemove snmp_clearsession. It is replaced by clearsession which supports both snmp...
kkalev [Tue, 15 Mar 2005 13:24:51 +0000 (13:24 +0000)]
Remove snmp_clearsession. It is replaced by clearsession which supports both snmp and telnet
methods of removing a user from an access server. Add corresponding configuration directives
general_sessionclear_method and nasXX_sessionclear_method

20 years agoCorrectly check nas validity in nas_admin.php3. Bug noted by Nick Bright
kkalev [Mon, 14 Mar 2005 11:57:34 +0000 (11:57 +0000)]
Correctly check nas validity in nas_admin.php3. Bug noted by Nick Bright

20 years ago* Show the correct nas type in nas_admin. Bug noted by Nick Bright
kkalev [Mon, 14 Mar 2005 11:51:32 +0000 (11:51 +0000)]
* Show the correct nas type in nas_admin. Bug noted by Nick Bright
* Correctly calculate the nas ip in lib/sql/nas_list.php3. Add a check_ip() function in lib/functions.php3
  Bug noted by Nick Bright

20 years agourlencode() all occurrences of the $login variable when used in url's. Bug noted...
kkalev [Sun, 13 Mar 2005 15:52:35 +0000 (15:52 +0000)]
urlencode() all occurrences of the $login variable when used in url's. Bug noted by Dag Landau

20 years agoAdd support for usrhiper in snmpfinger. Patch from Nick Bright
kkalev [Thu, 10 Mar 2005 19:07:44 +0000 (19:07 +0000)]
Add support for usrhiper in snmpfinger. Patch from Nick Bright

20 years ago* Make nasXX_finger_type actually work since the place where nas information was...
kkalev [Wed, 9 Mar 2005 21:53:48 +0000 (21:53 +0000)]
* Make nasXX_finger_type actually work since the place where nas information was stored was changed a
  long time ago. Bug noted by Nick Bright
* In user_finger only set LD_LIBRARY_PATH once, not each time we call snmpfinger

20 years agoLog somewhat more verbose error messages when the sql_command binary is not found...
kkalev [Wed, 2 Mar 2005 13:20:40 +0000 (13:20 +0000)]
Log somewhat more verbose error messages when the sql_command binary is not found in the bin scripts

20 years agoIn clear_opensessions depending on sql type use either IS NULL or = 0 in the DELETE...
kkalev [Sat, 19 Feb 2005 12:02:34 +0000 (12:02 +0000)]
In clear_opensessions depending on sql type use either IS NULL or = 0 in the DELETE statement.
We need to find a cleaner solution to this. This closes bug#175

20 years ago* Add more documentation for per user counter limit attributes (daily/weekly/monthly...
kkalev [Sat, 19 Feb 2005 01:08:44 +0000 (01:08 +0000)]
* Add more documentation for per user counter limit attributes (daily/weekly/monthly limits)
* Make all counter limits default to none so that people don't get confused

20 years agoUpdate password_check to work with all password attributes and use the configuration...
kkalev [Sat, 19 Feb 2005 00:58:05 +0000 (00:58 +0000)]
Update password_check to work with all password attributes and use the configuration directives

20 years agoUpdate the TODO file
kkalev [Wed, 5 Jan 2005 16:01:57 +0000 (16:01 +0000)]
Update the TODO file

20 years ago* Add an sqlrelay functions file. The user_admin page does not currently work. Lookin...
kkalev [Tue, 4 Jan 2005 15:17:28 +0000 (15:17 +0000)]
* Add an sqlrelay functions file. The user_admin page does not currently work. Looking into it.
* Add sqlrelay support in the scripts. Add a sqlrelay_query script to run sqlrelay commands

20 years ago* If date calculation fails, abort
kkalev [Tue, 4 Jan 2005 14:04:00 +0000 (14:04 +0000)]
* If date calculation fails, abort
* Add a backup_radacct script

20 years agoFix a problem when reading username.mappings
kkalev [Tue, 4 Jan 2005 13:17:27 +0000 (13:17 +0000)]
Fix a problem when reading username.mappings

20 years agoAdd a header with the page encoding before sending any page (header added in config...
kkalev [Sun, 2 Jan 2005 14:09:57 +0000 (14:09 +0000)]
Add a header with the page encoding before sending any page (header added in config.php3)
This closes Bug #153

20 years ago* In bin/snmpfinger also accept @,. in the username
kkalev [Mon, 20 Dec 2004 16:58:16 +0000 (16:58 +0000)]
* In bin/snmpfinger also accept @,. in the username
* If we are stripping realms, then if needed strip them from the data returned by snmpfinger in
  user_finger.php3

21 years ago* Add a snmp_clearsession which can disconnect a user by using the Cisco AAA Session MIB
kkalev [Wed, 8 Dec 2004 15:10:42 +0000 (15:10 +0000)]
* Add a snmp_clearsession which can disconnect a user by using the Cisco AAA Session MIB
* Add a configuration directive general_sessionclear_bin

21 years agoAlso delete sessions from sql_extra_servers. Add the ability to disconnect
kkalev [Wed, 8 Dec 2004 15:06:25 +0000 (15:06 +0000)]
Also delete sessions from sql_extra_servers. Add the ability to disconnect
a user (using the AAA Session MIB of Cisco)

21 years agoFix Bug #167
kkalev [Fri, 3 Dec 2004 16:13:42 +0000 (16:13 +0000)]
Fix Bug #167

21 years agoIn lib/sql/group_info.php3 only unset variables if we need to. In lib/sql/defaults...
kkalev [Thu, 28 Oct 2004 11:12:10 +0000 (11:12 +0000)]
In lib/sql/group_info.php3 only unset variables if we need to. In lib/sql/defaults.php3 don't run for groups
only for users

21 years agoIn the show groups page, note that we only show groups with members
kkalev [Wed, 27 Oct 2004 11:33:42 +0000 (11:33 +0000)]
In the show groups page, note that we only show groups with members

21 years agoOn group creation, if member list is empty report that, not that the group was created.
kkalev [Wed, 27 Oct 2004 11:22:41 +0000 (11:22 +0000)]
On group creation, if member list is empty report that, not that the group was created.

21 years ago* Add lib/sql/group_change.php3 to add and delete a user from groups
kkalev [Mon, 25 Oct 2004 13:55:04 +0000 (13:55 +0000)]
* Add lib/sql/group_change.php3 to add and delete a user from groups
* Add a new directive sql_show_all_groups. If set to true then in user edit page we show all available
  groups with the ones the user is a member of highlighted. The administrator can then directly
  change user group membership by changing membership in this group list.

21 years agoIn config.php3 remove whitespaces from $login. Don't remove '-'
kkalev [Fri, 22 Oct 2004 12:12:37 +0000 (12:12 +0000)]
In config.php3 remove whitespaces from $login. Don't remove '-'

21 years agoSmall type in login_time_create, close bug #141
kkalev [Fri, 15 Oct 2004 10:42:16 +0000 (10:42 +0000)]
Small type in login_time_create, close bug #141

21 years agoFix bug #136, bugs found by Pawel Foremski
kkalev [Thu, 16 Sep 2004 21:12:21 +0000 (21:12 +0000)]
Fix bug #136, bugs found by Pawel Foremski

21 years agoFix a small typo in the userinfo mysql schema. Found by Evert Meulie
kkalev [Mon, 13 Sep 2004 09:37:17 +0000 (09:37 +0000)]
Fix a small typo in the userinfo mysql schema. Found by Evert Meulie

21 years agoFix a small bug in user_admin.php3 found by Joerg Staedele
kkalev [Tue, 7 Sep 2004 11:42:21 +0000 (11:42 +0000)]
Fix a small bug in user_admin.php3 found by Joerg Staedele

21 years agoMake 'Add NAS' function in the nas admin page more easily accessible
kkalev [Thu, 2 Sep 2004 16:28:50 +0000 (16:28 +0000)]
Make 'Add NAS' function in the nas admin page more easily accessible

21 years agoMake pagesize 'all' work again. Bug found by apellido jr., wilfredo p.
kkalev [Thu, 2 Sep 2004 12:02:54 +0000 (12:02 +0000)]
Make pagesize 'all' work again. Bug found by apellido jr., wilfredo p.

21 years agoMove a few header() calls after including config.php3 so that we have access to the...
kkalev [Sat, 14 Aug 2004 15:41:50 +0000 (15:41 +0000)]
Move a few header() calls after including config.php3 so that we have access to the relevant
variables.

21 years agoIn user_state also take into account any open sessions when calculating daily/weekly...
kkalev [Mon, 9 Aug 2004 15:37:46 +0000 (15:37 +0000)]
In user_state also take into account any open sessions when calculating daily/weekly usage.
Add two more lines in the output stating the number of current open sessions and the time used.

21 years agoFix operator escaping in lib/sql/change_attrs.php3
kkalev [Sat, 31 Jul 2004 07:30:57 +0000 (07:30 +0000)]
Fix operator escaping in lib/sql/change_attrs.php3

21 years agoWrong foreach in show_groups and group_new.
kkalev [Sat, 31 Jul 2004 06:57:11 +0000 (06:57 +0000)]
Wrong foreach in show_groups and group_new.

21 years agoUpdate the Authors file
kkalev [Tue, 27 Jul 2004 16:36:15 +0000 (16:36 +0000)]
Update the Authors file

21 years agoUse lower cased row names in badusers page
kkalev [Tue, 27 Jul 2004 16:29:25 +0000 (16:29 +0000)]
Use lower cased row names in badusers page

21 years ago* Add the style sheet in the content.html
kkalev [Tue, 27 Jul 2004 11:33:41 +0000 (11:33 +0000)]
* Add the style sheet in the content.html
* Enlarge the width for the left frame
* Make show_groups and the drop down menu in group_new work

21 years agoSmall fix to show_groups.php3
kkalev [Tue, 27 Jul 2004 04:27:08 +0000 (04:27 +0000)]
Small fix to show_groups.php3

21 years ago* Add a drop down menu with existing groups in group_new.php3
kkalev [Mon, 26 Jul 2004 21:13:06 +0000 (21:13 +0000)]
* Add a drop down menu with existing groups in group_new.php3
* Check for sql in show_groups.php3
* In lib/sql/group_info.php3 if $login is not set, find available groups and place them in
  $existing_groups along with a count of users per group. Use the functionality in group_new.php3
  and show_groups.php3
* Update TODO

21 years ago* A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to
kkalev [Mon, 26 Jul 2004 20:37:38 +0000 (20:37 +0000)]
* A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to
  be accessed by normal users (not administrators).
* Move a few elements in the CSS file from the body tag. Suggestion by Gary McKinney
* Update FAQ about using php with no sql support.
* Allow the user to select between viewing FAQ,HOWTO or README in the help page.
* Use $_SERVER instead of $HTTP_SERVER_VARS

21 years agoFix a small error in lib/sql/find.php3. This closes bug #103
kkalev [Mon, 12 Jul 2004 13:14:39 +0000 (13:14 +0000)]
Fix a small error in lib/sql/find.php3. This closes bug #103

21 years agoSet the general_username_mappings_file variable
kkalev [Fri, 9 Jul 2004 14:22:13 +0000 (14:22 +0000)]
Set the general_username_mappings_file variable

21 years agoSet general_restrict_nasadmin_access to no by default. It causes confusion.
kkalev [Fri, 9 Jul 2004 14:18:26 +0000 (14:18 +0000)]
Set general_restrict_nasadmin_access to no by default. It causes confusion.

21 years agoAdd a missing.php3 file with functions that may be missing from the PHP version used...
kkalev [Fri, 9 Jul 2004 12:14:39 +0000 (12:14 +0000)]
Add a missing.php3 file with functions that may be missing from the PHP version used. Include it
if a function is missing. Currently only array_change_key_case() is included

21 years ago* Use require_once instead of require when including xlat.php3
kkalev [Thu, 8 Jul 2004 11:48:18 +0000 (11:48 +0000)]
* Use require_once instead of require when including xlat.php3
* Add debug statements in sql connect functions

21 years ago* Escape special characters in the sql password. This closes bug #96
kkalev [Tue, 29 Jun 2004 10:09:26 +0000 (10:09 +0000)]
* Escape special characters in the sql password. This closes bug #96
* Do an xlat for general_accounting_attrs_file and general_user_edit_attrs_file. That way we can
  have different mappings for each administrator.

21 years agoChange is_int to is_numeric. This closes Bug #90
kkalev [Tue, 29 Jun 2004 09:21:54 +0000 (09:21 +0000)]
Change is_int to is_numeric. This closes Bug #90

21 years agoAdd postgresql specific sql schema by apellido jr., wilfredo p. Move each sql schema...
kkalev [Tue, 22 Jun 2004 14:01:22 +0000 (14:01 +0000)]
Add postgresql specific sql schema by apellido jr., wilfredo p. Move each sql schema to a
separate directory (mysql and postgresql)

21 years agoFix a few bugs
kkalev [Fri, 18 Jun 2004 15:12:51 +0000 (15:12 +0000)]
Fix a few bugs
Enable debug for sql and ldap

21 years ago* Move the xlat function to a separate file in lib/xlat.php3
kkalev [Fri, 18 Jun 2004 13:01:56 +0000 (13:01 +0000)]
* Move the xlat function to a separate file in lib/xlat.php3
* Add a lib/sql/nas_list.php3 to also get the nas list from sql (naslist.conf still works)
* add realms nasdb and nasadmin in username.mappings. nasadmin is used to signify if the
  user is allowed to use the nas_admin page. nasdb is used to shorten the nas list to only
  a few specific entries. That way administrator responsible for a few access servers will
  only be able to administer those access servers and not see the rest of the nas list.
* Add username searching in the find page as suggested by joram agten
* Don't use nas_list in nas_admin

21 years agoAlso allow for '-' to exist in a nas name in bin/log_badlogins
kkalev [Mon, 3 May 2004 12:15:09 +0000 (12:15 +0000)]
Also allow for '-' to exist in a nas name in bin/log_badlogins

21 years agoMake nas_list actually work
kkalev [Thu, 22 Apr 2004 07:18:24 +0000 (07:18 +0000)]
Make nas_list actually work

21 years agoKeep the nas list in a separate array $nas_list. Update various pages to use that...
kkalev [Tue, 20 Apr 2004 13:14:18 +0000 (13:14 +0000)]
Keep the nas list in a separate array $nas_list. Update various pages to use that one now.

21 years agoAdd da_sql_escape_string for all relevant variables in lib/sql files
kkalev [Sun, 18 Apr 2004 14:28:13 +0000 (14:28 +0000)]
Add da_sql_escape_string for all relevant variables in lib/sql files

21 years agoFix small bugs in accounting.php3 and user_stats.php3. Add nas_admin.php3 to the...
kkalev [Sat, 17 Apr 2004 15:07:39 +0000 (15:07 +0000)]
Fix small bugs in accounting.php3 and user_stats.php3. Add nas_admin.php3 to the buttons page

21 years agoAdd a nas administration page for sql based clients
kkalev [Fri, 16 Apr 2004 15:03:12 +0000 (15:03 +0000)]
Add a nas administration page for sql based clients

21 years agoAdd conf/username.mappings
kkalev [Tue, 6 Apr 2004 19:38:50 +0000 (19:38 +0000)]
Add conf/username.mappings

21 years agoFix a few typos
kkalev [Tue, 6 Apr 2004 19:38:20 +0000 (19:38 +0000)]
Fix a few typos

21 years ago* Add a check_user_passwd() and a get_user_dn() functions in lib/ldap/functions.php3
kkalev [Tue, 6 Apr 2004 19:37:47 +0000 (19:37 +0000)]
* 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.

21 years agoAdd ldap_userdn as a configuration directive. If set we use that for
kkalev [Sat, 3 Apr 2004 21:35:17 +0000 (21:35 +0000)]
Add ldap_userdn as a configuration directive. If set we use that for
user DN's (variables supported) instead of performing and ldap search for
each user. That can be somewhat faster.