Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10481

Summary: Autofs LDAP fixes
Product: Gentoo Linux Reporter: Gareth John <gdjohn>
Component: New packagesAssignee: Brad Cowan (RETIRED) <bcowan>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to add the LIBLDAP variable to automount LDLIBS
Patch to fix configure.in to do ldap detection correctly
Patch to autofs ebuild to implement previous 2 patches
new autofs initscript

Description Gareth John 2002-11-09 10:58:35 UTC
Three patches:

ldap1.diff
This is a patch against the file autofs-3.1.7/daemon/Makefile and adds the
correct LDAP libraries that the automount daemon must be linked against in order
to use LDAP. This can go in the /usr/portage/net-fs/autofs/files directory.

ldap2.diff
This is a patch against autofs-3.1.7/configure.in and fixes the LDAP detection
stuff, and adds -lresolv to the LDAP requred libs. This can go in the
/usr/portage/net-fs/autofs/files directory.

ldap3.diff
This is a patch against the autofs-3.1.7-r4 ebuild. It applies the above
patches, and additionally calls autoconf to apply the changes in configure.in
(ldap2.diff above). It also removes the fixes that set the LIBLDAP and HAVE_LDAP
evironment variables, as these are now set correctly by configure[.in].
Comment 1 Gareth John 2002-11-09 10:59:28 UTC
Created attachment 5504 [details, diff]
Patch to add the LIBLDAP variable to automount LDLIBS
Comment 2 Gareth John 2002-11-09 10:59:55 UTC
Created attachment 5505 [details, diff]
Patch to fix configure.in to do ldap detection correctly
Comment 3 Gareth John 2002-11-09 11:00:21 UTC
Created attachment 5506 [details, diff]
Patch to autofs ebuild to implement previous 2 patches
Comment 4 Gareth John 2002-11-09 11:26:41 UTC
Created attachment 5509 [details]
new autofs initscript

This is a combination of the Gentoo and RedHat autofs initscripts. Basically,
it makes autofs aware of the automount setting in /etc/nsswitch.conf, and adds
LDAP automount map capability to autofs.
Comment 5 Brad Cowan (RETIRED) gentoo-dev 2002-11-17 20:02:38 UTC
Thanks added some fixes hopefully this works...if not submit another bug please :)