Skip to contentSkip to conversation

starttls in autofs-ldap-auto-master.c

PATCH New Anthony M. Martinez 1 participant 1 message Mar 23, 2006 Kernel automounter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 starttls in autofs-ldap-auto-master.c

I'm using Timo Felbinger's excellent ldap-URI support patch to autofs. However, it doesn't patch autofs-ldap-auto-master to support either starttls or URIs. This program is used in Debian's (and probably others) autofs init script if nsswitch contains automount: ldap.

Since our LDAP server is configured to require confidentiality, I made the program default to using it.

Attached is a patch to require the server to support tls, unless -s is enabled, in which case it doesn't even try. The patch is against the Debian stable autofs-4.1.3+4.1.4beta2 source archive. I just dropped it in debian/patches/00_local_starttls and recompiled.

Hope this is useful to someone!

Pi

Signature · 2 lines
How'd you get this number?
-- A Qwest Central Office Technician