Re: Samba on SS4

Dan Homolka <[email protected]>
Newsgroups gmane.linux.suse.sparc
Organization SuSE Linux UK Limited
Message-ID <[email protected]>

daniel carter wrote:
> On Tue, 03 Dec 2002 22:06, Dan Homolka wrote:
> 
> 
>>Although be aware that SWAT rewrites the smb.conf file from scratch when
>>you change a setting and do a "commit", so you will loose anything you
>>add to the configuration file by hand.
> 
> 
> If you edit the smb.conf file with a text editor, and then make more changes through SWAT, you wont loose any settings.  The only thing you'll loose is comments you added to the file.
> 
> When you use SWAT it reads in the all the settings from the config file regardless of how those settings got added to the config file.  Then when you commit, it saves all the existing settings + your changes.
> 

My apologies. You are indeed correct. And the man pages says as much 
too... although it also says:

"It will rearrange the entries and delete all comments, include= and 
copy=" options. If you have a carefully crafted  smb.conf then back it 
up or don't use swat!"

I never trust those new fangled GUIs... I prefer old-fangled 
configuration file editor user interface = vi ;-)

Dan.

PS What does "fangled" mean anyway? :-)


-- 
Dr Dan Homolka
SuSE Linux UK.
Telephone: +44 (0) 20 8846 3918
Email: [email protected]
Web: http://www.suse.co.uk/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.