mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Tidy up alt_auth; first cut of radius support (thanks to Cameron K for testing)
This commit is contained in:
@@ -26,6 +26,8 @@ define('LAN_ALT_23', 'XUP file field');
|
||||
define('LAN_ALT_24', 'Password salt field');
|
||||
define('LAN_ALT_25', '(sometimes combined with password for added security)');
|
||||
define('LAN_ALT_26', 'Database type:');
|
||||
define('LAN_ALT_27', 'To transfer a field value into the local database, specify the field name in the corresponding box below. (Username and password are always transferred)
|
||||
<br />Leave the field blank for it not to be transferred at all');
|
||||
|
||||
define('LAN_ALT_29', 'Auth methods');
|
||||
define('LAN_ALT_30', 'Configure ');
|
||||
@@ -37,6 +39,7 @@ define("LAN_ALT_35", "Database:");
|
||||
define("LAN_ALT_36", "Table:");
|
||||
define("LAN_ALT_37", "Username Field:");
|
||||
define("LAN_ALT_38", "Password Field:");
|
||||
define('LAN_ALT_39', 'Table Prefix:');
|
||||
|
||||
define('LAN_ALT_40', 'Test database access');
|
||||
define('LAN_ALT_41', ' (using above credentials)');
|
||||
@@ -60,9 +63,13 @@ define('LAN_ALT_58', 'Authentification successful');
|
||||
define('LAN_ALT_59', 'Retrieved parameters:');
|
||||
define('LAN_ALT_60', '');
|
||||
|
||||
define("LAN_ALT_FALLBACK", "Use e107 user table");
|
||||
define("LAN_ALT_FAIL", "Failed login");
|
||||
define('LAN_ALT_UPDATESET', "Update settings");
|
||||
define('LAN_ALT_FALLBACK', 'Use e107 user table');
|
||||
define('LAN_ALT_FAIL', 'Failed login');
|
||||
define('LAN_ALT_UPDATESET', 'Update settings');
|
||||
define('LAN_ALT_UPDATED','Settings updated');
|
||||
|
||||
define('LAN_ALT_AUTH_HELP', 'These are the settings common to all authentication methods, and determine the actions to be taken');
|
||||
define('LAN_ALT_VALIDATE_HELP', 'You can check the settings by using the \'Test Database Access\' section to try and validate a user - this uses exactly
|
||||
the same process as when a user tries to log in, and confirms whether your settings are correct');
|
||||
|
||||
?>
|
||||
|
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
define('E107DB_LAN_1', 'E107 format database');
|
||||
//define("E107DB_LAN_2", "Server:");
|
||||
//define("E107DB_LAN_3", "Username:");
|
||||
//define("E107DB_LAN_4", "Password:");
|
||||
//define("E107DB_LAN_5", "Database");
|
||||
define("E107DB_LAN_9", "Password Method:");
|
||||
define("E107DB_LAN_10", "Configure E107 db auth");
|
||||
define("E107DB_LAN_11", "Check the box against any field you wish to be transferred to the local database:");
|
||||
|
||||
|
||||
define("IMPORTDB_LAN_7", 'MD5 (E107 original)');
|
||||
define("IMPORTDB_LAN_8", 'E107 salted (option 0.8 on)');
|
||||
|
||||
?>
|
17
e107_plugins/alt_auth/languages/English/lan_e107db_conf.php
Normal file
17
e107_plugins/alt_auth/languages/English/lan_e107db_conf.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
define('E107DB_LAN_1', 'E107 format database');
|
||||
define('E107DB_LAN_9', 'Password Method:');
|
||||
define('E107DB_LAN_10', 'Configure E107 db auth');
|
||||
define('E107DB_LAN_11', 'Check the box against any field you wish to be transferred to the local database:');
|
||||
|
||||
|
||||
define('IMPORTDB_LAN_7', 'MD5 (E107 original)');
|
||||
define('IMPORTDB_LAN_8', 'E107 salted (option 0.8 on)');
|
||||
|
||||
|
||||
define('LAN_AUTHENTICATE_HELP','This authentication method is to be used with a second E107 database, which may use a different password format to this system. The
|
||||
original password is read from the local database, and validated against the storage format of the original system. If it verifies, its converted to the current E107-compatible format and
|
||||
stored in the database.');
|
||||
|
||||
?>
|
@@ -7,13 +7,15 @@ define("IMPORTDB_LAN_5", 'SMF (SHA1)');
|
||||
define("IMPORTDB_LAN_6", 'Generic SHA1');
|
||||
define("IMPORTDB_LAN_7", 'MD5 (E107 original)');
|
||||
define("IMPORTDB_LAN_8", 'E107 salted (option 0.8 on)');
|
||||
define("IMPORTDB_LAN_9", "Password Method:");
|
||||
define("IMPORTDB_LAN_10", "Configure imported database password type");
|
||||
define("IMPORTDB_LAN_9", 'Password Method:');
|
||||
define("IMPORTDB_LAN_10", 'Configure imported database password type');
|
||||
define("IMPORTDB_LAN_11", 'This option is to be used when you have imported some other user-based system into E107.
|
||||
It allows you to accept passwords encoded in the selected non-standard format.
|
||||
Each user\'s password is converted to E107 format when they log in.');
|
||||
define("IMPORTDB_LAN_12", 'PHPBB2/PHPBB3 salted');
|
||||
define("IMPORTDB_LAN_13", '');
|
||||
define("IMPORTDB_LAN_14", '');
|
||||
|
||||
define('LAN_AUTHENTICATE_HELP','This authentication method is to be used <i>only</i> when you have imported a user database into E107, and the password is in an incompatible format. The
|
||||
original password is read from the local database, and validated against the storage format of the original system. If it verifies, its converted to the current E107-compatible format and
|
||||
stored in the database. After a while you can usually disable the alt-auth plugin, since active users will all have their passwords stored in a compatible format.');
|
||||
|
||||
?>
|
7
e107_plugins/alt_auth/languages/English/lan_ldap_auth.php → e107_plugins/alt_auth/languages/English/lan_ldap_conf.php
Executable file → Normal file
7
e107_plugins/alt_auth/languages/English/lan_ldap_auth.php → e107_plugins/alt_auth/languages/English/lan_ldap_conf.php
Executable file → Normal file
@@ -12,8 +12,9 @@ define("LDAPLAN_10", "Settings Updated");
|
||||
define("LDAPLAN_11", "WARNING: It appears as if the ldap module is not currently available; setting your auth method to LDAP will probably not work!");
|
||||
define("LDAPLAN_12", "Server Type");
|
||||
define("LDAPLAN_13", "Update settings");
|
||||
define("LDAPLAN_14", "To transfer a field (attribute) value into the local database, specify its name in the corresponding box below. Fields marked with
|
||||
an asterisk (*) are mandatory.
|
||||
<br />Leave the box blank for it not to be transferred at all");
|
||||
|
||||
|
||||
define('LAN_AUTHENTICATE_HELP','This method can be used to authenticate against most LDAP servers, including Novell\'s eDirectory and Microsoft\'s Active Directory. Refer to the wiki for further information.');
|
||||
|
||||
|
||||
?>
|
@@ -9,8 +9,8 @@ define("OTHERDB_LAN_7", "Username Field:");
|
||||
define("OTHERDB_LAN_8", "Password Field:");
|
||||
define("OTHERDB_LAN_9", "Password Method:");
|
||||
define("OTHERDB_LAN_10", "Configure otherdb auth");
|
||||
define("OTHERDB_LAN_11", "To transfer a field value into the local database, specify the field name in the corresponding box below. Fields marked with
|
||||
an asterisk (*) are mandatory.<br />Leave the field blank for it not to be transferred at all");
|
||||
//define("OTHERDB_LAN_11", "To transfer a field value into the local database, specify the field name in the corresponding box below. Fields marked with
|
||||
// an asterisk (*) are mandatory.<br />Leave the field blank for it not to be transferred at all");
|
||||
define('OTHERDB_LAN_12', 'Password Salt Field:');
|
||||
define('OTHERDB_LAN_13', '(Leave blank if not used)');
|
||||
define('OTHERDB_LAN_14', 'Email address Field:');
|
||||
@@ -25,4 +25,8 @@ define("IMPORTDB_LAN_7", 'MD5 (E107 original)');
|
||||
define("IMPORTDB_LAN_8", 'E107 salted (option 0.8 on)');
|
||||
define("IMPORTDB_LAN_12", 'PHPBB2/PHPBB3 salted');
|
||||
|
||||
|
||||
define('LAN_AUTHENTICATE_HELP','This authentication method is used to validate against a non-E107 database. The password must be stored in one of the supported formats.');
|
||||
|
||||
|
||||
?>
|
14
e107_plugins/alt_auth/languages/English/lan_radius_conf.php
Normal file
14
e107_plugins/alt_auth/languages/English/lan_radius_conf.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
define('LAN_RADIUS_01', 'Server address');
|
||||
define('LAN_RADIUS_02', 'Shared secret');
|
||||
define('LAN_RADIUS_03', 'Server user');
|
||||
define('LAN_RADIUS_04', 'Server password');
|
||||
define('LAN_RADIUS_06', 'Configure RADIUS auth');
|
||||
define('LAN_RADIUS_11', 'WARNING: It appears that the RADIUS module is not currently available; setting your auth method to RADIUS will probably not work!');
|
||||
|
||||
|
||||
define('LAN_AUTHENTICATE_HELP','This authentication method is used with an external RADIUS server. It requres that PHP\'s RADIUS extension is enabled. <br />
|
||||
Note that the RADIUS server may only allow access from a specific range of IP addresses');
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user