Samba config grammar

David Collier-Brown davec-b at rogers.com
Wed Dec 21 16:16:29 MST 2011


Alas, it's pretty simple.  From memory...

config ::= (header  body*)*
header ::= [global | name of share]
    where an empty header (at the beginning of the file) is equivalent
to global
body ::= (name = value\n)*
    where value is a sequence of words and whitespace, with leading and
trailing
    whitespace removed.



Adam Przybyla wrote:
> On Wed, Dec 21, 2011 at 10:13:07AM -0600, Christopher R. Hertel wrote:
>   
>> Do you mean the grammar of the smb.conf file or the grammar of the protocol?
>>     
> 	... grammar of the config file.Regards
> 								Adam Przybyla
>
>   


-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb at spamcop.net           |                      -- Mark Twain
(416) 223-8968



More information about the samba-technical mailing list