Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10481 - Autofs LDAP fixes
Summary: Autofs LDAP fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-09 10:58 UTC by Gareth John
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add the LIBLDAP variable to automount LDLIBS (ldap1.diff,313 bytes, patch)
2002-11-09 10:59 UTC, Gareth John
Details | Diff
Patch to fix configure.in to do ldap detection correctly (ldap2.diff,785 bytes, patch)
2002-11-09 10:59 UTC, Gareth John
Details | Diff
Patch to autofs ebuild to implement previous 2 patches (ldap3.diff,855 bytes, patch)
2002-11-09 11:00 UTC, Gareth John
Details | Diff
new autofs initscript (autofs,4.92 KB, application/octet-stream)
2002-11-09 11:26 UTC, Gareth John
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :)