change following entries in nssswitch.conf:
passwd:files -> passwd:files winbind
group:files -> group:files winbind
join the radius server to the domain (account
wireless-acount needs to be created and should have enough rights on AD)
#net ads join -S 192.168.100.3 -U wireless-account
Configure freeradius:
Add user to /etc/raddb/users file(if you
use it for 802.1X you prob. also want to add vlan assignment entries):
[root@radsv raddb]# cat users|grep -i user123
user123
[root@radsv raddb]#
Add realm(s) to /etc/raddb/proxy.conf
file (add here all your aliases of your domain):
realm DIVISION.DOMAIN.NET {
type
= radius
authhost
= LOCAL
accthost
= LOCAL
}
realm DIVISION {
type
= radius
authhost
= LOCAL
accthost
= LOCAL
}
Configure /etc/raddb/radiusd.conf (change/activate
mschap part):
mschap {
authtype = MS-CHAP
use_mppe = yes
require_strong = yes
with_ntdomain_hack = yes
require_encryption = yes
ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{Stripped-User-Name:-%{User-Name:-None}}
--challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
}
Configure eap.conf:
Uncomment tls keys(for production you
should create your own!!).
tls {
private_key_password = whatever
private_key_file = ${raddbdir}/certs/cert-srv.pem
certificate_file = ${raddbdir}/certs/cert-srv.pem
CA_file = ${raddbdir}/certs/demoCA/cacert.pem
dh_file = ${raddbdir}/certs/dh
random_file = ${raddbdir}/certs/random
fragment_size = 1024
include_length = yes
}
Stieven Struyf
M.I.S. Division - System Operations
Komatsu Europe International NV
Mechelsesteenweg 586
B-1800 Vilvoorde
Stieven.Struyf@komatsu.eu
Tel. +32 (0)2 2552551