DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-11-16 22:01:43

bkamen
Member
From: Central East Illinois, USA
Registered: 2007-07-16
Posts: 80
Website

Where is smb.conf stored?

Ok,

As I've mentioned before I've changed my smb.conf file around using vi in a webgui-unfriendly fashion. When I did my upgrade, it wrecked my smb.conf file. (which I saved elsewhere). 

Before, when I copied it over and then did a graceful shutdown, it was saved. Now it seems to come back with a version I don't want and I don't know where it's storing this other version.

Does anyone know where smb.conf gets saved in non-volatile fashion to survive reboots?

Thanks,

-Ben

p.s. I did notice that smb.default and smb.default.ads get saved out, but they don't seem to be part of the equation as they are not the smb.conf I'm seeing on reboot unless I'm missing something else.


--
Ben - Don't Ask me how I fixed it - I have no idea what I'm doing!
============================================
http://www.benjammin.net/

Offline

 

#2 2009-11-16 22:06:47

bkamen
Member
From: Central East Illinois, USA
Registered: 2007-07-16
Posts: 80
Website

Re: Where is smb.conf stored?

I think I found it...

More in a moment...


--
Ben - Don't Ask me how I fixed it - I have no idea what I'm doing!
============================================
http://www.benjammin.net/

Offline

 

#3 2009-11-16 22:54:28

bkamen
Member
From: Central East Illinois, USA
Registered: 2007-07-16
Posts: 80
Website

Re: Where is smb.conf stored?

Ok, there's 2 places that the DNS-343 stores additional configuration information (in case no one knew):

HD_a4/backup/.systemfile/.smb.ses
HD_a4/.systemfile/.smb.ses
HD_b4/backup/.systemfile/.smb.ses
HD_c4/backup/.systemfile/.smb.ses
HD_d4/backup/.systemfile/.smb.ses

Why it's in so many places, I have no idea. (probably because I have 4 drives in a raid5... yada yada)

I'm looking for the file that copies and appends it to /etc/samba/smb.conf

-Ben

Last edited by bkamen (2009-11-16 22:59:54)


--
Ben - Don't Ask me how I fixed it - I have no idea what I'm doing!
============================================
http://www.benjammin.net/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB