NAME

PERL : Libconf::Glueconf::Samba::Smb_conf C/PYTHON/RUBY : Samba/Smb_conf

DESCRIPTION

Libconf::Glueconf::Samba::Smb_conf is a template that handles the samba smb.conf configuration file.

SYNOPSIS

$samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf' });
$samba->{homes}->{writable} = 'TEST';
$samba->{share}->{test} = 'yes';
$samba->write_conf('/etc/samba/edited_smb.conf');

CONSTRUCTOR

new($options)

creates the template

$samba = new Libconf::Glueconf::Samba::Smb_conf({
                                                 .. arguments .. 
                                               })

the options are the same as in Libconf::Templates::Samba, look there to have the details.

METHODS

See <Libconf::Glueconf> for general methods