For sake of completeness the log about with above patch:
$ automount -f -v -d Starting automounter version 5.1.8, master map auto.master using kernel protocol version 5.05 lookup_nss_read_master: reading master ldap auto.master parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "auto.master". parse_server_string: lookup(ldap): mapname auto.master parse_ldap_config: lookup(ldap): ldap authentication configured with the following options: parse_ldap_config: lookup(ldap): use_tls: 1, tls_required: 0, auth_required: 2, sasl_mech: SCRAM-SHA-1 parse_ldap_config: lookup(ldap): user: <email address hidden>, secret: specified, client principal: (null) credential cache: (null) do_init: parse(sun): init gathered global options: (null) find_server: trying server uri ldap://server.example.com do_bind: lookup(ldap): auth_required: 2, sasl_mech SCRAM-SHA-1 do_bind: Attempting sasl bind with mechanism SCRAM-SHA-1 do_bind: SASL username: <email address hidden> do_bind: SASL authcid: root do_bind: sasl bind with mechanism SCRAM-SHA-1 succeeded
For sake of completeness the log about with above patch:
$ automount -f -v -d nss_read_ master: reading master ldap auto.master string: lookup(ldap): Attempting to parse LDAP information from string "auto.master". string: lookup(ldap): mapname auto.master server. example. com
Starting automounter version 5.1.8, master map auto.master
using kernel protocol version 5.05
lookup_
parse_server_
parse_server_
parse_ldap_config: lookup(ldap): ldap authentication configured with the following options:
parse_ldap_config: lookup(ldap): use_tls: 1, tls_required: 0, auth_required: 2, sasl_mech: SCRAM-SHA-1
parse_ldap_config: lookup(ldap): user: <email address hidden>, secret: specified, client principal: (null) credential cache: (null)
do_init: parse(sun): init gathered global options: (null)
find_server: trying server uri ldap://
do_bind: lookup(ldap): auth_required: 2, sasl_mech SCRAM-SHA-1
do_bind: Attempting sasl bind with mechanism SCRAM-SHA-1
do_bind: SASL username: <email address hidden>
do_bind: SASL authcid: root
do_bind: sasl bind with mechanism SCRAM-SHA-1 succeeded