Commad: ldapmodify -Y external -H ldapi:/// -f enable-ldap-log.ldif
Returns:
SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Other (e.g., implementation specific) error (80)
# cat enable-ldap-log.ldif
dn: cn=config
changeType: modify
add: olcLogLevel
olcLogLevel: stats
# ldapmodify -Y external -H ldapi:/// -f enable-ldap-log.ldif -d1
ldap_url_parse_ext(ldapi:///)
ldap_create
ldap_url_parse_ext(ldapi:///??base)
ldap_sasl_interactive_bind_s: user selected: external
ldap_int_sasl_bind: external
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_path
ldap_new_socket: 4
ldap_connect_to_path: Trying /var/run/ldapi
ldap_connect_timeout: fd: 4 tm: -1 async: 0
ldap_ndelay_on: 4
ldap_ndelay_off: 4
ldap_int_sasl_open: host=mgo-lab-openldap
SASL/EXTERNAL authentication started
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ber_scanf fmt ({it) ber:
ber_scanf fmt ({i) ber:
ber_flush2: 26 bytes to sd 4
ldap_result ld 0x1306570 msgid 1
wait4msg ld 0x1306570 msgid 1 (infinite timeout)
wait4msg continue ld 0x1306570 msgid 1 all 1
** ld 0x1306570 Connections:
* host: (null) port: 0 (default)
refcnt: 2 status: Connected
last used: Thu May 7 02:59:55 2020
** ld 0x1306570 Outstanding Requests:
* msgid 1, origid 1, status InProgress
outstanding referrals 0, parent count 0
ld 0x1306570 request count 1 (abandoned 0)
** ld 0x1306570 Response Queue:
Empty
ld 0x1306570 response count 0
ldap_chkResponseList ld 0x1306570 msgid 1 all 1
ldap_chkResponseList returns ld 0x1306570 NULL
ldap_int_select
read1msg: ld 0x1306570 msgid 1 all 1
ber_get_next
ber_get_next: tag 0x30 len 40 contents:
read1msg: ld 0x1306570 msgid 1 message type bind
ber_scanf fmt ({eAA) ber:
read1msg: ld 0x1306570 0 new referrals
read1msg: mark request completed, ld 0x1306570 msgid 1
request done: ld 0x1306570 msgid 1
res_errno: 80, res_error: <SASL(0): successful result: >, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection 0 1
ldap_free_connection: refcnt 1
ldap_parse_sasl_bind_result
ber_scanf fmt ({eAA) ber:
ldap_parse_result
ber_scanf fmt ({iAA) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
ldap_err2string
ldap_sasl_interactive_bind_s: Other (e.g., implementation specific) error (80)