diff options
Diffstat (limited to 'selftest/target')
-rw-r--r-- | selftest/target/Samba3.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 0e1602231a..c3f696a99d 100644 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -436,6 +436,8 @@ sub provision($$$$$$) my $nss_wrapper_passwd = "$privatedir/passwd"; my $nss_wrapper_group = "$privatedir/group"; + my $mod_printer_pl = "$ENV{PERL} $RealBin/../source3/script/tests/printing/modprinter.pl"; + open(CONF, ">$conffile") or die("Unable to open $conffile"); print CONF " [global] @@ -469,6 +471,9 @@ sub provision($$$$$$) delete group script = $nss_wrapper_pl --group_path $nss_wrapper_group --type group --action delete --name %g delete user from group script = $nss_wrapper_pl --passwd_path $nss_wrapper_passwd --type member --action delete --member %u --name %g --group_path $nss_wrapper_group + addprinter command = $mod_printer_pl -a -s $conffile -- + deleteprinter command = $mod_printer_pl -d -s $conffile -- + kernel oplocks = no kernel change notify = no |