Referencing a redundant-load-balance set within users file

Tod A. Sandman sandmant at rice.edu
Wed Nov 12 18:33:03 CET 2008


Version: freeradius-2.1.1

I cannot get a redundant-load-balance set to work within a variable
expansion in the users file.

I added this to the bottom of the instantiate section of radiusd.conf:

        redundant-load-balance redundant_ldap {
                ldap1
                ldap2
                ldap3
        }


and this to the authorize section of sites-enabled/default:

        redundant_ldap

and I defined the 3 ldap instances in modules/ldap, and this part
works fine.

But I cannot figure out how to reference redundant_ldap from within
the users file.

I tried

  Connect-Info = "%{redundant_ldap:ldap:///dc=rice,dc=edu?riceClass?sub?uid=%u}"

but the debug output shows:

  WARNING: Unknown module "redundant_ldap" in string expansion
    "%{redundant_ldap:ldap:///dc=rice,dc=edu?riceClass?sub?uid=%u}"

I attached the start of the debug output.  The whole output was over
the 100k limit.



Tod Sandman
Sr. Systems Administrator
Middleware Development & Integration
Rice University
Voice: 713.348.5816
-------------- next part --------------
FreeRADIUS Version 2.1.1, for host i686-pc-linux-gnu, built on Oct 16 2008 at 13:34:21
Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. 
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. 
You may redistribute copies of FreeRADIUS under the terms of the 
GNU General Public License v2. 
Starting - reading configuration files ...
including configuration file /etc/opt/freeradius/radiusd.conf
including configuration file /etc/opt/freeradius/proxy.conf
including configuration file /etc/opt/freeradius/clients.conf
including files in directory /etc/opt/freeradius/modules/
including configuration file /etc/opt/freeradius/modules/expr
including configuration file /etc/opt/freeradius/modules/smbpasswd
including configuration file /etc/opt/freeradius/modules/unix
including configuration file /etc/opt/freeradius/modules/mschap
including configuration file /etc/opt/freeradius/modules/preprocess
including configuration file /etc/opt/freeradius/modules/always
including configuration file /etc/opt/freeradius/modules/echo
including configuration file /etc/opt/freeradius/modules/krb5
including configuration file /etc/opt/freeradius/modules/checkval
including configuration file /etc/opt/freeradius/modules/passwd
including configuration file /etc/opt/freeradius/modules/sql_log
including configuration file /etc/opt/freeradius/modules/attr_filter
including configuration file /etc/opt/freeradius/modules/pap
including configuration file /etc/opt/freeradius/modules/logintime
including configuration file /etc/opt/freeradius/modules/perl
including configuration file /etc/opt/freeradius/modules/mac2vlan
including configuration file /etc/opt/freeradius/modules/pam
including configuration file /etc/opt/freeradius/modules/counter
including configuration file /etc/opt/freeradius/modules/ippool
including configuration file /etc/opt/freeradius/modules/detail.example.com
including configuration file /etc/opt/freeradius/modules/files
including configuration file /etc/opt/freeradius/modules/chap
including configuration file /etc/opt/freeradius/modules/inner-eap
including configuration file /etc/opt/freeradius/modules/attr_rewrite
including configuration file /etc/opt/freeradius/modules/detail
including configuration file /etc/opt/freeradius/modules/digest
including configuration file /etc/opt/freeradius/modules/radutmp
including configuration file /etc/opt/freeradius/modules/realm
including configuration file /etc/opt/freeradius/modules/mac2ip
including configuration file /etc/opt/freeradius/modules/ldap
including configuration file /etc/opt/freeradius/modules/linelog
including configuration file /etc/opt/freeradius/modules/exec
including configuration file /etc/opt/freeradius/modules/acct_unique
including configuration file /etc/opt/freeradius/modules/etc_group
including configuration file /etc/opt/freeradius/modules/sradutmp
including configuration file /etc/opt/freeradius/modules/expiration
including configuration file /etc/opt/freeradius/modules/policy
including configuration file /etc/opt/freeradius/modules/wimax
including configuration file /etc/opt/freeradius/modules/detail.log
including configuration file /etc/opt/freeradius/eap.conf
including configuration file /etc/opt/freeradius/policy.conf
including files in directory /etc/opt/freeradius/sites-enabled/
including configuration file /etc/opt/freeradius/sites-enabled/inner-tunnel
including configuration file /etc/opt/freeradius/sites-enabled/req.txt
including configuration file /etc/opt/freeradius/sites-enabled/default
group = radius
user = radius
including dictionary file /etc/opt/freeradius/dictionary
main {
	prefix = "/usr/site/freeradius-2.1.1"
	localstatedir = "/var/opt/freeradius"
	logdir = "/var/opt/freeradius"
	libdir = "/usr/site/freeradius-2.1.1/lib"
	radacctdir = "/var/opt/freeradius/radacct"
	hostname_lookups = no
	max_request_time = 30
	cleanup_delay = 5
	max_requests = 1024
	allow_core_dumps = no
	pidfile = "/var/opt/freeradius/run/radiusd.pid"
	checkrad = "/usr/site/freeradius-2.1.1/sbin/checkrad"
	debug_level = 0
	proxy_requests = yes
 log {
	stripped_names = no
	auth = no
	auth_badpass = no
	auth_goodpass = no
 }
 security {
	max_attributes = 200
	reject_delay = 1
	status_server = no
 }
}
 client localhost {
	ipaddr = 127.0.0.1
	require_message_authenticator = no
	secret = "testing123"
	nastype = "other"
 }
 client 168.7.0.0/16 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxmy3"
	shortname = "rn2"
 }
 client 10.48.200.200 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxry3"
	shortname = "VPN"
 }
 client 10.48.200.201 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxry3"
	shortname = "VPN"
 }
 client 10.48.200.202 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxry3"
	shortname = "VPN"
 }
 client 10.0.94.4 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless0a"
 }
 client 10.0.94.5 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless0b"
 }
 client 10.4.94.4 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless4a"
 }
 client 10.4.94.5 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless4b"
 }
 client 10.8.94.4 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless8a"
 }
 client 10.8.94.5 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless8b"
 }
 client 10.12.94.4 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless12a"
 }
 client 10.12.94.5 {
	require_message_authenticator = no
	secret = "whfgpoqasdzxcy3"
	shortname = "wireless12b"
 }
 client 10.4.93.0/24 {
	require_message_authenticator = no
	secret = "lomtesting123"
	shortname = "lom4"
 }
 client 10.6.93.0/24 {
	require_message_authenticator = no
	secret = "lomtesting123"
	shortname = "lom6"
 }
 client 10.7.93.0/24 {
	require_message_authenticator = no
	secret = "lomtesting123"
	shortname = "lom7"
 }
 client 10.10.93.0/24 {
	require_message_authenticator = no
	secret = "lomtesting123"
	shortname = "lom10"
 }
 client 10.12.93.0/24 {
	require_message_authenticator = no
	secret = "lomtesting123"
	shortname = "lom12"
 }
radiusd: #### Loading Realms and Home Servers ####
 proxy server {
	retry_delay = 5
	retry_count = 3
	default_fallback = no
	dead_time = 120
	wake_all_if_all_dead = no
 }
 home_server localhost {
	ipaddr = 127.0.0.1
	port = 1812
	type = "auth"
	secret = "testing123"
	response_window = 20
	max_outstanding = 65536
	zombie_period = 40
	status_check = "status-server"
	ping_interval = 30
	check_interval = 30
	num_answers_to_alive = 3
	num_pings_to_alive = 3
	revive_interval = 120
	status_check_timeout = 4
 }
 home_server_pool my_auth_failover {
	type = fail-over
	home_server = localhost
 }
 realm example.com {
	auth_pool = my_auth_failover
 }
 realm LOCAL {
 }
radiusd: #### Instantiating modules ####
 instantiate {
 Module: Linked to module rlm_exec
 Module: Instantiating exec
  exec {
	wait = no
	input_pairs = "request"
	shell_escape = yes
  }
 Module: Linked to module rlm_expr
 Module: Instantiating expr
 Module: Linked to module rlm_expiration
 Module: Instantiating expiration
  expiration {
	reply-message = "Password Has Expired  "
  }
 Module: Linked to module rlm_logintime
 Module: Instantiating logintime
  logintime {
	reply-message = "You are calling outside your allowed timespan  "
	minimum-timeout = 60
  }
 }
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_pap
 Module: Instantiating pap
  pap {
	encryption_scheme = "auto"
	auto_header = no
  }
 Module: Linked to module rlm_chap
 Module: Instantiating chap
 Module: Linked to module rlm_mschap
 Module: Instantiating mschap
  mschap {
	use_mppe = yes
	require_encryption = no
	require_strong = no
	with_ntdomain_hack = no
	ntlm_auth = "/usr/site/samba/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name:-None} --domain=%{mschap:NT-Domain:-ADRICE} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
  }
 Module: Linked to module rlm_unix
 Module: Instantiating unix
  unix {
	radwtmp = "/var/opt/freeradius/radwtmp"
  }
 Module: Linked to module rlm_eap
 Module: Instantiating eap
  eap {
	default_eap_type = "tls"
	timer_expire = 120
	ignore_unknown_eap_types = no
	cisco_accounting_username_bug = no
	max_sessions = 2048
  }
 Module: Linked to sub-module rlm_eap_md5
 Module: Instantiating eap-md5
 Module: Linked to sub-module rlm_eap_leap
 Module: Instantiating eap-leap
 Module: Linked to sub-module rlm_eap_gtc
 Module: Instantiating eap-gtc
   gtc {
	challenge = "Password: "
	auth_type = "PAP"
   }
 Module: Linked to sub-module rlm_eap_tls
 Module: Instantiating eap-tls
   tls {
	rsa_key_exchange = no
	dh_key_exchange = yes
	rsa_key_length = 512
	dh_key_length = 512
	verify_depth = 0
	pem_file_type = yes
	private_key_file = "/etc/opt/freeradius/certs/server.pem"
	certificate_file = "/etc/opt/freeradius/certs/server.pem"
	CA_file = "/etc/opt/freeradius/certs/ca.pem"
	private_key_password = "whatever"
	dh_file = "/etc/opt/freeradius/certs/dh"
	random_file = "/etc/opt/freeradius/certs/random"
	fragment_size = 1024
	include_length = yes
	check_crl = no
	cipher_list = "DEFAULT"
	make_cert_command = "/etc/opt/freeradius/certs/bootstrap"
    cache {
	enable = no
	lifetime = 24
	max_entries = 255
    }
   }
 Module: Linked to sub-module rlm_eap_ttls
 Module: Instantiating eap-ttls
   ttls {
	default_eap_type = "md5"
	copy_request_to_tunnel = no
	use_tunneled_reply = no
	virtual_server = "inner-tunnel"
   }
 Module: Linked to sub-module rlm_eap_peap
 Module: Instantiating eap-peap
   peap {
	default_eap_type = "mschapv2"
	copy_request_to_tunnel = no
	use_tunneled_reply = no
	proxy_tunneled_request_as_eap = yes
	virtual_server = "inner-tunnel"
   }
 Module: Linked to sub-module rlm_eap_mschapv2
 Module: Instantiating eap-mschapv2
   mschapv2 {
	with_ntdomain_hack = no
   }
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_realm
 Module: Instantiating suffix
  realm suffix {
	format = "suffix"
	delimiter = "@"
	ignore_default = no
	ignore_null = no
  }
 Module: Linked to module rlm_files
 Module: Instantiating files
  files {
	usersfile = "/etc/opt/freeradius/users"
	acctusersfile = "/etc/opt/freeradius/acct_users"
	preproxy_usersfile = "/etc/opt/freeradius/preproxy_users"
	compat = "no"
  }
 Module: Checking session {...} for more modules to load
 Module: Linked to module rlm_radutmp
 Module: Instantiating radutmp
  radutmp {
	filename = "/var/opt/freeradius/radutmp"
	username = "%{User-Name}"
	case_sensitive = yes
	check_with_nas = yes
	perm = 384
	callerid = yes
  }
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 Module: Linked to module rlm_attr_filter
 Module: Instantiating attr_filter.access_reject
  attr_filter attr_filter.access_reject {
	attrsfile = "/etc/opt/freeradius/attrs.access_reject"
	key = "%{User-Name}"
  }
 }
}
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_krb5
 Module: Instantiating krb5
  krb5 {
	keytab = "/etc/opt/heimdal/krb5.keytab"
	service_principal = "radius/hidden4.example.com at RICE.EDU"
  }
rlm_krb5: krb5_init ok
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_preprocess
 Module: Instantiating preprocess
  preprocess {
	huntgroups = "/etc/opt/freeradius/huntgroups"
	hints = "/etc/opt/freeradius/hints"
	with_ascend_hack = no
	ascend_channels_per_line = 23
	with_ntdomain_hack = no
	with_specialix_jetstream_hack = no
	with_cisco_vsa_hack = no
	with_alvarion_vsa_hack = no
  }
 Module: Loading virtual module redundant_ldap
 Module: Linked to module rlm_ldap
 Module: Instantiating ldap1
  ldap ldap1 {
	server = "hidden1.example.com"
	port = 389
	password = "CMRh<k=5"
	identity = "cn=radius,ou=Service Accounts,dc=rice,dc=edu"
	net_timeout = 1
	timeout = 4
	timelimit = 3
	tls_mode = no
	start_tls = no
	tls_require_cert = "allow"
   tls {
	start_tls = no
	require_cert = "allow"
   }
	basedn = "ou=People,dc=rice,dc=edu"
	filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
	base_filter = "(objectclass=radiusprofile)"
	auto_header = no
	access_attr = "riceClass"
	access_attr_used_for_allow = yes
	groupname_attribute = "cn"
	groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
	dictionary_mapping = "/etc/opt/freeradius/ldap.attrmap"
	ldap_debug = 0
	ldap_connections_number = 10
	compare_check_items = no
	do_xlat = yes
	set_auth_type = yes
  }
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Creating new attribute ldap1-Ldap-Group
rlm_ldap: Registering ldap_groupcmp for ldap1-Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap1
rlm_ldap: Over-riding set_auth_type, as there is no module ldap1 listed in the "authenticate" section.
rlm_ldap: reading ldap<->radius mappings from file /etc/opt/freeradius/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
conns: 0x818f278
 Module: Instantiating ldap2
  ldap ldap2 {
	server = "hidden2.example.com"
	port = 389
	password = "CMRh<k=5"
	identity = "cn=radius,ou=Service Accounts,dc=rice,dc=edu"
	net_timeout = 1
	timeout = 4
	timelimit = 3
	tls_mode = no
	start_tls = no
	tls_require_cert = "allow"
   tls {
	start_tls = no
	require_cert = "allow"
   }
	basedn = "ou=People,dc=rice,dc=edu"
	filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
	base_filter = "(objectclass=radiusprofile)"
	auto_header = no
	access_attr = "riceClass"
	access_attr_used_for_allow = yes
	groupname_attribute = "cn"
	groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
	dictionary_mapping = "/etc/opt/freeradius/ldap.attrmap"
	ldap_debug = 0
	ldap_connections_number = 10
	compare_check_items = no
	do_xlat = yes
	set_auth_type = yes
  }
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Creating new attribute ldap2-Ldap-Group
rlm_ldap: Registering ldap_groupcmp for ldap2-Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap2
rlm_ldap: Over-riding set_auth_type, as there is no module ldap2 listed in the "authenticate" section.
rlm_ldap: reading ldap<->radius mappings from file /etc/opt/freeradius/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
conns: 0x81905a8
 Module: Instantiating ldap3
  ldap ldap3 {
	server = "hidden3.example.com"
	port = 389
	password = "CMRh<k=5"
	identity = "cn=radius,ou=Service Accounts,dc=rice,dc=edu"
	net_timeout = 1
	timeout = 4
	timelimit = 3
	tls_mode = no
	start_tls = no
	tls_require_cert = "allow"
   tls {
	start_tls = no
	require_cert = "allow"
   }
	basedn = "ou=People,dc=rice,dc=edu"
	filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
	base_filter = "(objectclass=radiusprofile)"
	auto_header = no
	access_attr = "riceClass"
	access_attr_used_for_allow = yes
	groupname_attribute = "cn"
	groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
	dictionary_mapping = "/etc/opt/freeradius/ldap.attrmap"
	ldap_debug = 0
	ldap_connections_number = 10
	compare_check_items = no
	do_xlat = yes
	set_auth_type = yes
  }
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Creating new attribute ldap3-Ldap-Group
rlm_ldap: Registering ldap_groupcmp for ldap3-Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap3
rlm_ldap: Over-riding set_auth_type, as there is no module ldap3 listed in the "authenticate" section.
rlm_ldap: reading ldap<->radius mappings from file /etc/opt/freeradius/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
conns: 0x8191900
 Module: Linked to module rlm_perl
 Module: Instantiating perl
  perl {
	module = "/etc/opt/freeradius/chksum.pm"
	func_authorize = "authorize"
	func_authenticate = "authenticate"
	func_accounting = "accounting"
	func_preacct = "preacct"
	func_checksimul = "checksimul"
	func_detach = "detach"
	func_xlat = "xlat"
	func_pre_proxy = "pre_proxy"
	func_post_proxy = "post_proxy"
	func_post_auth = "post_auth"
  }
  perl {
	max_clones = 32
	start_clones = 32
	min_spare_clones = 0
	max_spare_clones = 32
	cleanup_delay = 5
	max_request_per_clone = 0
  }
 Module: Checking preacct {...} for more modules to load
 Module: Linked to module rlm_acct_unique
 Module: Instantiating acct_unique
  acct_unique {
	key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
  }
 Module: Checking accounting {...} for more modules to load
 Module: Linked to module rlm_detail
 Module: Instantiating detail
  detail {
	detailfile = "/var/opt/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
	header = "%t"
	detailperm = 416
	dirperm = 493
	locking = no
	log_packet_header = no
  }
 Module: Instantiating attr_filter.accounting_response
  attr_filter attr_filter.accounting_response {
	attrsfile = "/etc/opt/freeradius/attrs.accounting_response"
	key = "%{User-Name}"
  }
 Module: Checking session {...} for more modules to load
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 }
radiusd: #### Opening IP addresses and Ports ####
listen {
	type = "auth"
	ipaddr = *
	port = 0
}
listen {
	type = "acct"
	ipaddr = *
	port = 0
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 168.7.56.224 port 43814, id=0, length=120
	User-Name = "pengle"
	NAS-IP-Address = 127.0.0.1
	Calling-Station-Id = "02-00-00-00-00-01"
	Framed-MTU = 1400
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 11Mbps 802.11b"
	EAP-Message = 0x0200000b0170656e676c65
	Message-Authenticator = 0xf06ab6e90c34fcc07bca40836984a25e
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "pengle", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 0 length 11
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[unix] returns notfound
[files] 	expand: %{Client-IP-Address} -> 168.7.56.224
[files] users: Matched entry DEFAULT at line 256
[files] WARNING: Unknown module "redundant_ldap" in string expansion "%{redundant_ldap:ldap:///dc=rice,dc=edu?riceClass?sub?uid=%u}"
[files] 	expand: OU=%{redundant_ldap:ldap:///dc=rice,dc=edu?riceClass?sub?uid=%u} -> OU=
++[files] returns ok
++- entering redundant-load-balance group redundant_ldap {...}
[ldap3] performing user authorization for pengle
[ldap3] 	expand: %{Stripped-User-Name} -> 
[ldap3] 	expand: %{User-Name} -> pengle
[ldap3] 	expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=pengle)
[ldap3] 	expand: ou=People,dc=rice,dc=edu -> ou=People,dc=rice,dc=edu
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to hidden3.example.com:389, authentication 0
rlm_ldap: bind as cn=radius,ou=Service Accounts,dc=rice,dc=edu/CMRh<k=5 to hidden3.example.com:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in ou=People,dc=rice,dc=edu, with filter (uid=pengle)
[ldap3] checking if remote access for pengle is allowed by riceClass
[ldap3] looking for check items in directory...
[ldap3] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP.  Are you sure that the user is configured correctly?
[ldap3] user pengle authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
+++[ldap3] returns ok
++- redundant-load-balance group redundant_ldap returns ok
++? if (reply:Class =~ /^[a-z]* student$/)
? Evaluating (reply:Class =~ /^[a-z]* student$/) -> FALSE
++? if (reply:Class =~ /^[a-z]* student$/) -> FALSE
++? elsif (reply:Class == "faculty")
? Evaluating (reply:Class == "faculty") -> FALSE
++? elsif (reply:Class == "faculty") -> FALSE
++? if (Connect-Info =~ /^[a-z]* student$/)
? Evaluating (Connect-Info =~ /^[a-z]* student$/) -> FALSE
++? if (Connect-Info =~ /^[a-z]* student$/) -> FALSE
++? elsif (Connect-Info  == "faculty")
? Evaluating (Connect-Info  == "faculty") -> FALSE
++? elsif (Connect-Info  == "faculty") -> FALSE
perl_pool: item 0x81b0bf0 asigned new request. Handled so far: 1
found interpetator at address 0x81b0bf0
rlm_perl: Added pair NAS-Port-Type = Wireless-802.11
rlm_perl: Added pair Calling-Station-Id = 02-00-00-00-00-01
rlm_perl: Added pair Message-Authenticator = 0xf06ab6e90c34fcc07bca40836984a25e
rlm_perl: Added pair User-Name = pengle
rlm_perl: Added pair EAP-Message = 0x0200000b0170656e676c65
rlm_perl: Added pair Connect-Info = CONNECT 11Mbps 802.11b
rlm_perl: Added pair EAP-Type = Identity
rlm_perl: Added pair NAS-IP-Address = 127.0.0.1
rlm_perl: Added pair Framed-MTU = 1400
rlm_perl: Added pair Class = 0x4f553d
rlm_perl: Added pair Ldap-UserDn = uid=pengle, ou=People, dc=rice, dc=edu
rlm_perl: Added pair Auth-Type = EAP
perl_pool total/active/spare [32/0/32]
Unreserve perl at address 0x81b0bf0
++[perl] returns updated
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user.  Authentication may fail because of this.
..................


More information about the Freeradius-Users mailing list