]> git.entuzijast.net Git - freeradius-dialup-admin.git/log
freeradius-dialup-admin.git
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.

21 years ago* Sort the servers list in failed_logins,user_stats,stats
kkalev [Sat, 3 Apr 2004 20:42:29 +0000 (20:42 +0000)]
* Sort the servers list in failed_logins,user_stats,stats
* Add the /bin postgresql compatibility patch from Guy Fraser

21 years agoAdd a force directive in log_badlogins. If uncommented it will force inserts even...
kkalev [Wed, 10 Mar 2004 14:29:32 +0000 (14:29 +0000)]
Add a force directive in log_badlogins. If uncommented it will force inserts even if there are
sql errors. That can help in case there is one sql query which stops the whole failed logins
logging system from working

21 years agoIn log_badlogins add a newline after every sql query so that the resulting file can...
kkalev [Tue, 2 Mar 2004 13:27:35 +0000 (13:27 +0000)]
In log_badlogins add a newline after every sql query so that the resulting file can be editable

21 years ago* Add a patch from Neil McCalden to not put spaces in the -p argument to the mysql...
kkalev [Sun, 29 Feb 2004 12:16:17 +0000 (12:16 +0000)]
* Add a patch from Neil McCalden to not put spaces in the -p argument to the mysql binary.
* Fix a bug in conf/config.php3. Patch from Neil McCalden

21 years ago* Add a message when adding a user in the badusers table
kkalev [Fri, 16 Jan 2004 14:47:29 +0000 (14:47 +0000)]
* Add a message when adding a user in the badusers table
* Close sql connections in add_badusers.php3

21 years ago* Add the ability to erase rows from the badusers table
kkalev [Fri, 16 Jan 2004 13:50:06 +0000 (13:50 +0000)]
* Add the ability to erase rows from the badusers table
* In log_badlogins for multiple logins if it is a mppp attempt, log it

21 years agoSmall fix in user_finger.php3
kkalev [Mon, 22 Dec 2003 15:18:51 +0000 (15:18 +0000)]
Small fix in user_finger.php3

22 years ago* Huge PostgreSQL compatibility patch by Guy Fraser <guy@incentre.net>
kkalev [Mon, 15 Dec 2003 16:55:28 +0000 (16:55 +0000)]
* Huge PostgreSQL compatibility patch by Guy Fraser <guy@incentre.net>
* Also support the Crypt-Password attribute in lib/sql/password_check.php3. Patch by Guy Fraser <guy@incentre.net>

22 years agoUse the User-Password attribute instead of Password in user_test.php3
kkalev [Tue, 9 Dec 2003 14:21:18 +0000 (14:21 +0000)]
Use the User-Password attribute instead of Password in user_test.php3

22 years agoUpdate the HOWTO file with a few comments on the general_nas_type directive
kkalev [Mon, 3 Nov 2003 11:25:23 +0000 (11:25 +0000)]
Update the HOWTO file with a few comments on the general_nas_type directive

22 years ago* Check for the binaries used (mysql/snmpwalk) in the scripts in the bin folder befor...
kkalev [Sun, 2 Nov 2003 13:57:35 +0000 (13:57 +0000)]
* Check for the binaries used (mysql/snmpwalk) in the scripts in the bin folder before using them
* Update the HOWTO file
* Use the general_domain variable from the admin.conf file in log_badlogins instead of a new one
* Add a sql_command directive in admin.conf containing the path to the mysql binary. That can be used by the
  scripts in the bin folder instead of setting a variable in each script
* Add a general_nas_type and a per nas type directive and pass that to snmpfinger. Updated snmpfinger to also
  support lucent equipment apart from cisco

22 years ago* Add a few help pages for the nomadix radius attributes by Ulrich Walcher
kkalev [Sat, 1 Nov 2003 15:04:02 +0000 (15:04 +0000)]
* Add a few help pages for the nomadix radius attributes by Ulrich Walcher
* Update the HOWTO with instructions about the ldap configuration directives and the scripts in the bin folder
* Update the AUTHORS file

22 years agoAdd a note about the HOWTO in the README file
kkalev [Mon, 27 Oct 2003 12:48:27 +0000 (12:48 +0000)]
Add a note about the HOWTO in the README file

22 years ago* Add a HOWTO from Paris Stamatopoulos
kkalev [Mon, 27 Oct 2003 12:46:25 +0000 (12:46 +0000)]
* Add a HOWTO from Paris Stamatopoulos
* create a doc directory and move the documentation files there

22 years agoSmall html corrections in user_toolbar.html.php3
kkalev [Tue, 21 Oct 2003 08:16:37 +0000 (08:16 +0000)]
Small html corrections in user_toolbar.html.php3

22 years ago* Add a captions.conf file with a few configurable captions for now
kkalev [Mon, 20 Oct 2003 16:39:38 +0000 (16:39 +0000)]
* Add a captions.conf file with a few configurable captions for now
* Move the nas list to a separate file called naslist.conf
* Add the ability to include configuration files in admin.conf
* Add a page for clearing open sessions from the database called clear_opensessions.php3. Add it in the
  user toolbar
* Move the userinfo page of user_admin to a separate file so that it can be easily changed to
  fit per installation needs
* Add a conf/accounting.attrs allowing the customization of the attributes in the user_accounting,
  user_finger and failed_logins pages
* Add a directive to determine if the administrator will be able to change the user password from
  the user edit page
* Call mysql_escape_string before running the sql query
* Use the sql_connect_timeout for the mysql driver
* Add a help page for the badusers table
* Also take the Session-Timeout in consideration when calcualting the remaining time in user_admin.php3
* Add regex matching in log_badlogins and don't expect the callerid to always be in numeric format

With these changes dialupadmin can probably be used for administrating other radius based services
apart from dialup
Hope everything works

22 years agoUpdate the badusers page to also use the general_accounting_info_order directive
kkalev [Fri, 17 Oct 2003 13:31:45 +0000 (13:31 +0000)]
Update the badusers page to also use the general_accounting_info_order directive

22 years agoUpdate the help page for the lock message attribute
kkalev [Thu, 16 Oct 2003 13:34:20 +0000 (13:34 +0000)]
Update the help page for the lock message attribute

22 years agoAdd an entry about the failed_logins page
kkalev [Sun, 12 Oct 2003 14:58:14 +0000 (14:58 +0000)]
Add an entry about the failed_logins page

22 years agoFix a small bug in bytes2str. It will now also show GBs if appropriate
kkalev [Fri, 10 Oct 2003 12:15:18 +0000 (12:15 +0000)]
Fix a small bug in bytes2str. It will now also show GBs if appropriate

22 years agoMake clean_radacct and truncate_radacct work correctly
kkalev [Mon, 6 Oct 2003 15:18:40 +0000 (15:18 +0000)]
Make clean_radacct and truncate_radacct work correctly

22 years agoDon't show an account as locked if Dialup-Access does not exist and the mapping corre...
kkalev [Mon, 6 Oct 2003 09:47:33 +0000 (09:47 +0000)]
Don't show an account as locked if Dialup-Access does not exist and the mapping corresponds to 'none' attribute

22 years agoShow correct calculation of the montlhy usage time.
kkalev [Mon, 6 Oct 2003 09:30:17 +0000 (09:30 +0000)]
Show correct calculation of the montlhy usage time.

22 years agoAdd more comments in the admin.conf file
kkalev [Sun, 5 Oct 2003 16:24:17 +0000 (16:24 +0000)]
Add more comments in the admin.conf file

22 years agoAdd a configuration directive counter_monthly_calculate_usage to calculate the monthl...
kkalev [Sun, 5 Oct 2003 16:03:11 +0000 (16:03 +0000)]
Add a configuration directive counter_monthly_calculate_usage to calculate the monthly usage time. Calculate
it in user_admin if monthly_limit != 'none' or if this directive is set.
Based on a report by "apellido jr., wilfredo p"

22 years agoAllow for defining the ldap_filter used when searching for a user. The filter support...
kkalev [Mon, 29 Sep 2003 14:16:25 +0000 (14:16 +0000)]
Allow for defining the ldap_filter used when searching for a user. The filter supports dynamic variables
like %u (username) and %U (username provided though http auth)

22 years agoCalculate weekly used time correctly (from Sunday 00:00:00)
kkalev [Tue, 23 Sep 2003 12:09:43 +0000 (12:09 +0000)]
Calculate weekly used time correctly (from Sunday 00:00:00)

22 years agoConsider the account locked either if Dialup-Access == FALSE or if it is not set...
kkalev [Fri, 12 Sep 2003 13:38:46 +0000 (13:38 +0000)]
Consider the account locked either if Dialup-Access == FALSE or if it is not set at all

22 years agoAlso check for $server != '' in stats.php3. Bug noted by Ulrich Walcher <uwalcher...
kkalev [Thu, 28 Aug 2003 13:01:59 +0000 (13:01 +0000)]
Also check for $server != '' in stats.php3. Bug noted by Ulrich Walcher <uwalcher@bcore.de>

22 years agoAdd a few more attribute help pages from Ulrich Walcher <uwalcher@bcore.de>
kkalev [Tue, 26 Aug 2003 14:38:26 +0000 (14:38 +0000)]
Add a few more attribute help pages from Ulrich Walcher <uwalcher@bcore.de>

22 years agoChange AcctStopTime = '0' with AcctStopTime IS NULL
kkalev [Mon, 11 Aug 2003 14:15:16 +0000 (14:15 +0000)]
Change AcctStopTime = '0' with AcctStopTime IS NULL

22 years ago* Only delete sessions which are not open in truncate_radacct. Bug noted by Evren...
kkalev [Wed, 23 Jul 2003 14:34:09 +0000 (14:34 +0000)]
* Only delete sessions which are not open in truncate_radacct. Bug noted by Evren Yurtesen <yurtesen@ispro.net.tr>
* Add a user input tag in user_stats.php3

22 years ago* Make all scripts use the mysql binary instead of DBI and make the sql password...
kkalev [Sat, 19 Jul 2003 16:29:50 +0000 (16:29 +0000)]
* Make all scripts use the mysql binary instead of DBI  and make the sql password even if it is empty
* Make log_badlogins work with usernames containing spaces

22 years agoRevert a change made by mistake
kkalev [Fri, 18 Jul 2003 16:21:10 +0000 (16:21 +0000)]
Revert a change made by mistake

22 years agoAdd 3 more help pages from Stadler Karel <Karel.Stadler@psi.ch> for Service-Type...
kkalev [Fri, 18 Jul 2003 16:18:45 +0000 (16:18 +0000)]
Add 3 more help pages from Stadler Karel <Karel.Stadler@psi.ch> for Service-Type,Framed-Protocol and Filter-ID

22 years agoIn user_finger page if $user is NULL then set it to &nbsp;
kkalev [Sat, 12 Jul 2003 13:52:28 +0000 (13:52 +0000)]
In user_finger page if $user is NULL then set it to &nbsp;

22 years agoAdd Service-Type in user_edit.attrs
kkalev [Thu, 10 Jul 2003 19:51:43 +0000 (19:51 +0000)]
Add Service-Type in user_edit.attrs

22 years agoAdd a link for extra documentation from Stadler Karel (<Karel.Stadler@psi.ch>)
kkalev [Thu, 12 Jun 2003 21:22:30 +0000 (21:22 +0000)]
Add a link for extra documentation from Stadler Karel (<Karel.Stadler@psi.ch>)

22 years agoEscape " in login_time create page before parsing the login-time string
kkalev [Thu, 22 May 2003 09:28:31 +0000 (09:28 +0000)]
Escape " in login_time create page before parsing the login-time string

22 years agoSmall change in user_accounting.php3
kkalev [Mon, 19 May 2003 07:43:51 +0000 (07:43 +0000)]
Small change in user_accounting.php3

22 years agoAdd a config directive general_stats_use_totacct. If set we use the totacct table...
kkalev [Mon, 12 May 2003 13:34:57 +0000 (13:34 +0000)]
Add a config directive general_stats_use_totacct. If set we use the totacct table in the stats page instead of
radacct

22 years agoUse $config[sql_usergroup_table] in show_groups.php3
kkalev [Sun, 11 May 2003 14:03:37 +0000 (14:03 +0000)]
Use $config[sql_usergroup_table] in show_groups.php3

22 years agoAdd a usage_summary parameter in user_finger. If it is passed then we only output...
kkalev [Sat, 10 May 2003 13:49:46 +0000 (13:49 +0000)]
Add a usage_summary parameter in user_finger. If it is passed then we only output a text like:
"Online: <num> Free: <num>" which can be used in outside pages

22 years ago* Use Max-Monthly-Session not Max-Weekly-Session for the monthly limit
kkalev [Mon, 5 May 2003 23:10:04 +0000 (23:10 +0000)]
* Use Max-Monthly-Session not Max-Weekly-Session for the monthly limit
* When checking the weekly limit check first that $remaining is numeric before doing any comparisons

22 years agoCreate an AcctUniqueId before adding a row in radacct in log_badlogins.
kkalev [Sat, 19 Apr 2003 16:26:10 +0000 (16:26 +0000)]
Create an AcctUniqueId before adding a row in radacct in log_badlogins.

22 years agoLimit the split() to 2 elements in lib/defaults.php3
kkalev [Tue, 15 Apr 2003 13:04:25 +0000 (13:04 +0000)]
Limit the split() to 2 elements in lib/defaults.php3

22 years agoAdd support for regexp and like operators in accounting report generator
kkalev [Mon, 14 Apr 2003 22:17:43 +0000 (22:17 +0000)]
Add support for regexp and like operators in accounting report generator

22 years agoAdd a <?php tag instead of a <?. Bug noted by Isam Ishaq <isam@planet.edu>
kkalev [Thu, 10 Apr 2003 16:10:06 +0000 (16:10 +0000)]
Add a <?php tag instead of a <?. Bug noted by Isam Ishaq <isam@planet.edu>

22 years agoUpdate the README file with notes about the scripts present in the bin folder
kkalev [Sun, 6 Apr 2003 13:55:34 +0000 (13:55 +0000)]
Update the README file with notes about the scripts present in the bin folder

22 years agoFix a problem with user_stats.php3
kkalev [Sun, 6 Apr 2003 13:49:54 +0000 (13:49 +0000)]
Fix a problem with user_stats.php3

22 years agoAlso add support for @ in usernames in log_badlogins
kkalev [Wed, 12 Mar 2003 16:26:15 +0000 (16:26 +0000)]
Also add support for @ in usernames in log_badlogins

22 years agoCall gethostbyaddr with an @ in front to suppress error messages
kkalev [Wed, 12 Mar 2003 15:57:57 +0000 (15:57 +0000)]
Call gethostbyaddr with an @ in front to suppress error messages

22 years agoAdd support for ! in usernames in log_badlogins
kkalev [Wed, 12 Mar 2003 14:44:28 +0000 (14:44 +0000)]
Add support for ! in usernames in log_badlogins