MySQL 8.0.39
Source Code Documentation
|
#include "my_config.h"
#include <mysql/service_mysql_alloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "auth_ldap_sasl_client.h"
#include <lber.h>
#include <sasl/sasl.h>
#include <mysql.h>
#include <mysql/client_plugin.h>
#include <sql_common.h>
Functions | |
static int | sasl_authenticate (MYSQL_PLUGIN_VIO *vio, MYSQL *mysql) |
static int | initialize_plugin (char *, size_t, int, va_list) |
mysql_declare_client_plugin (AUTHENTICATION) "authentication_ldap_sasl_client" | |
Variables | |
MYSQL_CLIENT_PLUGIN_AUTHOR_ORACLE | |
LDAP SASL Client Authentication | Plugin |
LDAP SASL Client Authentication | PROPRIETARY |
LDAP SASL Client Authentication | nullptr |
LDAP SASL Client Authentication | initialize_plugin |
LDAP SASL Client Authentication | deinitialize_plugin |
LDAP SASL Client Authentication | sasl_authenticate |
LDAP SASL Client Authentication nullptr | mysql_end_client_plugin |
|
static |
Initialize client-side of SASL.
mysql_declare_client_plugin | ( | AUTHENTICATION | ) |
|
static |
Running SASL authentication step till authentication process is concluded MySQL server plug-in working as proxy for SASL / LDAP server.
Kerberos authentication is concluded by the LDAP/SASL server, From client side, authentication has succeeded and we need to send data to server side to conclude the authentication. Other SASL authentication are conculded in the client side.
LDAP SASL Client Authentication deinitialize_plugin |
LDAP SASL Client Authentication initialize_plugin |
MYSQL_CLIENT_PLUGIN_AUTHOR_ORACLE |
LDAP SASL Client Authentication nullptr mysql_end_client_plugin |
LDAP SASL Client Authentication nullptr |
LDAP SASL Client Authentication Plugin |
LDAP SASL Client Authentication PROPRIETARY |
LDAP SASL Client Authentication sasl_authenticate |