All rights reserved. Based on m0n0wall (http://m0n0.ch/wall) Copyright (C) 2003-2006 Manuel Kasper . All rights reserved. */ /* ========================================================================== */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* ========================================================================== */ ]]> Describe your package requirements here Currently there are no FAQ items provided. freeradiusmodulesldap 2.2.0 FreeRADIUS: LDAP pkg_edit.php?xml=freeradiusmodulesldap.xml&id=0 /usr/local/pkg/freeradius.inc Users /pkg.php?xml=freeradius.xml MACs /pkg.php?xml=freeradiusauthorizedmacs.xml NAS / Clients /pkg.php?xml=freeradiusclients.xml Interfaces /pkg.php?xml=freeradiusinterfaces.xml Settings /pkg_edit.php?xml=freeradiussettings.xml&id=0 EAP /pkg_edit.php?xml=freeradiuseapconf.xml&id=0 SQL /pkg_edit.php?xml=freeradiussqlconf.xml&id=0 Certificates /pkg_edit.php?xml=freeradiuscerts.xml&id=0 LDAP /pkg_edit.php?xml=freeradiusmodulesldap.xml&id=0 View config /freeradius_view_config.php XMLRPC Sync /pkg_edit.php?xml=freeradiussync.xml&id=0 ENABLE LDAP SUPPORT - SERVER 1 listtopic Enable LDAP For Authorization varmodulesldapenableauthorize checkbox varmodulesldapenabletlssupport,varmodulesldap2failover,varmodulesldap2enableauthenticate,varmodulesldapkeepaliveinterval,varmodulesldapkeepaliveprobes,varmodulesldapkeepaliveidle,varmodulesldapmsadcompatibilityenable,varmodulesldapnettimeout,varmodulesldaptimelimit,varmodulesldaptimeout,varmodulesldapldapconnectionsnumber,varmodulesldapbasefilter,varmodulesldapfilter,varmodulesldapbasedn,varmodulesldappassword,varmodulesldapidentity,varmodulesldapserver,varmodulesldap2enableauthorize,varmodulesldap2enableauthenticate,varmodulesldap2server,varmodulesldap2identity,varmodulesldap2password,varmodulesldap2basedn,varmodulesldap2filter,varmodulesldap2basefilter,varmodulesldap2ldapconnectionsnumber,varmodulesldap2timeout,varmodulesldap2timelimit,varmodulesldap2nettimeout,varmodulesldap2msadcompatibilityenable,varmodulesldap2dmiscenable,varmodulesldap2groupenable,varmodulesldap2keepaliveidle,varmodulesldap2keepaliveprobes,varmodulesldap2keepaliveinterval Enable LDAP For Authentication varmodulesldapenableauthenticate checkbox GENERAL CONFIGURATION - SERVER 1 listtopic Server varmodulesldapserver input 80 ldap.your.domain Port varmodulesldapserverport input 80 389 Identity varmodulesldapidentity input 80 Password varmodulesldappassword password 80 mypass Basedn varmodulesldapbasedn input 80 Filter varmodulesldapfilter input 80 Base Filter varmodulesldapbasefilter input 80 LDAP Connections Number varmodulesldapldapconnectionsnumber input 80 5 Timeout varmodulesldaptimeout input 80 4 Timelimit varmodulesldaptimelimit input 80 3 Net Timeout varmodulesldapnettimeout input 80 1 MISCELLANEOUS CONFIGURATION - SERVER 1 listtopic Active Directory Compatibility varmodulesldapmsadcompatibilityenable select Disable Enable Misc Configuration - SERVER 1 varmodulesldapdmiscenable checkbox varmodulesldapdefaultprofile,varmodulesldapprofileattribute,varmodulesldapaccessattr Default Profile varmodulesldapdefaultprofile input 80 Profile Attribute varmodulesldapprofileattribute input 80 radiusProfileDn Access Attribute varmodulesldapaccessattr input 80 dialupAccess Group Membership Options - SERVER 1 listtopic Enable Group Membership Options varmodulesldapgroupenable checkbox varmodulesldapaccessattrusedforallow,varmodulesldapdoxlat,varmodulesldapcomparecheckitems,varmodulesldapgroupmembershipattribute,varmodulesldapgroupmembershipfilter,varmodulesldapgroupnameattribute Groupname Attribute varmodulesldapgroupnameattribute input 80 cn Groupmembership Filter varmodulesldapgroupmembershipfilter input 80 Groupmembership Attribute varmodulesldapgroupmembershipattribute input 80 radiusGroupName Compare Check Items varmodulesldapcomparecheckitems select Yes Do XLAT varmodulesldapdoxlat select Yes Access Attribute Used For Allow varmodulesldapaccessattrusedforallow select Yes KEEPALIVE CONFIGURATION - SERVER 1 listtopic LDAP OPT X KEEPALIVE IDLE varmodulesldapkeepaliveidle input 80 60 LDAP OPT X KEEPALIVE PROBES varmodulesldapkeepaliveprobes input 80 3 LDAP OPT X KEEPALIVE INTERVAL varmodulesldapkeepaliveinterval input 80 3 LDAP TLS SUPPORT - SERVER 1 listtopic Enable TSL support varmodulesldapenabletlssupport checkbox ssl_ca_cert1,ssl_server_cert1,varmodulesldaprequirecert SSL CA Certificate ssl_ca_cert1 Choose "none" if you do not use any kind of certificates or the freeradius Cert Manager. (Default: none)]]> select_source descr refid SSL Server Certificate ssl_server_cert1 Choose "none" if you do not use any kind of certificates or the freeradius Cert Manager. (Default: none)]]> select_source descr refid Choose certificate verification method varmodulesldaprequirecert
never: don't even bother trying
allow: try but don't fail if the certificate can't be verified
demand: fail if the certificate doesn't verify]]>
select never
ENABLE REDUNDANT LDAP SERVER SUPPORT listtopic Choose Failover/Loadbalancing Mode varmodulesldap2failover
redundant: If server 1 fails failover to server 2
load-balance: The load is balanced 50:50 to both servers
redundant-load-balance: The load is balanced 50:50 to both servers. If one is down the other does 100%.]]>
select redundant
ENABLE LDAP SUPPORT - SERVER 2 listtopic Enable LDAP For Authorization varmodulesldap2enableauthorize checkbox varmodulesldap2enabletlssupport,varmodulesldap2enableauthenticate,varmodulesldap2server,varmodulesldap2identity,varmodulesldap2password,varmodulesldap2basedn,varmodulesldap2filter,varmodulesldap2basefilter,varmodulesldap2ldapconnectionsnumber,varmodulesldap2timeout,varmodulesldap2timelimit,varmodulesldap2nettimeout,varmodulesldap2msadcompatibilityenable,varmodulesldap2dmiscenable,varmodulesldap2groupenable,varmodulesldap2keepaliveidle,varmodulesldap2keepaliveprobes,varmodulesldap2keepaliveinterval Enable LDAP For Authentication varmodulesldap2enableauthenticate checkbox GENERAL CONFIGURATION - SERVER 2 listtopic Server varmodulesldap2server input 80 ldap.your.domain Port varmodulesldap2serverport input 80 389 Identity varmodulesldap2identity input 80 Password varmodulesldap2password password 80 mypass Basedn varmodulesldap2basedn input 80 Filter varmodulesldap2filter input 80 Base Filter varmodulesldap2basefilter input 80 LDAP Connections Number varmodulesldap2ldapconnectionsnumber input 80 5 Timeout varmodulesldap2timeout input 80 4 Timelimit varmodulesldap2timelimit input 80 3 Net Timeout varmodulesldap2nettimeout input 80 1 MISCELLANEOUS CONFIGURATION - SERVER 2 listtopic Active Directory Compatibility varmodulesldap2msadcompatibilityenable select Disable Enable Misc Configuration varmodulesldap2dmiscenable checkbox varmodulesldap2defaultprofile,varmodulesldap2profileattribute,varmodulesldap2accessattr Default Profile varmodulesldap2defaultprofile input 80 Profile Attribute varmodulesldap2profileattribute input 80 radiusProfileDn Access Attribute varmodulesldap2accessattr input 80 dialupAccess Group Membership Options - SERVER 2 listtopic Enable Group Membership Options varmodulesldap2groupenable checkbox varmodulesldap2accessattrusedforallow,varmodulesldap2doxlat,varmodulesldap2comparecheckitems,varmodulesldap2groupmembershipattribute,varmodulesldap2groupmembershipfilter,varmodulesldap2groupnameattribute Groupname Attribute varmodulesldap2groupnameattribute input 80 cn Groupmembership Filter varmodulesldap2groupmembershipfilter input 80 Groupmembership Attribute varmodulesldap2groupmembershipattribute input 80 radiusGroupName Compare Check Items varmodulesldap2comparecheckitems select Yes Do XLAT varmodulesldap2doxlat select Yes Access Attribute Used For Allow varmodulesldap2accessattrusedforallow select Yes KEEPALIVE CONFIGURATION - SERVER 2 listtopic LDAP OPT X KEEPALIVE IDLE varmodulesldap2keepaliveidle input 80 60 LDAP OPT X KEEPALIVE PROBES varmodulesldap2keepaliveprobes input 80 3 LDAP OPT X KEEPALIVE INTERVAL varmodulesldap2keepaliveinterval input 80 3 LDAP TLS SUPPORT - SERVER 2 listtopic Enable TSL support varmodulesldap2enabletlssupport checkbox ssl_ca_cert2,ssl_server_cert2,varmodulesldap2requirecert SSL CA Certificate ssl_ca_cert2 Choose "none" if you do not use any kind of certificates or the freeradius Cert Manager. (Default: none)]]> select_source descr refid SSL Server Certificate ssl_server_cert2 Choose "none" if you do not use any kind of certificates or the freeradius Cert Manager. (Default: none)]]> select_source descr refid Choose certificate verification method varmodulesldap2requirecert
never: don't even bother trying
allow: try but don't fail if the cerificate can't be verified
demand: fail if the certificate doesn't verify]]>
select never
freeradius_modulesldap_resync(); freeradius_modulesldap_resync();