Radius server checking with nagios



I cannot get the check_radius_adv or check_radius checks to work.
When checking the radius server with radtest it works

radtest user password radiusserver:1645 10 secret
Sending Access-Request of id 42 to x.x.x.x port 1645
User-Name = "user"
User-Password = "password"
NAS-IP-Address =
NAS-Port = 10
rad_recv: Access-Accept packet from host x.x.x.x:1645, id=42, length=56
Reply-Message = "PASSCODE Accepted\r\n"
User-Name = “user”

./check_radius_adv -v -u user -p password -s seced -r radiusserver -c 1645 -t 10

Using the following information

username: user
password: pasword
shared secret: secret
server: radiuserver
path of attributes file :

Reply-Msg t=18 l=17: Access Denied

CRITICAL: Access REJECT. (code = 3) | rtt=2.0231 rttms=2023.0829

./check_radius -H radiusserver -P 1645 -u user -p password -F /etc/radiusclient/radiusclient.conf
Auth Failed

./check_radius -h
check_radius (nagios-plugins 1.4.6) 1.25

OS is
SUSE Linux Enterprise Server 10 (x86_64)
Radiusclient is 0.3.2