<?xml version="1.0" ?> <!-- This files contains a single entry with multiple attributes tied to it. The attributes are: usetls - Determines whether an encrypted connection to the ldap server should be attempted. Legal values for the entry are: "yes" "no" tlsrequired - This flag tells whether the ldap connection must be encrypted. If set to "yes", the automounter will fail to start if an encrypted connection cannot be established. Legal values for this option include: "yes" "no" authrequired - This option tells whether an authenticated connection to the ldap server is required in order to perform ldap queries. If the flag is set to yes, only sasl authenticated connections will be allowed. If it is set to no then authentication is not needed for ldap server connections. If it is set to autodetect then the ldap server will be queried to establish a suitable sasl authentication mechanism. If no suitable mechanism can be found, connections to the ldap server are made without authentication. Finally, if it is set to simple, then simple authentication will be used instead of SASL. Legal values for this option include: "yes" "no" "autodetect" "simple" authtype - This attribute can be used to specify a preferred authentication mechanism. In normal operations, the automounter will attempt to authenticate to the ldap server using the list of supportedSASLmechanisms obtained from the directory server. Explicitly setting the authtype will bypass this selection and only try the mechanism specified. The EXTERNAL mechanism may be used to authenticate using a client certificate and requires that authrequired set to "yes" if using SSL or usetls, tlsrequired and authrequired all set to "yes" if using TLS, in addition to authtype being set EXTERNAL. Legal values for this attribute include: "GSSAPI" "LOGIN" "PLAIN" "ANONYMOUS" "DIGEST-MD5" "EXTERNAL" If using authtype EXTERNAL two additional configuration entries are required: external_cert="<client certificate path>" This specifies the path of the file containing the client certificate. external_key="<client certificate key path>" This specifies the path of the file containing the client certificate key. These two configuration entries are mandatory when using the EXTERNAL method as the HOME environment variable cannot be assumed to be set or, if it is, to be set to the location we expect. user - This attribute holds the authentication identity used by authentication mechanisms that require it. Legal values for this attribute include any printable characters that can be used by the selected authentication mechanism. secret - This attribute holds the secret used by authentication mechanisms that require it. Legal values for this attribute include any printable characters that can be used by the selected authentication mechanism. encoded_secret - This attribute holds the base64 encoded secret used by authentication mechanisms that require it. If this entry is present as well as the secret entry this value will take precedence. clientprinc - When using GSSAPI authentication, this attribute is consulted to determine the principal name to use when authenticating to the directory server. By default, this will be set to "autofsclient/<fqdn>@<REALM>. credentialcache - When using GSSAPI authentication, this attribute can be used to specify an externally configured credential cache that is used during authentication. By default, autofs will setup a memory based credential cache. --> <autofs_ldap_sasl_conf usetls="no" tlsrequired="no" authrequired="no" />