NAME

Samba - LCFG Samba component

DESCRIPTION

Simple component to start and stop the Samba daemon.

RESOURCES

sid

The SMB machine identifier, mostly not needed but if you wish to make it constant (between installations for example) you should set it here. By default it is not set.

smbdoptions

The command line options passed to the smbd daemon at startup.

nmbdoptions

The command line options passed to the nmbd daemon at startup.

winbindoptions

The command line options passed to the winbind daemon at startup (default: None).

globals

The list of key, value pairs that make up the [globals] section of the smbd.conf file. You must add any key additions to this list and assign a value to the key.

shares

The list of lists of key, value pairs that make up each "share" section of the smbd.conf file. You must add any key additions to a list and assign a value to the key. eg

samba.shares                 home
samba.sharename_home         homes
samba.options_home           comment browseable
samba.option_home_comment    Home Share
samba.option_home_browseable no

to create

[homes]
comment = Home Share
browseable = no

If you don't specifiy a "sharename", the name of the key is used, eg "home" in the above example.

METHODS

Just the default start, stop and restart.

NOTES

By default the smb.conf file written is identical to the smb.conf shipped with RedHat.