(RADIATOR) Realms don't work

Kevin Azijn kevin_azijn at hotmail.com
Tue Mar 16 05:02:42 CST 2004


Hello,

I'm trying to use 2 realms, but it doesn't work and i don't know why.
I probably do something wrong, someone who can tell me what it is.
Under here you can find the file i try to use.


Kevin

Foreground
LogStdout
LogDir		/etc/radiator
DbDir		/etc/radiator

AuthPort 1812
AcctPort 1813

<Client DEFAULT>
	Secret	mysecret
	DupInterval 0
</Client>

# This will log at DEBUG level: very verbose
# User a lower trace level in production systems, typically use 3
Trace 		4

<Handler TunnelledByPEAP=1>
	RewriteUsername s/^([^@]+).*/$1/
	<AuthBy FILE>
		RewriteUsername s/^([^@]+).*/$1/
		#Filename /etc/radiator/users
		AddToReply User-Name=%u
		EAPType MSCHAP-V2
	</AuthBy>
</Handler>

<Handler Realm = student.pt>
	RewriteUsername s/^([^@]+).*/$1/
	<AuthBy FILE>
		Filename /etc/radiator/usersStudent
		EAPType PEAP, TTLS, TLS
		EAPTLS_CAFile /etc/radiator/certificates/demoCA/cacert.pem
		EAPTLS_CertificateFile /etc/radiator/certificates/cert-srv.pem
		EAPTLS_CertificateType PEM
		EAPTLS_PrivateKeyFile /etc/radiator/certificates/cert-srv.pem
		EAPTLS_PrivateKeyPassword whatever
		EAPTLS_MaxFragmentSize 1010
		EAPTLS_DHFile /etc/radiator/certificates/dh
		AutoMPPEKeys
		SSLeayTrace 4
		EAPTLS_PEAPVersion 0
		AddToReply User-Name=%u
	</AuthBy>
</Handler>

# Pedidos "internos”, vindos de um túnel PEAP (2)
#<Handler TunnelledByPEAP=1>
<Handler Realm = teacher.pt>
	RewriteUsername s/^([^@]+).*/$1/
	<AuthBy FILE>
		Filename /etc/radiator/users
		EAPType PEAP, TTLS, TLS
		EAPTLS_CAFile /etc/radiator/certificates/demoCA/cacert.pem
		EAPTLS_CertificateFile /etc/radiator/certificates/cert-srv.pem
		EAPTLS_CertificateType PEM
		EAPTLS_PrivateKeyFile /etc/radiator/certificates/cert-srv.pem
		EAPTLS_PrivateKeyPassword whatever
		EAPTLS_MaxFragmentSize 1010
		EAPTLS_DHFile /etc/radiator/certificates/dh
		AutoMPPEKeys
		SSLeayTrace 4
		EAPTLS_PEAPVersion 0
		AddToReply User-Name=%u
	</AuthBy>
</Handler>

_________________________________________________________________
Online gamen ? http://www.msn.be/games/online/

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list