
authorize {
	preprocess
	chap
	mschap
	digest
	suffix
#	ntdomain
	eap {
		ok = return
	}
	files
	if ("%{request:User-Name}" =~ /^(.*)@(.*)/) {
		update request {
			Stripped-User-Name := "%{1}"
				Realm := "%{2}"
		}
	}
	ldap
	expiration
	logintime
	pap
}

authenticate {
	Auth-Type PAP {
		pap
	}
	Auth-Type CHAP {
		chap
	}
	Auth-Type MS-CHAP {
		mschap
	}
	digest
#	unix
	Auth-Type LDAP {
		ldap
	}
	eap
}

preacct {
	preprocess
	acct_unique
#	IPASS
	suffix
#	ntdomain
	files
}

#
#  Accounting.  Log the accounting data.
#
accounting {
	detail
	unix
	radutmp
	exec
	attr_filter.accounting_response
}

session {
	radutmp
}

post-auth {
#	ldap
	exec
	Post-Auth-Type REJECT {
		attr_filter.access_reject
	}
}

pre-proxy {
}

post-proxy {
	eap
}

