Private
commandProtected
confshare configuration to add
Update current global configuration
New global configuration
Update an existing share configuration NOTE: cannot simply update share name. see ()
new share configuration
Dump configuration to smb.conf format as string
Get current global configuration
Get share configuration by name
Get all share configurations
Import configuration from smb.conf format string
smb.conf format string
Get list of all share names
Private
modifyPrivate
modifyParse complete samba configuration text (e.g. contents of smb.conf) into configuration object
Complete configuration text
Parse global configuration text into global config object
Global configuration text, including '[global]' header
Parse configuration text into a share object
Share configuration text, including '[share name]' header
Recommended defaults for global configuration. Maintained in ./recommended-defaults.conf
Recommended defaults for a new share. Maintained in ./recommended-defaults.conf
Private
reloadRemove an existing share configuration
share to remove
Rename a share
Add samba user with specific passwd
Unparse comlete samba configuration object back into smbd.conf format text
Add a new share configuration