pdbedit may prompt for a password

This commit is contained in:
Jamie Cameron
2014-04-03 16:48:36 -07:00
parent 551b811dbc
commit 253d920ae6

View File

@ -641,7 +641,7 @@ if ($has_pdbedit) {
"cd / && $config{'pdbedit'} -a -s $config{'smb_conf'} -u ".
quotemeta($_[0]->{'name'}).
($config{'sync_gid'} ? " -G $config{'sync_gid'}" : "").
" -c '[".join("", @opts)."]' $ws");
" -c '[".join("", @opts)."]' $ws </dev/null 2>&1");
$? && &error("$config{'pdbedit'} failed : <pre>$out</pre>");
}
else {