[global] 參數項目 = 設定內容 .... [分享資源名稱] 參數項目 = 設定內容 ....
[global]
# 與主機名稱有關的設定資訊
workgroup = dicgroup
# 與語系方面有關的設定項目喔,為何如此設定請參考前面的說明
unix charset = utf8
display charset = utf8
dos charset = cp950
# 這裡才是與密碼有關的設定項目哩!
security = user[wwwgroup]
comment = 網芳的群組
path = /srv/wwwgroup
public = yes
writable = yes
write list = @wwwgroup