11#ifndef _GVM_UTIL_LDAPUTILS_H
12#define _GVM_UTIL_LDAPUTILS_H
38 void *,
const gchar *);
48#ifdef ENABLE_LDAP_AUTH
56ldap_auth_bind (
const gchar *,
const gchar *,
const gchar *, gboolean,
60ldap_auth_bind_2 (
const gchar *,
const gchar *,
const gchar *, gboolean,
61 const gchar *, gboolean);
64ldap_auth_dn_is_good (
const gchar *);
int ldap_enable_debug()
Dummy function for enabling LDAP debugging for manager.
int ldap_connect_authenticate(const gchar *username, const gchar *password, void *ldap_auth_info, const gchar *cacert)
Dummy function for Manager.
void ldap_auth_info_free(ldap_auth_info_t info)
Dummy function for Manager.
ldap_auth_info_t ldap_auth_info_new(const gchar *ldap_host, const gchar *auth_dn, gboolean allow_plaintext)
Dummy function for manager.
ldap_auth_info_t ldap_auth_info_new_2(const gchar *ldap_host, const gchar *auth_dn, gboolean allow_plaintext, gboolean ldaps_only)
Dummy function for manager.
struct ldap_auth_info * ldap_auth_info_t
Authentication schema and address type.
Schema (dn) and info to use for a basic ldap authentication.
gboolean allow_plaintext
!Whether or not StartTLS or LDAPS is required.
gboolean ldaps_only
Whether to try LDAPS before StartTLS.
gchar * ldap_host
Address of the ldap server, might include port.
gchar * auth_dn
DN to authenticate with.