You do not need to configure these attributes "SambaServerRes:ConfFile", "SambaServerRes:LockDir" and "SambaServerRes:Ports".
type SambaShare (
static str ArgList[] = { "SambaServerRes:ConfFile",
"SambaServerRes:LockDir", ShareName, ShareOptions,
"SambaServerRes:Ports" }
str SambaServerRes
str ShareName
str ShareOptions
)