diff --git a/functions/classes/class.User.php b/functions/classes/class.User.php
index 92924e1730d98e05d2ab612fd02da23bbcdbf108..532b92bcac9176ce703122aec6158eaf7757be0d 100644
--- a/functions/classes/class.User.php
+++ b/functions/classes/class.User.php
@@ -1256,6 +1256,9 @@ class User extends Common_functions {
         // set params
         $client->setServer($params->hostname)
                ->setSecret($params->secret)
+               ->setRadiusSuffix($params->suffix)
+               ->setAuthenticationPort($params->port)
+               ->setTimeout($params->timeout)
                ->setNasIpAddress(gethostbyname(gethostname()))
                ->setAttribute(32, 'login');