From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 16:43:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D4816A4CE for ; Fri, 22 Apr 2005 16:43:45 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543C043D4C for ; Fri, 22 Apr 2005 16:43:44 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DP1Ae-0006VQ-SL for freebsd-questions@freebsd.org; Fri, 22 Apr 2005 18:38:24 +0200 Received: from 216.223.161.50 ([216.223.161.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Apr 2005 18:38:24 +0200 Received: from kkobb by 216.223.161.50 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Apr 2005 18:38:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Kevin Kobb Date: Fri, 22 Apr 2005 11:41:56 -0500 Lines: 108 Message-ID: References: <20050422133933.490DD43D41@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216.223.161.50 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en In-Reply-To: <20050422133933.490DD43D41@mx1.FreeBSD.org> Sender: news Subject: Re: Samba 3.0.14a with AD Support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 16:43:45 -0000 Timothy Radigan wrote: > Hi all, > > I've been trying to build Samba 3.0.14a for 2 days now. I have exhausted > all of the resources I could find to help resolve this issue but to no > avail. I am currently trying to attach my Samba server running FreeBSD 5.3 > to a functioning Windows Server 2003 domain. I have installed the krb5 > package from the ports as well as the openldap-client-2.2.24 package. > Whenever I run a 'make install' from /usr/ports/net/samba3, it runs the > configure script find and starts compiling. When it gets to compile the > kerebos section, I keep getting the following errors: > > Linking bin/smbd > /usr/local/lib/libkrb5.so: warning: warning: mktemp() possibly used > unsafely; co nsider using mkstemp() > libads/kerberos_keytab.o(.text+0x7e9): In function `ads_keytab_add_entry': > : undefined reference to `krb5_kt_compare' > /usr/lib/libgssapi.so: undefined reference to `krb5_rd_cred2' > /usr/lib/libgssapi.so: undefined reference to `krb5_crypto_destroy' > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_address' > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_data' > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_keyblock' > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_con_setremotesubkey' > /usr/lib/libgssapi.so: undefined reference to `krb5_data_free' > /usr/lib/libgssapi.so: undefined reference to `krb5_config_get_strings' > /usr/lib/libgssapi.so: undefined reference to `krb5_auth_con_setlocalsubkey' > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_con_generatelocalsubkey > ' > /usr/lib/libgssapi.so: undefined reference to `krb5_sockaddr2address' > /usr/lib/libgssapi.so: undefined reference to `krb5_cc_get_ops' > /usr/lib/libgssapi.so: undefined reference to `krb5_get_default_principal' > /usr/lib/libgssapi.so: undefined reference to `krb5_cc_copy_cache' > /usr/lib/libasn1.so: undefined reference to `init_error_table' > /usr/lib/libgssapi.so: undefined reference to `krb5_auth_con_setkey' > /usr/lib/libgssapi.so: undefined reference to `krb5_get_forwarded_creds' > /usr/lib/libgssapi.so: undefined reference to `krb5_get_err_text' > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_int32' > /usr/lib/libgssapi.so: undefined reference to `krb5_h_addr2sockaddr' > /usr/lib/libgssapi.so: undefined reference to `krb5_build_authenticator' > /usr/lib/libgssapi.so: undefined reference to `krb5_build_ap_req' > /usr/lib/libgssapi.so: undefined reference to `krb5_auth_getremoteseqnumber' > /usr/lib/libgssapi.so: undefined reference to `krb5_data_zero' > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_free' > /usr/lib/libgssapi.so: undefined reference to `krb5_config_free_strings' > /usr/lib/libgssapi.so: undefined reference to `krb5_create_checksum' > /usr/lib/libgssapi.so: undefined reference to `krb5_generate_random_block' > /usr/lib/libgssapi.so: undefined reference to `krb5_crypto_init' > /usr/lib/libgssapi.so: undefined reference to `krb5_enctype_to_keytype' > /usr/lib/libgssapi.so: undefined reference to `krb5_free_creds_contents' > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_from_mem' > /usr/lib/libgssapi.so: undefined reference to `krb5_store_address' > /usr/lib/libgssapi.so: undefined reference to `krb5_decrypt_ivec' > /usr/lib/libasn1.so: undefined reference to `initialize_error_table_r' > /usr/lib/libgssapi.so: undefined reference to `krb5_store_int16' > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_int16' > /usr/lib/libgssapi.so: undefined reference to `krb5_get_error_string' > /usr/lib/libgssapi.so: undefined reference to `krb5_principal_match' > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_con_setlocalseqnumber' > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_to_data' > /usr/lib/libgssapi.so: undefined reference to `krb5_decrypt_ivec' > /usr/lib/libasn1.so: undefined reference to `initialize_error_table_r' > /usr/lib/libgssapi.so: undefined reference to `krb5_store_int16' > /usr/lib/libgssapi.so: undefined reference to `krb5_ret_int16' > /usr/lib/libgssapi.so: undefined reference to `krb5_get_error_string' > /usr/lib/libgssapi.so: undefined reference to `krb5_principal_match' > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_con_setlocalseqnumber' > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_to_data' > /usr/lib/libgssapi.so: undefined reference to `krb5_store_int32' > /usr/lib/libgssapi.so: undefined reference to `krb5_encrypt_ivec' > /usr/lib/libgssapi.so: undefined reference to `krb5_storage_emem' > /usr/lib/libgssapi.so: undefined reference to `krb5_store_data' > /usr/lib/libgssapi.so: undefined reference to > `krb5_auth_con_setremoteseqnumber' > > /usr/lib/libgssapi.so: undefined reference to `krb5_principal_get_realm' > /usr/lib/libgssapi.so: undefined reference to `krb5_set_error_string' > /usr/lib/libgssapi.so: undefined reference to `krb5_make_principal' > /usr/lib/libgssapi.so: undefined reference to `krb5_store_keyblock' > *** Error code 1 > > Stop in /usr/ports/net/samba3/work/samba-3.0.14a/source. > *** Error code 1 > > ********************************************************************** > > > Has anyone experienced this problem when compiling Samba 3.0.14a? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I could be wrong, but I think the base system has all the kerberos software you need to build samba already installed. I have a few 5.3 systems, and all of them built samba and joined an AD Windows 2000 domain no problem. If you don't need MIT kerberos or something else I am missing, I would try uninstalling the ports and try it again.