extract smb.conf from SMBD

Michael Adam obnox at samba.org
Fri Sep 19 16:47:45 MDT 2014


Hi Herczeg,

On 2014-09-18 at 12:16 +0200, Herczeg Péter wrote:
> 
> I have a test project for Samba4 AD integration, and after finally I got to
> work Domain controller and authentication, I have "lost" my correct
> smb.conf by installing cifs-utils (which has overwrote my correct
>  smb.conf)
> 
> Of course, I did not made smb.conf backup yet to recover easily, but SMBD
> has not been restarted yet, so SMB.conf is active in daemon.
> 
> is there any way to get this working .conf file from cache, memory or from
> process?

Firstly, not that I am aware of.

Secondly, it would not help much, since the running smbd process
periodically checks whether the config file has been updated and
load it, if this is the case. So the in-memory config would
already reflect the overwritten file.

Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140920/2b0cb271/attachment.pgp>


More information about the samba-technical mailing list