From owner-freebsd-questions@freebsd.org Fri Jan 6 22:43:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 670DFCA2F20 for ; Fri, 6 Jan 2017 22:43:10 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F6551D52 for ; Fri, 6 Jan 2017 22:43:10 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Received: by mail-qt0-x232.google.com with SMTP id k15so321341903qtg.3 for ; Fri, 06 Jan 2017 14:43:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifeofadishwasher.com; s=google; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Pp5+u36e4/EtehhCk5qNBUNvnzy31ElT7lrIzsU3c8E=; b=fDkqv4XMESsEdnt5hGuszZq4FCVZX1sJkPreP20QPwks1UnvxiJLYs8Jho0Q7jOW3n y7UKli8zgzssLQjRAmhuv77E0en7hT/nNdk/qcXs1+83yF/0Y5e8IftuEDg+VqPiT+eQ HcyBeE+8hMCOiJlykPhKkIHYiLurULq36rtXs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Pp5+u36e4/EtehhCk5qNBUNvnzy31ElT7lrIzsU3c8E=; b=DJKPyTd0zuInHpcAubO3eK8Wxs56aOkvwHG+w/GVaaHcqE+Y7eCWHifa5yWp4GXSzW flKxeAtKPHUCI46TDFdc+q7MBoutQMzQbos3MI5zR6h75VrbpyW5FIkiX0eUN/Vm6sQk 3n6OqMfWiB3D8kyD4TyYqCaiwrvBVKH4FCqmsgJGMD9gcWg0vW/nJmbZewoZhoCNP7Mc XJXmwq2V0QexE5EByhkW/MWc7MoGpmLsnmOnnlYP6EyRc+JEX0lfBffMJS1L1VV8VBEA dNETEx2gzbY+moSCgzcw2mmT4+9bTQREDMdnhL9TywyCXbyvEWAC0/7N8Ud6p+O3tupQ AInw== X-Gm-Message-State: AIkVDXLLKgJKGH8rcOD19TjQnf6nimYymdSp/Mwzb517MJu1QBqw2La+h1lFsitONLL9dg== X-Received: by 10.200.44.165 with SMTP id 34mr68962392qtw.233.1483742589334; Fri, 06 Jan 2017 14:43:09 -0800 (PST) Received: from lifeofadishwasher.com (c-24-131-227-67.hsd1.pa.comcast.net. [24.131.227.67]) by smtp.gmail.com with ESMTPSA id 21sm1065307qkh.13.2017.01.06.14.43.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jan 2017 14:43:08 -0800 (PST) Received: by lifeofadishwasher.com (sSMTP sendmail emulation); Fri, 06 Jan 2017 17:43:07 -0500 Date: Fri, 6 Jan 2017 17:43:07 -0500 From: Derek Schrock To: Tim Daneliuk , freebsd-questions@freebsd.org Subject: Re: [samb4] Where Is The User Database? Message-ID: <20170106224307.GB5334@ircbsd.lifeofadishwasher.com> Mail-Followup-To: Tim Daneliuk , freebsd-questions@freebsd.org References: <659a54ac-b48d-d308-4f29-7a603c06bd1b@tundraware.com> <8a20a242-22b4-3687-512c-66b16afa9b1c@tundraware.com> <20170106223905.GA5334@ircbsd.lifeofadishwasher.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170106223905.GA5334@ircbsd.lifeofadishwasher.com> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 22:43:10 -0000 On Fri, Jan 06, 2017 at 05:39:05PM EST, Derek Schrock wrote: > On Fri, Jan 06, 2017 at 05:31:32PM EST, Tim Daneliuk wrote: > > On 01/06/2017 04:27 PM, Derek Schrock wrote: > > > > > > On Fri, Jan 6, 2017 at 4:12 PM, Tim Daneliuk > wrote: > > > > > > I am running samba on a 10.3-STABLE system. Under samba3, there was a file > > > in /usr/local/etc/samba that kept track of local user credentials. This > > > appears to no longer be the case with samba4, but - for the life of me - > > > I cannot seem to find where this is kept. > > > > > > My interest here is for backup/restore purposes should I need to rebuild this > > > image on a new machine. > > > > > > Thanks, > > > > > > > > > Are you sure you have read access to /usr/local/etc/samba/ ? > > > > > > With samba44 I have /usr/local/etc/samba/passdb.tdb > > > > Yes, I can read there - I'm root. No such file, only a very old > > secrets.tdb which may- or may not be used. > > > > Very weird... > > Opps gmail's web interface left off the mailing... > > However, it's possible you don't have a passwd database yet? > Did you run smbpasswd? Forget all that... it appears to be legacy. /var/db/samba4/private/ is that the new location? Looks like the man page for smbd claims it's /var/db/samba/.