From g.olgeni@colby.it  Mon Mar 28 13:09:40 2011
Return-Path: <g.olgeni@colby.it>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 478C0106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Mar 2011 13:09:40 +0000 (UTC)
	(envelope-from g.olgeni@colby.it)
Received: from mail.colby.tv (93-62-141-58.ip22.fastwebnet.it [93.62.141.58])
	by mx1.freebsd.org (Postfix) with ESMTP id 416478FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Mar 2011 13:09:36 +0000 (UTC)
Received: from server.colby.local (localhost [127.0.0.1])
	by server.colby.local (8.14.4/8.14.4) with ESMTP id p2SD9VTg096613
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Mar 2011 15:09:31 +0200 (CEST)
	(envelope-from g.olgeni@colby.it)
Received: from exchange.colby.local ([192.168.1.11] helo=exchange.colby.local)
	with IPv4:25 by server.colby.local; 28 Mar 2011 15:09:31 +0200
Received: from backoffice.colby.local ([192.168.1.56]) by exchange.colby.local over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675);
	 Mon, 28 Mar 2011 15:09:31 +0200
Received: from backoffice.colby.local (localhost [127.0.0.1])
	by backoffice.colby.local (8.14.4/8.14.4) with ESMTP id p2SD9UNa091236
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Mar 2011 15:09:30 +0200 (CEST)
	(envelope-from olgeni@backoffice.colby.local)
Received: (from olgeni@localhost)
	by backoffice.colby.local (8.14.4/8.14.4/Submit) id p2SD9U7B091235;
	Mon, 28 Mar 2011 15:09:30 +0200 (CEST)
	(envelope-from olgeni)
Message-Id: <201103281309.p2SD9U7B091235@backoffice.colby.local>
Date: Mon, 28 Mar 2011 15:09:30 +0200 (CEST)
From: Jimmy Olgeni <olgeni@freebsd.org>
Reply-To: Jimmy Olgeni <olgeni@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: net/samba-libsmbclient, net/samba35 fail to build with openldap 2.4.25
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         155995
>Category:       ports
>Synopsis:       net/samba-libsmbclient, net/samba35 fail to build with openldap 2.4.25
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    timur
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 28 13:10:07 UTC 2011
>Closed-Date:    Mon Mar 28 23:24:25 UTC 2011
>Last-Modified:  Mon Mar 28 23:24:25 UTC 2011
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Colby
>Environment:
>Description:
net/samba-libsmbclient fails to build after the last openldap upgrade
(2.4.25), both on a live system and 8.2 i386/amd64 tinderboxes.
net/samba35 seems to share the same issue.

Rolling back to openldap 2.4.24 works fine.

From config.log:

configure:22761: checking for ldap_initialize
configure:22807: cc -o conftest -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -Iinclude -I./include  -I. -I. -I./../lib/replace -I/usr/local/include   -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include  -L/usr/local/lib -L./bin -L/usr/local/lib conftest.c -llber  -lexecinfo      -liconv -llber  >&5
/var/tmp//ccBkHBva.o(.text+0x7): In function `main':
: undefined reference to `ldap_initialize'
configure:22807: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Samba"
| #define PACKAGE_TARNAME "samba"
| #define PACKAGE_VERSION "3"
| #define PACKAGE_STRING "Samba 3"
| #define PACKAGE_BUGREPORT "samba-technical@samba.org"
| #define PACKAGE_URL ""
| #define CONFIG_H_IS_FROM_SAMBA 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #ifndef _XOPEN_SOURCE_EXTENDED
| #define _XOPEN_SOURCE_EXTENDED 1
| #endif
| #define HAVE_LONG_LONG 1
| #define SIZEOF_INT 4
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define uint_t unsigned int
| #define SIZEOF_OFF_T 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_SSIZE_T 8
| #define HAVE_IMMEDIATE_STRUCTURES 1
| #define FREEBSD 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ST_RDEV 1
| #define loff_t off_t
| #define offset_t loff_t
| #define HAVE_PIPE 1
| #define HAVE_STRFTIME 1
| #define HAVE_SRANDOM 1
| #define HAVE_RANDOM 1
| #define HAVE_SRAND 1
| #define HAVE_RAND 1
| #define HAVE_USLEEP 1
| #define HAVE_SETBUFFER 1
| #define HAVE_LSTAT 1
| #define HAVE_GETPGRP 1
| #define HAVE_UTIME 1
| #define HAVE_UTIMES 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_BOOL 1
| #define HAVE__Bool 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SYSLOG_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SETEUID 1
| #define HAVE_SETRESUID 1
| #define HAVE_SETEGID 1
| #define HAVE_SETRESGID 1
| #define HAVE_CHROOT 1
| #define HAVE_BZERO 1
| #define HAVE_STRERROR 1
| #define HAVE_VSYSLOG 1
| #define HAVE_SETLINEBUF 1
| #define HAVE_MKTIME 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_RENAME 1
| #define HAVE_WAITPID 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRLCAT 1
| #define HAVE_INITGROUPS 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRDUP 1
| #define HAVE_PREAD 1
| #define HAVE_PWRITE 1
| #define HAVE_STRNDUP 1
| #define HAVE_STRCASESTR 1
| #define HAVE_STRTOK_R 1
| #define HAVE_MKDTEMP 1
| #define HAVE_DUP2 1
| #define HAVE_ISATTY 1
| #define HAVE_CHOWN 1
| #define HAVE_LCHOWN 1
| #define HAVE_LINK 1
| #define HAVE_READLINK 1
| #define HAVE_SYMLINK 1
| #define HAVE_REALPATH 1
| #define HAVE_SETRESUID_DECL 1
| #define HAVE_SETRESGID_DECL 1
| #define HAVE_ERRNO_DECL 1
| #define HAVE_SECURE_MKSTEMP 1
| #define HAVE_STDIO_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_VASPRINTF 1
| #define HAVE_C99_VSNPRINTF 1
| #define HAVE_VA_COPY 1
| #define HAVE_FUNCTION_MACRO 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SETENV_DECL 1
| #define HAVE_SETENV 1
| #define HAVE_UNSETENV 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRTOULL 1
| #define HAVE_STRTOUQ 1
| #define HAVE_STRTOLL 1
| #define HAVE_STRTOQ 1
| #define HAVE__VA_ARGS__MACRO 1
| #define HAVE_SIG_ATOMIC_T_TYPE 1
| #define HAVE_VOLATILE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILIO_H 1
| #define HAVE_SYS_ACL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UTIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_UTIME 1
| #define HAVE_UTIMES 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GRP_H 1
| #define HAVE_SYS_PRIV_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWENT_R 1
| #define HAVE_GETPWENT_R_DECL 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRENT_R 1
| #define HAVE_GETGRENT_R_DECL 1
| #define HAVE_CTYPE_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_DLOPEN 1
| #define HAVE_DLSYM 1
| #define HAVE_DLERROR 1
| #define HAVE_DLCLOSE 1
| #define REPLACE_GETPASS 1
| #define REPLACE_STRPTIME 1
| #define HAVE_MKDIR_MODE 1
| #define HAVE_TIMEGM 1
| #define HAVE_CRYPT 1
| #define HAVE_SYSLOG 1
| #define HAVE_PRINTF 1
| #define HAVE_MEMSET 1
| #define HAVE_MEMCPY 1
| #define LIBREPLACE_NETWORK_CHECKS 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_SYS_SOCKIO_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_NET_IF_H 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_SA_FAMILY_T 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_SOCKADDR 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_SS_FAMILY 1
| #define HAVE_SOCK_SIN_LEN 1
| #define HAVE_UNIXSOCKET 1
| #define HAVE_CONNECT 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_IF_NAMETOINDEX 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_ATON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
| #define HAVE_SOCKADDR_SA_LEN 1
| #define HAVE_GETIFADDRS 1
| #define HAVE_FREEIFADDRS 1
| #define HAVE_STRUCT_IFADDRS 1
| #define HAVE_IFACE_GETIFADDRS 1
| #define HAVE_IPV6 1
| #define HAVE_AIO_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_UNISTD_H 1
| #define HAVE_RPC_NETTYPE_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_RPC_RPC_H 1
| #define HAVE_RPCSVC_NIS_H 1
| #define HAVE_RPCSVC_YPCLNT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_FILIO_H 1
| #define HAVE_SYS_PRIV_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_SYSLOG_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_RPCSVC_YP_PROT_H 1
| #define HAVE_VALGRIND_VALGRIND_H 1
| #define HAVE_VALGRIND_MEMCHECK_H 1
| #define HAVE_NSS_H 1
| #define HAVE_NSSWITCH_H 1
| #define HAVE_SYS_SYSCALL_H 1
| #define HAVE_SYS_EXTATTR_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_UTMP_H 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SHORT 2
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ST_RDEV 1
| #define HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS 1
| #define HAVE_MSGHDR_MSG_CONTROL 1
| #define HAVE_STRUCT_SIGEVENT 1
| #define HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIVAL_PTR 1
| #define HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIGVAL_PTR 1
| #define HAVE_STRUCT_TIMESPEC 1
| #define HAVE_SETRESUID 1
| #define HAVE_SETRESGID 1
| #define HAVE_READLINE_READLINE_H 1
| #define HAVE_READLINE_HISTORY_H 1
| #define HAVE_READLINE_READLINE_H 1
| #define HAVE_LIBREADLINE 1
| #define HAVE_NEW_LIBREADLINE 1
| #define HAVE_DECL_RL_EVENT_HOOK 0
| #define HAVE_HISTORY_LIST 1
| #define HAVE_YP_GET_DEFAULT_DOMAIN 1
| #define HAVE_EXECL 1
| #define HAVE_GETCWD 1
| #define HAVE_FCHOWN 1
| #define HAVE_CHMOD 1
| #define HAVE_FCHMOD 1
| #define HAVE_MKNOD 1
| #define HAVE_STRTOL 1
| #define HAVE_STRCHR 1
| #define HAVE_CHFLAGS 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_FSYNC 1
| #define HAVE_SETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_GLOB 1
| #define HAVE_STRPBRK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SIGBLOCK 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSET 1
| #define HAVE_INNETGR 1
| #define HAVE_SETNETGRENT 1
| #define HAVE_GETNETGRENT 1
| #define HAVE_ENDNETGRENT 1
| #define HAVE_INITGROUPS 1
| #define HAVE_SELECT 1
| #define HAVE_POLL 1
| #define HAVE_GETGRNAM 1
| #define HAVE_GETGRENT 1
| #define HAVE_PATHCONF 1
| #define HAVE_SETGROUPS 1
| #define HAVE_SYSCONF 1
| #define HAVE_ATEXIT 1
| #define HAVE_GRANTPT 1
| #define HAVE_GETPWENT_R 1
| #define HAVE_SETENV 1
| #define HAVE_STRCASECMP 1
| #define HAVE_SYSLOG 1
| #define HAVE_VSYSLOG 1
| #define HAVE_TIMEGM 1
| #define HAVE_SETLOCALE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MLOCK 1
| #define HAVE_MUNLOCK 1
| #define HAVE_MLOCKALL 1
| #define HAVE_MUNLOCKALL 1
| #define HAVE_POSIX_MEMALIGN 1
| #define HAVE_HSTRERROR 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SHMGET 1
| #define HAVE_SHM_OPEN 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_BACKTRACE_SYMBOLS 1
| #define HAVE_SYSCTLBYNAME 1
| #define HAVE__DUP 1
| #define HAVE__DUP2 1
| #define HAVE___GETCWD 1
| #define HAVE__STAT 1
| #define HAVE__LSTAT 1
| #define HAVE__FSTAT 1
| #define HAVE__OPEN 1
| #define HAVE__CHDIR 1
| #define HAVE__CLOSE 1
| #define HAVE__FCHDIR 1
| #define HAVE__FCNTL 1
| #define HAVE_GETDENTS 1
| #define HAVE__READ 1
| #define HAVE_GETDIRENTRIES 1
| #define HAVE__WRITE 1
| #define HAVE__FORK 1
| #define HAVE_PREAD 1
| #define HAVE_PWRITE 1
| #define HAVE_PRCTL 1
| #define HAVE_GETGROUPLIST 1
| #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
| #define HAVE_STAT_HIRES_TIMESTAMPS 1
| #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
| #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_EXTATTR_DELETE_FD 1
| #define HAVE_EXTATTR_DELETE_FILE 1
| #define HAVE_EXTATTR_DELETE_LINK 1
| #define HAVE_EXTATTR_GET_FD 1
| #define HAVE_EXTATTR_GET_FILE 1
| #define HAVE_EXTATTR_GET_LINK 1
| #define HAVE_EXTATTR_LIST_FD 1
| #define HAVE_EXTATTR_LIST_FILE 1
| #define HAVE_EXTATTR_LIST_LINK 1
| #define HAVE_EXTATTR_SET_FD 1
| #define HAVE_EXTATTR_SET_FILE 1
| #define HAVE_EXTATTR_SET_LINK 1
| #define STAT_ST_BLOCKSIZE 512
| #define BROKEN_GETGRNAM 1
| #define SHLIBEXT "so"
| #define HAVE_LONGLONG 1
| #define COMPILER_SUPPORTS_LL 1
| #define SIZEOF_TIME_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_DEVICE_MAJOR_FN 1
| #define HAVE_DEVICE_MINOR_FN 1
| #define HAVE_MAKEDEV 1
| #define SEEKDIR_RETURNS_VOID 1
| #define HAVE_FUNCTION_MACRO 1
| #define HAVE_GETTIMEOFDAY_TZ 1
| #define HAVE_UTIMBUF 1
| #define HAVE_UT_UT_NAME 1
| #define HAVE_UT_UT_HOST 1
| #define HAVE_UT_UT_TIME 1
| #define HAVE_ICONV 1
| #define HAVE_NATIVE_ICONV 1
| #define DEFAULT_DOS_CHARSET "CP850"
| #define DEFAULT_DISPLAY_CHARSET "ASCII"
| #define DEFAULT_UNIX_CHARSET "UTF-8"
| #define HAVE_FTRUNCATE_EXTEND 1
| #define SYSCONF_SC_NGROUPS_MAX 1
| #define SYSCONF_SC_NPROCESSORS_ONLN 1
| #define SYSCONF_SC_PAGESIZE 1
| #define HAVE_GETPAGESIZE 1
| #define USE_SETREUID 1
| #define HAVE_FCNTL_LOCK 1
| #define HAVE_STAT_ST_BLOCKS 1
| #define HAVE_STAT_ST_BLKSIZE 1
| #define HAVE_STAT_ST_FLAGS 1
| #define REALPATH_TAKES_NULL 1
| #define HAVE_LDAP_H 1
| #define HAVE_LBER_H 1
| #define HAVE_BER_SCANF 1
| #define HAVE_LIBLBER 1
| #define HAVE_BER_SOCKBUF_ADD_IO 1
| #define HAVE_LDAP_SASL_WRAPPING 1
| #define HAVE_LBER_LOG_PRINT_FN 1
| #define LDAP_SET_REBIND_PROC_ARGS 3
| /* end confdefs.h.  */
| /* Define ldap_initialize to an innocuous variant, in case <limits.h> declares ldap_initialize.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define ldap_initialize innocuous_ldap_initialize
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char ldap_initialize (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef ldap_initialize
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char ldap_initialize ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_ldap_initialize || defined __stub___ldap_initialize
| choke me
| #endif
| 
| int
| main ()
| {
| return ldap_initialize ();
|   ;
|   return 0;
| }
configure:22815: result: no
configure:22841: error: libldap is needed for LDAP support
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->timur 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Mar 28 13:10:51 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155995 
State-Changed-From-To: open->closed 
State-Changed-By: timur 
State-Changed-When: Mon Mar 28 23:24:24 UTC 2011 
State-Changed-Why:  
The problem is with the openldap port, not Samba. Try to  disable 
'FETCH' option in the openldap-client. This should be fixed soon by the 
port maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155995 
>Unformatted:
