diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-08-05 04:16:50 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-08-05 04:16:50 +0000 |
commit | fbf672cbe9c241459579a83be00df9f20dd47dc0 (patch) | |
tree | b514601f39bbaabe8f7b98ea843dea1017d76419 /usr/local/www/guiconfig.inc | |
parent | 10fe861c87b3b6857ab9d0858a9f292e49ac3c05 (diff) | |
download | pfsense-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-x | usr/local/www/guiconfig.inc | 44 |
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", |