Web lists-archives.com

Re: [Samba] Data Locations




On Mon, 3 Dec 2018 10:58:04 -0600
Bob Wooldridge <bob.wooldridge@xxxxxxxxxxx> wrote:

> -------- Original Message --------
> Subject: Re: [Samba] Data Locations
> From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
> To: samba@xxxxxxxxxxxxxxx
> Date: 12/03/2018 10:40 AM
> >
> > It depends on whether you are using OS Samba packages or compiling
> > Samba yourself.
> > If OS packages, it depends on the OS.
> > If self-compiled, it depends on the configure PREFIX option.
> >
> > It ultimately boils down to /path/to/private/sam.ldb
> Thanks for the info.  I'm using Debian so that file is located at 
> /var/lib/samba/secrets/sam.ldb
> However, the date and size of that file does not change after I add
> an entry.  In fact, there's nothing in the private directory that
> seems to change.  Is there another place I should look?

'look' as in 'oh, thats where they are' ? If so, then yes, try:

ls /var/lib/samba/private/sam.ldb.d

Do not change anything in there, also search or modify
via /var/lib/samba/private/sam.ldb

> >
> > Can I ask why you need to know ?
> I just like to know where things are.  It may come in handy with 
> troubleshooting and of course, backing up the file manually might be 
> important.

Do not just backup Samba in that way, use a version of Samba from 4.9.0
onwards and use the new samba-tool backup & restore tools.

Rowland
 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba