Use the server settings that are compatible with the client settings.
Client
Server
use_security_services “off”: no security services
use_security_services “off”, or
use_security_services “on” and security feature “not required”
use_security_services “on” and security feature “not required,” or
use_security_services “off”
use_security_services “on” and security feature “required”