Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
add comment

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
add comment

Your Answer

 
discard

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.