25 #ifndef _GVM_LDAPUTILS_H
26 #define _GVM_LDAPUTILS_H
51 void *,
const gchar *);
58 #ifdef ENABLE_LDAP_AUTH
66 ldap_auth_bind (
const gchar *,
const gchar *,
const gchar *, gboolean,
70 ldap_auth_dn_is_good (
const gchar *);
int ldap_enable_debug()
Dummy function for enabling LDAP debugging for manager.
Definition: ldaputils.c:503
ldap_auth_info_t ldap_auth_info_new(const gchar *, const gchar *, gboolean)
Dummy function for manager.
Definition: ldaputils.c:523
struct ldap_auth_info * ldap_auth_info_t
Authentication schema and address type.
Definition: ldaputils.h:31
int ldap_connect_authenticate(const gchar *, const gchar *, void *, const gchar *)
Dummy function for Manager.
Definition: ldaputils.c:543
void ldap_auth_info_free(ldap_auth_info_t)
Dummy function for Manager.
Definition: ldaputils.c:560
Schema (dn) and info to use for a basic ldap authentication.
Definition: ldaputils.h:40
gboolean allow_plaintext
!Whether or not StartTLS is required.
Definition: ldaputils.h:43
gchar * ldap_host
Address of the ldap server, might include port.
Definition: ldaputils.h:41
gchar * auth_dn
DN to authenticate with.
Definition: ldaputils.h:42