From owner-freebsd-questions@freebsd.org Thu Sep 12 23:02:01 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88EBEDCFBD for ; Thu, 12 Sep 2019 23:02:01 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46TvRD5S8zz3NVg for ; Thu, 12 Sep 2019 23:02:00 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: by mail-pf1-x434.google.com with SMTP id q10so16896225pfl.0 for ; Thu, 12 Sep 2019 16:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=NA6MaizvsmoD9tWFtrjElGkS2pGH3aISpTTITAB9phQ=; b=K2TissjxQed4tpOafi7N1ZKT+WmiZtA4yJwQ13SYHkOVSUEaEfANOtWalbR3WzTo+q Wci1of/ibw0sowvDOsT0dkgiaZJjM+qfQQcZjfes4aArkGBdHcmQ1jBRFVau5IgeH9W6 COrz0zvJPnUvlnvssp1hLU3un8mgrg4TdhDpx70YJrAxN09XEKUxkAr823VBno+9OE43 iy//bDrlWdYVHADpuQEPvq/CJyP3T5PAaDl/jaaeyZo9hGkFByAg+9MdWVTsEswqUmJY QnXrOFx1OAjwVGX4jl1SV53HUYMgj2av/TbKLsCflmqvXXQSVS2DLAUU16UC9vvLo+7n DH8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NA6MaizvsmoD9tWFtrjElGkS2pGH3aISpTTITAB9phQ=; b=L0sG/pLp0g4RJvHIZqQTP+f9+WbkExuySGsHA0yG53vEmy0gmiMdPHu+O92uK1DGsQ cn+amMd+YhpJLjiwd/cDNaJ0+yvONbhylOnVV2MkAoVh5KvN7HvtlLQPBqHuMmcsRxvm SGhwE8I0CETXfHrtHtxByhrvVefv61CdsGlWcYC0C1ysIiPr3qyZlpVrg771xDArsaVn ShrgGs7iEoLwr2rVrSGMUnpdBsIOt/whWuNR3dKdHVulrccMPVDEK63MHyLXh1xQdclR GETJaeQHDKo45zBe+bgcloJYppEzetKnPM+KVSl9tD7rb0f16WXRkLpehC9CgEnYezsZ ddDg== X-Gm-Message-State: APjAAAVerWAJXUAakaFcBDVaiMIMYGjX5Vru8fgiUVCg703sjBILcXAI fToLMQvl4qWwA3V6p/g8zLg= X-Google-Smtp-Source: APXvYqwH+RxOHn9z4LBE/HZiBZLpq3YhxZQliW4jAwikEkfTRAhDKKHgEfOZ3309LmE8cEi2ZJ+j4g== X-Received: by 2002:a17:90a:e396:: with SMTP id b22mr1270159pjz.43.1568329318989; Thu, 12 Sep 2019 16:01:58 -0700 (PDT) Received: from [192.168.1.10] (C-59-101-201-178.bur.connect.net.au. [59.101.201.178]) by smtp.gmail.com with ESMTPSA id s5sm25332348pfe.52.2019.09.12.16.01.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Sep 2019 16:01:58 -0700 (PDT) Subject: Re: Problem with "samba-tool" To: "freebsd-questions@freebsd.org" , Carmel NY References: <0a6c140d-69e3-9473-701f-e8788d14917f@gmail.com> From: MJ Message-ID: <7fcada6d-ce08-6340-ecb9-fcef3d17bf17@gmail.com> Date: Fri, 13 Sep 2019 09:01:30 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46TvRD5S8zz3NVg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=K2Tissjx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mafsys1234@gmail.com designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=mafsys1234@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[178.201.101.59.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.06), ipnet: 2607:f8b0::/32(-2.71), asn: 15169(-2.25), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2019 23:02:01 -0000 On 12/09/2019 9:41 pm, Carmel NY wrote: > On Thu, 12 Sep 2019 08:45:32 +1000, MJ stated: >> On 11/09/2019 10:19 pm, Andrea Venturoli wrote: >>> On 2019-09-11 13:17, Carmel NY wrote: >>>> FreeBSD 12.0-RELEASE-p10 >>>> samba version 4.8.12 >>>> >>>> When attempting to use the 'samba-tool', I always receive this error >>>> message: >>>> >>>> samba-tool >>>> Traceback (most recent call last): >>>>    File "/usr/local/bin/samba-tool", line 33, in >>>>      from samba.netcmd.main import cmd_sambatool >>>>    File "/usr/local/lib/python2.7/site-packages/samba/__init__.py", >>>> line 28, in import ldb >>>> ImportError: /usr/local/lib/python2.7/site-packages/ldb.so: >>>> Undefined symbol "ldb_handler_copy" >>>> >>>> It doesn't make any difference what command options I use. Before I >>>> ask on a dedicated 'samba support forum', I thought I would first >>>> try and see if this was a localized FreeBSD problem. >>>> >>> >>> You are in good company. >>> See: >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239480 >> >> LOL dependency hell. Free software is great but when you pull in so >> many libraries to build it, stuff like this does happen. > > I don't remember seeing any notice that 'samba-tool' was not functional > in the port description or any notice in the UPDATING file. If there > was, and I missed it, then I do apologize. That brings me to my next > point, why wasn't such a notice given? I see that I am not the only > person to have wasted time on this. > > The hard work that port maintainer's do for FreeBSD is certainly > appreciated. However, they also have an obligation to at least give > their product a "test drive" first before releasing it, and noting any > know problems. > > According to the samba site: Tuesday, September 17 2019 - Planned > release date for Samba 4.11.0. Hopefully, this can be modified to work > with FreeBSD in its entirety. > I totally see your point, but in this case the regression seems to have crept in. I'm not sure on the specifics but as per comment #8 in the bug, this is just an example of dependency hell. As I said, if you want a timeline on the fix, ask Timur. Cheers, Mark