From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 17:13:32 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 18D4016A4CE for ; Fri, 22 Apr 2005 17:13:32 +0000 (GMT) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F01F43D67 for ; Fri, 22 Apr 2005 17:13:31 +0000 (GMT) (envelope-from omniBSD@speakeasy.net) Received: (qmail 7547 invoked from network); 22 Apr 2005 17:13:29 -0000 Received: from acute.anhedonia.com (HELO [10.20.30.10]) (omni@[66.93.24.213]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Apr 2005 17:13:28 -0000 Message-ID: <42693187.8010501@speakeasy.net> Date: Fri, 22 Apr 2005 12:16:55 -0500 From: Ash User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041104 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Timothy Radigan References: <20050422164700.A22FE43D2D@mx1.FreeBSD.org> In-Reply-To: <20050422164700.A22FE43D2D@mx1.FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD mailing List 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 17:13:32 -0000 Timothy Radigan wrote: > I am in the process of building another Samba server as we speak. I will > try to get it functioning without installing the MIT krb5 package and see if > I can't get the machine to join the domain without it. Thanks for the > input, I'll give it a try. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Kevin Kobb > Sent: Friday, April 22, 2005 12:42 PM > To: freebsd-questions@freebsd.org > Subject: Re: Samba 3.0.14a with AD Support > > 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. > > > I've just configured d a 5.4-RC3 machine as a file server that is authenticating against 2003 AD. I installed net/nss_ldap (which in turn insalled open-ldap), security/pam_ldap and of course net/samba3. Heimdal Kerberos is included in the base system (unless you have NO_KERBEROS=true in /etc/make.conf). Check out the kerberos(8) manpage for more details. -Ash