ldap-server: remove warning for the ret not being used