OpenVAS Libraries  6.0+beta5
Data Structures | Typedefs | Functions
ads_auth.h File Reference
#include "ldap_auth.h"
#include <glib.h>

Go to the source code of this file.

Data Structures

struct  ads_auth_info
 Info to use for an authentication against an ADS/LDAP. More...
 

Typedefs

typedef struct ads_auth_infoads_auth_info_t
 Authentication info for an ADS. More...
 

Functions

ads_auth_info_t ads_auth_info_from_key_file (GKeyFile *key_file, const gchar *group)
 
void ads_auth_info_free (ads_auth_info_t info)
 
int ads_authenticate (const gchar *username, const gchar *password, void *info)
 
GSList * ads_auth_bind_query (const gchar *host, const char *domain, const char *dn, const gchar *username, const gchar *password, const gchar *filter, const gchar *attribute)
 

Typedef Documentation

typedef struct ads_auth_info* ads_auth_info_t

Authentication info for an ADS.

Function Documentation

GSList* ads_auth_bind_query ( const gchar *  host,
const char *  domain,
const char *  dn,
const gchar *  username,
const gchar *  password,
const gchar *  filter,
const gchar *  attribute 
)
void ads_auth_info_free ( ads_auth_info_t  info)
ads_auth_info_t ads_auth_info_from_key_file ( GKeyFile *  key_file,
const gchar *  group 
)
int ads_authenticate ( const gchar *  username,
const gchar *  password,
void *  info 
)