-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
57 lines (34 loc) · 1.7 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
== WHAT?! ==
This module provides Ubercart/Coova/Radius glue that doesn't require a
CoovaEWT and CoovaRADIUS setup.
== LICENSE ==
This code is made available under the GNU GENERAL PUBLIC LICENSE version 2.
See the COPYING file for details.
== PREREQUISITES ==
You need to have a working Coova installation with a radius server that
uses a MySQL backend. This code was developed for use with FreeRADIUS.
You also need a configured Ubercart installation, to take payments for
download quota.
== INSTALLATION ==
Extract the module to your sites/all/modules directory and visit the modules
list page to enable it. It will be listed s 'UberCoova' under 'Other'.
== CONFIGURATION ==
To make use of the ubercoova module, Drupal needs to be able to access
the FreeRADIUS backend database.
You can configure this database by editing your settings.php file.
Modify the $db_url variable, so that instead of a string it is an array.
The array should have at least a 'default' key that contains the existing
url for the Drupal database. First, change:
$db_url = 'mysqli://username:password@localhost/databasename';
To:
$db_url = array();
$db_url['default'] = 'mysqli://username:password@localhost/drupal';
You can now append the database url for the freeradius database below the
default url. You should give it the key 'radius'.
$db_url = array();
$db_url['default'] = 'mysqli://username:password@localhost/drupal';
$db_url['radius'] = 'mysqli://raduser:radpass@localhost/radius';
The raduser account needs to be able to read from and write to the table
with account credentials and attributes.
Once enabled, a user with 'administer ubercoova' permission can change the
module configuration on admin/settings/ubercoova.