Yes, I have seen this problem. I even mentioned the problem and possible solution in a previous "Samba w/ADS" thread. It seems that the order samba finds the libraries breaks it because it find ldap before it finds kerberos, but when I explicitly declare kerberos, then ldap, then the other necessary support libraries it builds properly. Now, I must note, that this is an example under openpkg 2.3 but using samba from current and I have tested it in a few months as other things became more important to look into.
On Sun, 2006-01-15 at 11:30 -0800, Doug Summers wrote: > Using samba-3.0.21a-20051230 on RHEL 3.0... > > I was able to successfully get Samba w/ADS support built, but had to add > this to the command line: > > --define="with_ads yes" --define="l_ldflags -L$prefix/lib" > --define="l_cppflags -I$prefix/include" > > For some reason, without explicitly adding the LDFLAGS & CPPFLAGS > settings, Samba can't find the OpenLDAP libraries. Has anyone else > experienced this? > > Doug > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > User Communication List openpkg-users@openpkg.org > -- David M. Fetter - UNIX Systems Administrator Portland State University "There are 10 types of people in the world, those that understand binary and those that don't."
signature.asc
Description: This is a digitally signed message part