22 |
|
|
23 |
package Libconf::Glueconf::Samba; |
package Libconf::Glueconf::Samba; |
24 |
use strict; |
use strict; |
|
use vars qw(@ISA); |
|
25 |
use Libconf; |
use Libconf; |
26 |
|
|
27 |
our @ISA = qw(Libconf); |
our @ISA = qw(Libconf); |
244 |
return $obj->{libconf}->getAtom($pos)->{value}; |
return $obj->{libconf}->getAtom($pos)->{value}; |
245 |
} |
} |
246 |
|
|
247 |
|
package Libconf::Glueconf::Samba; |
248 |
$data_synopsis ||= {}; |
$data_synopsis ||= {}; |
249 |
$data_synopsis->{default_version} = |
$data_synopsis->{default_version} = |
250 |
{ |
{ |
267 |
'announce as' => { type => 'STRING', values => [ "NT Server", "NT", "NT Workstation", "Win95", "WfW"], default => 'NT' }, |
'announce as' => { type => 'STRING', values => [ "NT Server", "NT", "NT Workstation", "Win95", "WfW"], default => 'NT' }, |
268 |
'announce version' => { type => 'VERSION', default => '4.9' }, |
'announce version' => { type => 'VERSION', default => '4.9' }, |
269 |
'auto services' => { type => 'LIST', type2 => 'STRING', type3 => ' '}, |
'auto services' => { type => 'LIST', type2 => 'STRING', type3 => ' '}, |
270 |
'bind interfaces only' => { type => 'LIST', type2 => 'INTERFACE', type3 => ' ' }, |
'bind interfaces only' => { type => 'LIST', type2 => 'NET_INTERFACE', type3 => ' ' }, |
271 |
'browse list' => { type => 'BOOLEAN', default => 1 }, |
'browse list' => { type => 'BOOLEAN', default => 1 }, |
272 |
'change notify timeout' => { type => 'DURATION', type2 => 'SECONDS', default => 60 }, |
'change notify timeout' => { type => 'DURATION', type2 => 'SECONDS', default => 60 }, |
273 |
'change share command' => { type => 'COMMAND' }, |
'change share command' => { type => 'COMMAND' }, |
303 |
'homedir map' => { type => 'STRING' }, |
'homedir map' => { type => 'STRING' }, |
304 |
'host msdfs' => { type => 'BOOLEAN', default => 0}, |
'host msdfs' => { type => 'BOOLEAN', default => 0}, |
305 |
'hosts equiv' => { type => 'FILENAME' }, |
'hosts equiv' => { type => 'FILENAME' }, |
306 |
'interfaces' => { type => 'LIST', type2 => 'STRING|INTERFACE|IP/MASK', type3 => ' '}, |
'interfaces' => { type => 'LIST', type2 => 'STRING|NET_INTERFACE|IP/MASK', type3 => ' '}, |
307 |
'keepalive' => { type => 'DURATION', type2 => 'SECONDS', default => 300 }, |
'keepalive' => { type => 'DURATION', type2 => 'SECONDS', default => 300 }, |
308 |
'kernel oplocks' => { type => 'BOOLEAN', default => 1}, |
'kernel oplocks' => { type => 'BOOLEAN', default => 1}, |
309 |
'lanman auth' => { type => 'BOOLEAN', default => 1 }, |
'lanman auth' => { type => 'BOOLEAN', default => 1 }, |