I am trying to compile the small Samba 3.0.2a source on Solaris 9 to use ldap. The ./configure run reports: "WARNING: libldap is needed for LDAP support". The Solaris installation has it's native libldap installed in /usr/lib, but the configuration does not seem to find it. Would anyone know what I am missing? Thanks...dlb David Bost Dow Jones and Co. 4300 North Route 1 South Brunswick NJ 08852 (609)520-5291 "Heqhlu'meH QaQ jajvam!" <<Bost, David.vcf>>
This question was answered, or at least addressed yesterday under the less descriptive heading "Samba 3.0.3 installing issue" Search is your friend. Bost, David wrote:>I am trying to compile the small Samba 3.0.2a source on Solaris 9 to use >ldap. The ./configure run reports: "WARNING: libldap is needed for LDAP >support". The Solaris installation has it's native libldap installed in >/usr/lib, but the configuration does not seem to find it. Would anyone know >what I am missing? Thanks...dlb > >David Bost >Dow Jones and Co. >4300 North Route 1 >South Brunswick NJ 08852 >(609)520-5291 >"Heqhlu'meH QaQ jajvam!" > <<Bost, David.vcf>> > >-- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Cell: 701-306-6254 Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.com mailto:pgienger@ae-solutions.com
sorry, ldconfig is no solaris utility... Have you tried the export line ? Bertram>From: "Bost, David" <David.Bost@dowjones.com> >To: "'Yohann Ferreira'" <bertram25@hotmail.com> >Subject: RE: [Samba] Compiling --with-ldap on Solaris 9 >Date: Thu, 6 May 2004 08:31:05 -0400 > >Yohann, >I don't find a "ldconfig" utility anywhere on my machine. Is this supposed >to be a Solaris utility, or something that comes in the Samba bundle? > >-----Original Message----- >From: Yohann Ferreira [mailto:bertram25@hotmail.com] >Sent: Thursday, May 06, 2004 3:10 AM >To: Bost, David >Subject: RE: [Samba] Compiling --with-ldap on Solaris 9 > > >Maybe you should try these commands before configure : > >ldconfig >export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib > > > > >From: "Bost, David" <David.Bost@dowjones.com> > >To: "'samba@lists.samba.org'" <samba@lists.samba.org> > >Subject: [Samba] Compiling --with-ldap on Solaris 9 > >Date: Wed, 5 May 2004 13:22:17 -0400 > > > >I am trying to compile the small Samba 3.0.2a source on Solaris 9 to use > >ldap. The ./configure run reports: "WARNING: libldap is needed for LDAP > >support". The Solaris installation has it's native libldap installed in > >/usr/lib, but the configuration does not seem to find it. Would anyone > >know > >what I am missing? Thanks...dlb > > > >David Bost > >Dow Jones and Co. > >4300 North Route 1 > >South Brunswick NJ 08852 > >(609)520-5291 > >"Heqhlu'meH QaQ jajvam!" > > <<Bost, David.vcf>> > >-- > >To unsubscribe from this list go to the following URL and read the > >instructions: http://lists.samba.org/mailman/listinfo/samba > >_________________________________________________________________ >Bloquez les fen?tres pop-up, c'est gratuit ! http://toolbar.msn.fr >_________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr
Hi David, as Paul has stated already you need the OpenLDAP libraries to compile Samba on a Solaris 9 machine with LDAP or ADS support. The LDAP libraries from Sun do not provide all necessary functions. The problem is that compiling with OpenLDAP libraries comes with a price if you are authenticating Solaris against LDAP using the native Sun LDAP-Client. Samba will not get any information about secondary groups from the LDAP server, while everything is OK whith information from /etc/group. This behaviour is known as bug #395, which is already closed because it is not a real bug, see https://bugzilla.samba.org/show_bug.cgi?id=395 . I would call it a compatibility problem between the LDAP libraries from Sun and OpenLDAP. (Many thanks to the people at the Sun Center in Berlin for helping me here) If you are affected from this problem, there are 3 workarounds known to me. Please note that I haven't tried all. * put all group information in /etc/group (don't like this idea) * use Patch-ID 112960-03 (rev. -04 and -05 should work too) with authentication method "simple". With "tls:simple" the problem seems to exists for all revisions of this patch. * avoid Sun's LDAP completely and shift to OpenLDAP and nss_ldap from Padl, see http://lists.samba.org/archive/samba/2004-February/081509.html cheers, Reinhard -- Reinhard Sojka <reinhard.sojka@parlinkom.gv.at> System- & Networkadmin Parlamentsdirektion +43 1 40110 2824
>>Can anyone from the Samba team tell me with this Bug and similar where the OS is identified as having a problem/Bug do the Samba team notify and/or work with the likes of Sun to resolve the issues? thanks Andy. << Hi David, as Paul has stated already you need the OpenLDAP libraries to compile Samba on a Solaris 9 machine with LDAP or ADS support. The LDAP libraries from Sun do not provide all necessary functions. The problem is that compiling with OpenLDAP libraries comes with a price if you are authenticating Solaris against LDAP using the native Sun LDAP-Client. Samba will not get any information about secondary groups from the LDAP server, while everything is OK whith information from /etc/group. This behaviour is known as bug #395, which is already closed because it is not a real bug, see https://bugzilla.samba.org/show_bug.cgi?id=395 . I would call it a compatibility problem between the LDAP libraries from Sun and OpenLDAP. (Many thanks to the people at the Sun Center in Berlin for helping me here) If you are affected from this problem, there are 3 workarounds known to me. Please note that I haven't tried all. * put all group information in /etc/group (don't like this idea) * use Patch-ID 112960-03 (rev. -04 and -05 should work too) with authentication method "simple". With "tls:simple" the problem seems to exists for all revisions of this patch. * avoid Sun's LDAP completely and shift to OpenLDAP and nss_ldap from Padl, see http://lists.samba.org/archive/samba/2004-February/081509.html cheers, Reinhard -- Reinhard Sojka <reinhard.sojka@parlinkom.gv.at> System- & Networkadmin Parlamentsdirektion +43 1 40110 2824 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hi Andy, I am not from the Samba team, but I am fighting this problem since Jannuary. In the meanwhile I have a rough overview and hope I can provide you with some links to dig into this problem. In my understanding the most helpful statement is made here http://marc.theaimsgroup.com/?l=samba-technical&m=107051047631564&w=2 Bugzilla entry: https://bugzilla.samba.org/show_bug.cgi?id=395 To my knowledge the problem with Solaris 9 appeared on the List in December 2003 http://marc.theaimsgroup.com/?l=samba-technical&m=107026747906385&w=2 Tough it was Samba 2.2.8a, the problem with LDAP and Solaris 9 is the same as with Samba 3.0.x. This was solved by tweaking Samba 2.2.8a a bit to make it compile with Sun LDAP libraries. here are the results of my testing http://lists.samba.org/archive/samba/2004-February/080092.html and here is Jerry's answer http://lists.samba.org/archive/samba/2004-February/080160.html which leads, at the end, to first link in my mail http://marc.theaimsgroup.com/?l=samba-technical&m=107051047631564&w=2 cheers, Reinhard -- Reinhard Sojka <reinhard.sojka@parlinkom.gv.at> System- & Networkadmin Parlamentsdirektion +43 1 40110 2824