[samb4] Where Is The User Database?

Derek Schrock dereks at lifeofadishwasher.com
Fri Jan 6 22:39:09 UTC 2017


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 at tundraware.com <mailto:tundra at 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?


More information about the freebsd-questions mailing list