ldap_query_user for MariaDB Xpand

Overview

In 23.09:

DN of the LDAP user to bind as when performing search operations on an LDAP server. If this or ldap_query_password is empty, search operations are performed anonymously.

In 6.1, 6.0, 5.3:

Not present

See also: System Variables for MariaDB Xpand 23.09, in 6.1, in 6.0, and in 5.3

USAGE

The ldap_query_user system variable can be set by executing SET GLOBAL:

SET GLOBAL ldap_query_user = '<LDAP_user_DN>';

Using SET GLOBAL to set the value of a global variable in Xpand causes a change that will persist on restart.

DETAILS

The ldap_query_user system variable sets a DN of the LDAP user to bind as when performing search operations on an LDAP server. If this or ldap_query_password is empty, search operations are performed anonymously.

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

If ldap_query_password is also set, this LDAP user DN will be used when making queries to the LDAP server:

SET GLOBAL ldap_query_user = 'cn=readonly,ou=users,dc=example,dc=com';

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Added in MariaDB Xpand 23.09.1.

6.1

  • Not present.

6.0

  • Not present.

5.3

  • Not present.

EXTERNAL REFERENCES