Phillip Sacha, thanks so much for pointing out that pam_ldap works when 
linked gainst the OpenLDAP 1.x libraries. Norbert Sendetzky also point 
out that   Red Hat's precompiled pam_ldap also works, and ldd reveals 
that to be linked against libldap.so.1 and liblber.so.1 -- the OpenLDAP 
1.x libraries.

My question is how to compile pam_ldap against the 1.x libraries. I have 
the 1.x shared objects liblber.so.1 and libldap.so.1 present on my RH 
installation from the openldap12 rpm, but my libldap.a and liblber.a 
development libraries are from 2.x. I believe the -lldap -llber command 
line options will therefore link against the 2.x libraries. I don't 
suppose you know a way to link directly to shared objects? Assuming not, 
how can I download the 1.x development libraries and get pam_ldap to 
compile against them without clobbering the 2.x libraries? -- I still 
want other projects to link against them.

Thanks for your help.


Reply via email to