The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
rfc4533.h
Go to the documentation of this file.
1 # pragma once
2 /*
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16  */
17 
18 /*
19  * $Id: 10bbecb8e55fa60b5808df8c2df03ffd51013bdb $
20  *
21  * @file rfc4533.h
22  * @brief Callback routines for directories implementing RFC 4533
23  *
24  * @copyright 2022 Network RADIUS SAS (legal@networkradius.com)
25  */
26 #include <freeradius-devel/ldap/base.h>
27 #include "proto_ldap_sync_ldap.h"
28 
29 int rfc4533_sync_init(fr_ldap_connection_t *conn, size_t sync_no,
30  proto_ldap_sync_t const *inst, uint8_t const *cookie);
31 
32 int rfc4533_sync_search_entry(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls);
33 
34 int rfc4533_sync_intermediate(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls);
35 
36 int rfc4533_sync_search_result(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls);
37 
38 int rfc4533_sync_refresh_required(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls);
log_entry msg
Definition: acutest.h:794
Tracks the state of a libldap connection handle.
Definition: base.h:332
unsigned char uint8_t
Definition: merged_model.c:30
An instance of a proto_ldap_sync listen section.
State of an individual sync.
int rfc4533_sync_refresh_required(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls)
Handle result code of e-syncRefreshRequired.
Definition: rfc4533.c:717
int rfc4533_sync_search_entry(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls)
Handle a SearchResultEntry or SearchResultReference response from an RFC 4533 server.
Definition: rfc4533.c:260
int rfc4533_sync_intermediate(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls)
int rfc4533_sync_init(fr_ldap_connection_t *conn, size_t sync_no, proto_ldap_sync_t const *inst, uint8_t const *cookie)
Allocate and initialise RFC 4533 sync queries.
Definition: rfc4533.c:74
int rfc4533_sync_search_result(sync_state_t *sync, LDAPMessage *msg, LDAPControl **ctrls)
eap_aka_sim_process_conf_t * inst