[27033] in Athena Bugs
athena 9.3.4: pine ldap skew (solaris vs. linux)
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Thu Jan 11 01:50:13 2007
Message-Id: <200701110648.l0B6mndQ005591@horobi.mit.edu>
From: Jacob Morzinski <morzinski@mit.edu>
To: bugs@mit.edu
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Date: Thu, 11 Jan 2007 01:48:49 -0500
X-Spam-Flag: NO
X-Spam-Score: 0.00
Errors-To: bugs-bounces@mit.edu
--=-=-=
Hi,
There may be a small glitch in the Pine (4.64L) configuration in
Athena 9.3.24 -- the Solaris build includes LDAP support, but the
Linux build does not:
athena% pine -supported | tail -2
Directories:
None (no LDAP)
athena% machtype -vL
Athena Server (linux) Version 9.4.34 Thu Jan 4 21:46:22 EST 2007
Based on what I read in in "third/pine/contrib/ldap-setup", I think
pine will include ldap if the build script:
- Creates a symlink "ldap" -> /usr/athena
- Adds "-lsasl2" to the linker args.
I'm including a patch for Makefile.athena that demonstrates this.
I've tested the patch on Linux, and successfully compiled a pine
with working LDAP support. I have not tested on Solaris.
Thanks,
-Jacob
--=-=-=
Content-Disposition: attachment; filename=Makefile.athena.patch
--- Makefile.athena.orig 2007-01-11 01:37:02.000000000 -0500
+++ Makefile.athena 2007-01-11 01:37:21.000000000 -0500
@@ -5,12 +5,14 @@
prepare:
rm -f krb5
ln -s /usr/athena krb5
+ rm -f ldap
+ ln -s /usr/athena ldap
clean:
./build clean
all:
- . ./platform && ./build CC="$$COMPILER" EXTRAAUTHENTICATORS="gss krb" EXTRACFLAGS="-DHESIOD -DKERBEROS -I/usr/athena/include" EXTRALDFLAGS="-L/usr/athena/lib -Wl,-R/usr/athena/lib -lhesiod $$platformlibs" SSLDIR=/usr/athena "$$platform"
+ . ./platform && ./build CC="$$COMPILER" EXTRAAUTHENTICATORS="gss krb" EXTRACFLAGS="-DHESIOD -DKERBEROS -I/usr/athena/include" EXTRALDFLAGS="-L/usr/athena/lib -Wl,-R/usr/athena/lib -lsasl2 -lhesiod $$platformlibs" SSLDIR=/usr/athena "$$platform"
check:
--=-=-=--