[CentOS] autofs problem on CentOS6

Fri Jul 15 13:26:29 UTC 2011
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Fri, 15 Jul 2011, Ross Walker wrote:

> Did you try the built-in round robin DNS, which is the domain name itself?
>
> This works for me.

Works fine as long as I don't enable TLS, at which point it fails.

Jul 15 14:19:37 centos6 automount[15860]: init_ldap_connection: lookup(ldap): TLS required but START_TLS failed: Connect error

It appears to just be a bug in autofs.  I've patched it with this:

http://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.0.5-check-each-dc-server.patch

and that fixes the problem with SRV records.  I couldn't find anything exactly
the same in bugzilla (although one thing against 6.0 that'd be fixed by this),
so I'll post a bug there.

jh