mirror of
https://github.com/webmin/webmin.git
synced 2025-07-25 01:23:45 +00:00
pdbedit may prompt for a password
This commit is contained in:
@ -641,7 +641,7 @@ if ($has_pdbedit) {
|
|||||||
"cd / && $config{'pdbedit'} -a -s $config{'smb_conf'} -u ".
|
"cd / && $config{'pdbedit'} -a -s $config{'smb_conf'} -u ".
|
||||||
quotemeta($_[0]->{'name'}).
|
quotemeta($_[0]->{'name'}).
|
||||||
($config{'sync_gid'} ? " -G $config{'sync_gid'}" : "").
|
($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>");
|
$? && &error("$config{'pdbedit'} failed : <pre>$out</pre>");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user