summaryrefslogtreecommitdiffstats
path: root/usr/local/www/guiconfig.inc
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-08-05 04:16:50 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-08-05 04:16:50 +0000
commitfbf672cbe9c241459579a83be00df9f20dd47dc0 (patch)
treeb514601f39bbaabe8f7b98ea843dea1017d76419 /usr/local/www/guiconfig.inc
parent10fe861c87b3b6857ab9d0858a9f292e49ac3c05 (diff)
downloadpfsense-fbf672cbe9c241459579a83be00df9f20dd47dc0.zip
pfsense-fbf672cbe9c241459579a83be00df9f20dd47dc0.tar.gz
Add an interface to manage external authentication servers. The two types
supported currently are LDAP and Radius.
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-xusr/local/www/guiconfig.inc44
1 files changed, 43 insertions, 1 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index bba46ce..50fcd54 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -100,8 +100,50 @@ if (file_exists($d_firmwarelock_path)) {
}
}
+$auth_server_types = array(
+ 'ldap' => "LDAP",
+ 'radius' => "Radius");
+
+$ldap_urltypes = array(
+ 'TCP - Standard' => 389,
+ 'SSL - Encrypted' => 636);
+
+$ldap_scopes = array(
+ 'one' => "One Level",
+ 'subtree' => "Entire Subtree");
+
+$ldap_protvers = array(
+ 2,
+ 3);
+
+$ldap_templates = array(
+
+ 'open' => array(
+ 'desc' => "OpenLDAP",
+ 'attr_user' => "cn",
+ 'attr_group' => "cn",
+ 'attr_member' => "member"),
+
+ 'msad' => array(
+ 'desc' => "Microsoft AD",
+ 'attr_user' => "samAccountNAme",
+ 'attr_group' => "cn",
+ 'attr_member' => "member"),
+
+ 'edir' => array(
+ 'desc' => "Novell eDirectory",
+ 'attr_user' => "cn",
+ 'attr_group' => "cn",
+ 'attr_member' => "uniqueMember"));
+
+$radius_srvcs = array(
+ 'both' => "Authentication and Accounting",
+ 'auth' => "Authentication",
+ 'acct' => "Accounting");
+
/* some well knows ports */
-$wkports = array(3389 => "MS RDP",
+$wkports = array(
+ 3389 => "MS RDP",
21 => "FTP",
22 => "SSH",
23 => "Telnet",
OpenPOWER on IntegriCloud