public function do_ldap_sync($NAME, $BOOLEAN)
    {
        $SEARCH = ['name' => $NAME, 'sync' => $BOOLEAN];
        // Search the CUCM for all phones
        $BASETIME = $this->microtimeTicks();
        $RETURN = $this->SOAPCLIENT->doLdapSync($SEARCH);
        $DIFFTIME = $this->microtimeTicks() - $BASETIME;
        // log our soap call
        $this->log_soap_call('doLdapSync', $DIFFTIME, $SEARCH, $RETURN);

        if (!is_object($RETURN)) {
            throw new \Exception('SOAP reply is not an object');
        } else {
            return $RETURN;
        }
    }