Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If my Windows workgroup is made of two words with a space in-between, does Samba's config file need quotes around the workgroup name, example: WORKGROUP = "MY WORKGROUP"

share|improve this question
up vote 1 down vote accepted

Apparently not. See man smb.conf - one of the first sections, FILE FORMAT, tells you:

   The values following the equals sign in parameters are all either a
   string (no quotes needed) or a boolean, which may be given as yes/no,
   1/0 or true/false.

So there you go - no you don't have to quote in smb.conf.

share|improve this answer

Spaces aren't allowed in NetBIOS names (such as a workgroup) so you're likely to run into problems later if you try to do this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.