From owner-freebsd-ports Fri Jan 10 3:12: 9 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8618137B401 for ; Fri, 10 Jan 2003 03:12:07 -0800 (PST) Received: from smtp.wp.pl (smtp.wp.pl [212.77.101.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43F2543F1E for ; Fri, 10 Jan 2003 03:12:05 -0800 (PST) (envelope-from axc51@wp.pl) Received: (WP-SMTPD 11654 invoked from network); 10 Jan 2003 11:11:57 -0000 Received: from unknown (HELO ford) ([212.244.58.234]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 10 Jan 2003 11:11:57 -0000 Message-ID: <006e01c2b899$1b98c8e0$8100a8c0@ford> From: "Piotr Kowalski" To: , Subject: RC-2 : Compilation of SAMBA 2.2.7a with WINBIND crashes !!! Date: Fri, 10 Jan 2003 12:12:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-ChangeAV: 0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've experienced a serious problem trying to implement Winbind Samba feature, under FreeBSD 5,0 RC-2, where the SSWITCH service is finally included. Compilation of Winbind module of SAMBA 2.2.7a with WINBIND crashes !!! I know there'll be problems with PAM modules of authentication but what I'm only trying to do is build a winbind demon to retrieve user and groups database from Windows PDC, not to authenticate users with it - so the compilation shouldn't crash. Some of the last compiler messages are: Compiling nsswitch/pam_winbind.c with -fPIC -DPIC nsswitch/pam_winbind.c: In function `_make_remark': nsswitch/pam_winbind.c:90: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c: In function `_winbind_read_password': nsswitch/pam_winbind.c:277: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:277: (Each undeclared identifier is reported only once nsswitch/pam_winbind.c:277: for each function it appears in.) nsswitch/pam_winbind.c:298: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c:306: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c:312: warning: assignment discards qualifiers from pointer target type gmake: *** [nsswitch/pam_winbind.po] Error 1 *** Error code 2 Stop in /usr/ports/net/samba. *** Error code 1 Stop in /usr/ports/net/samba. Complete list of compilation flags are: Using FLAGS = -DHAVE_CRYPT_DECL -I/usr/include/openssl -O -O -pipe -mcpu=pentiumpro -I/ usr/local/include -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -I /usr/local/include -DLOGFILEBASE="/var/log" -DCONFIGFILE="/usr/local/etc/smb .conf" -DLMHOSTSFILE="/usr/local/etc/lmhosts" -DSWATDIR="/usr/local/share/ swat" -DSBINDIR="/usr/local/sbin" -DLOCKDIR="/var/lock" -DCODEPAGEDIR="/usr/ local/etc/codepages" -DDRIVERFILE="/usr/local/etc/printers.def" -DBINDIR="/u sr/local/bin" -DPIDDIR="/var/run" -DLIBDIR="/usr/local/etc" -DHAVE_INCLUDES_ H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/private/s mbpasswd" -DTDB_PASSWD_FILE="/usr/local/private/smbpasswd.tdb" Using FLAGS32 = -DHAVE_CRYPT_DECL -I/usr/include/openssl -O -O -pipe -mcpu=pentiumpro -I/ usr/local/include -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -I /usr/local/include -DLOGFILEBASE="/var/log" -DCONFIGFILE="/usr/local/etc/smb .conf" -DLMHOSTSFILE="/usr/local/etc/lmhosts" -DSWATDIR="/usr/local/share/ swat" -DSBINDIR="/usr/local/sbin" -DLOCKDIR="/var/lock" -DCODEPAGEDIR="/usr/ local/etc/codepages" -DDRIVERFILE="/usr/local/etc/printers.def" -DBINDIR="/u sr/local/bin" -DPIDDIR="/var/run" -DLIBDIR="/usr/local/etc" -DHAVE_INCLUDES_ H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/private/s mbpasswd" -DTDB_PASSWD_FILE="/usr/local/private/smbpasswd.tdb" Using LIBS = -lssl -lcrypto -lcups -lssl -lcrypto -lpam Piotr Kowalski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message