To reproduce an LDAP server (server.example.com) is required with a test user setup. autofs maps in LDAP are not needed, as we only try to bind our workstation to the directory service.
Test user dn:
<email address hidden>,ou=Users,dc=example,dc=com
Settings in /etc/autofs_ldap_auth.conf:
<?xml version="1.0" ?>
<!--
This files contains a single entry with multiple attributes tied to it.
See autofs_ldap_auth.conf(5) for more information.
-->
To reproduce an LDAP server (server. example. com) is required with a test user setup. autofs maps in LDAP are not needed, as we only try to bind our workstation to the directory service.
Test user dn: ,ou=Users, dc=example, dc=com
<email address hidden>
Settings in /etc/autofs_ ldap_auth. conf: ldap_auth. conf(5) for more information.
<?xml version="1.0" ?>
<!--
This files contains a single entry with multiple attributes tied to it.
See autofs_
-->
<autofs_ ldap_sasl_ conf
usetls= "yes"
tlsrequired= "no"
authrequired= "yes"
authtype= "SCRAM- SHA-1"
secret= "my_secret"
<email address hidden>"
/>
Failed SASL bind log: 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 interactive_ bind failed with error 49 interactive_ bind: SASL(-13): user not found: no secret in database server. example. com
$ automount -f -v -d
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: (null), secret: unspecified, 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: lookup(ldap): ldap_sasl_
do_bind: ldap_sasl_
lookup(ldap): couldn't connect to server ldap://