/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <talloc.h>
#include <tevent.h>
#include "providers/ldap/sdap_async.h"
#include "providers/ldap/ldap_common.h"
struct sdap_online_check_state {
};
struct sdap_id_ctx *id_ctx)
{
return NULL;
}
CON_TLS_DFL, false);
goto immediately;
}
return req;
} else {
}
return req;
}
{
bool can_retry;
bool reinit = false;
if (can_retry == false) {
ret = ERR_OFFLINE;
}
goto done;
} else {
srv_opts->max_user_value = 0;
srv_opts->max_group_value = 0;
srv_opts->max_service_value = 0;
srv_opts->max_sudo_value = 0;
&& srv_opts->supports_usn
reinit = true;
}
}
if (reinit) {
"Cleaning cache.\n");
"clean up.\n");
/* not fatal */
goto done;
}
return;
}
done:
return;
}
}
{
/* not fatal */
} else {
}
}
{
return EOK;
}
struct sdap_online_check_handler_state {
};
struct tevent_req *
struct sdap_id_ctx *id_ctx,
void *data,
struct dp_req_params *params)
{
struct sdap_online_check_handler_state);
return NULL;
}
goto immediately;
}
return req;
/* TODO For backward compatibility we always return EOK to DP now. */
return req;
}
{
/* TODO For backward compatibility we always return EOK to DP now. */
}
struct tevent_req *req,
struct dp_reply_std *data)
{
return EOK;
}