mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Merge pull request #1895 from martelrotschy/dev/fix-pdbedit-bug
Fixes webmin/webmin#1894
This commit is contained in:
@@ -646,7 +646,7 @@ if ($has_pdbedit) {
|
||||
local $out = &backquote_logged(
|
||||
"cd / && $config{'pdbedit'} -a -s $config{'smb_conf'} -t -u ".
|
||||
quotemeta($user->{'name'}).
|
||||
($config{'sync_gid'} ? " -G $config{'sync_gid'}" : "").
|
||||
($config{'sync_gid'} ? " -g $config{'sync_gid'}" : "").
|
||||
" -c '[".join("", @opts)."]' $ws <$temp 2>&1");
|
||||
$? && &error("$config{'pdbedit'} failed : <pre>$out</pre>");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user