Fwd: [Samba] install failing on bsd

jean-paul natola jnatola at hotmail.com
Fri Oct 13 16:32:17 GMT 2006


which openldap?


openldap-client-2.1.30
openldap-client-2.2.23
openldap-sasl-client-2.1.30
openldap-sasl-client-2.2.23
openldap-sasl-server-2.1.30
openldap-sasl-server-2.2.23
openldap-server-2.1.30
openldap-server-2.2.23

>From: "Valerio Daelli" <valerio.daelli at gmail.com>
>To: samba at lists.samba.org
>Subject: Fwd: [Samba] install failing on bsd
>Date: Fri, 13 Oct 2006 11:38:14 +0200
>
>Hi
>try installing openldap from ports.
>I get
>
>root at pan# grep -r LDAP_NO_MEMORY /usr/local/include/
>/usr/local/include/ldap.h:#define LDAP_NO_MEMORY
>                 (-10)
>
>try also with a cvsup of your ports.
>Bye
>
>Valerio
>
>On 10/12/06, jean-paul natola <jnatola at hotmail.com> wrote:
>>Hi Everyone
>>
>>I'm a total newbie so please bear with me
>>
>>I'm running FreeBSD 5.4   and I hae tried (numerous times) to install 
>>Samba
>>based on these instructions
>>
>>http://joseph.randomnetworks.com/tag/nsswitch
>>
>>this is the error I keep getting
>>
>>Using FLAGS =  -O -pipe -D_SAMBA_BUILD_
>>-I/usr/ports/net/samba3/work/samba-3.0.23c/source/iniparser/src -Iinclude
>>-I/usr/ports/net/samba3/work/samba-3.0.23c/source/include
>>-I/usr/ports/net/samba3/work/samba-3.0.23c/source/tdb  -I. -DHAVE_CONFIG_H
>>-I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.23c/source
>>-D_SAMBA_BUILD_
>>       LIBS = -lcrypt -liconv
>>       LDSHFLAGS = -shared  -L/usr/local/lib
>>       LDFLAGS = -L/usr/local/lib
>>       PIE_CFLAGS = -fPIE
>>       PIE_LDFLAGS = -pie
>>Compiling sam/idmap_ad.c with -fPIC -DPIC
>>sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping':
>>sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this
>>function)
>>sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only 
>>once
>>sam/idmap_ad.c:62: error: for each function it appears in.)
>>*** Error code 1
>>
>>Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source.
>>*** Error code 1
>>
>>Stop in /usr/ports/net/samba3.
>>
>>
>>Can someone shed some light on this for me?
>>
>>Thanks in advance
>>
>>j
>>
>>
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  https://lists.samba.org/mailman/listinfo/samba
>>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba

_________________________________________________________________
All-in-one security and maintenance for your PC.  Get a free 90-day trial!  
http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail



More information about the samba mailing list