F7 Silly question about system-config-samba

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Jun 20 14:38:07 UTC 2007


antonio montagnani wrote:
> If I am running samba with the following samba.conf file:
> 
<--------------------------[ SNIP ]---------------------->
> ;    workgroup = workgroup
>     username map = /etc/samba/smbusers
> ;    workgroup = workgroup
> 
<--------------------------[ SNIP ]---------------------->
> I should see workgroup in  the following window, instead I see a blank
> line where mygroup is...why??
> 
> file:///usr/share/doc/system-config-samba-1.2.41/figs/r-c-samba-basic.png
> 
> Another question: what does a ; mean in front of a line ??
> 
The ; at the start of the line turns it into a comment. It is used
in place of the # to show that this is a parameter can be turned on
by removing the ;, as opposed to the explanation text after the #.
You will run into this fairly often in config files.

You get a blank workgroup name because both the lines nameing the
workgroup are commented out, so you have not given the workgroup a name.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list