[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pamldap
Subject:    Re: [pamldap] FreeBSD 4.3 LDAP Authentication to OpenLDAP ver2
From:       rsavage () nandomedia ! com
Date:       2001-09-21 14:42:17
[Download RAW message or body]

Hmm, this just put a nice twist on things :)  Let's see what I can do
about it.  Thanks

On Sat, 22 Sep 2001, Luke Howard wrote:

>
> >Cool.  When you say ``link libbind.a to libc'', I build BIND first, and
> >then hack libc source, and then make sure libbind.a is in the linking
> >portion of the Makefile?
>
> That would be the general idea, yes.
>
> The only catch is that you need to insert nss_ldap into libbind.a,
> and also libldap and liblber. Make sure you compile libldap/libldap
> and nss_ldap position independent, but still build static ("ar")
> rather than shared libraries. Then you need to merge them into
> one big library and then merge that into libc. Noone said it would
> be clean :-)
>
> Another approach is just to build shared libraries and use
> LD_PRELOAD:
>
> export LD_PRELOAD=/usr/local/lib/libirs.so:/path/to/libldap_r.so.2:\
>                   /path/to/lib/liblber.so.2:/usr/lib/libc_r.so.4
>
> -- Luke
>
> --
> Luke Howard | lukehoward.com
> PADL Software | www.padl.com
>

-- 
Rory Savage, Senior Systems Administrator
Nando Media: www.nandomedia.com
email: rsavage@nandomedia.com
919-836-5987 (Office)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic