Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 17:43:07 -0500
From:      Derek Schrock <dereks@lifeofadishwasher.com>
To:        Tim Daneliuk <tundra@tundraware.com>, freebsd-questions@freebsd.org
Subject:   Re: [samb4] Where Is The User Database?
Message-ID:  <20170106224307.GB5334@ircbsd.lifeofadishwasher.com>
In-Reply-To: <20170106223905.GA5334@ircbsd.lifeofadishwasher.com>
References:  <659a54ac-b48d-d308-4f29-7a603c06bd1b@tundraware.com> <CABAemkPN00X9F8dN6q_uNKjaJqsTxUNLO1PQiJs6VtQMOtxDjg@mail.gmail.com> <8a20a242-22b4-3687-512c-66b16afa9b1c@tundraware.com> <20170106223905.GA5334@ircbsd.lifeofadishwasher.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <tundra@tundraware.com <mailto:tundra@tundraware.com>> 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/.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170106224307.GB5334>