Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
24345ba7
Commit
24345ba7
authored
Jul 29, 2016
by
Mike Hibler
Browse files
Avoid hash randomization when generating samba config file too!
parent
9375fe41
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/exports_setup.in
View file @
24345ba7
...
...
@@ -630,7 +630,7 @@ if ($bosslistonly) {
# Spit out smb shares!
#
if
(
$WINSUPPORT
)
{
foreach
my
$share
(
keys
(
%globalsmbshares
)
)
{
foreach
my
$share
(
sort
(
keys
(
%globalsmbshares
)
)
)
{
my
@iplist
=
sort
sortbyip
@
{
$globalsmbshares
{
$share
}
->
{
iplist
}
};
my
$path
=
$globalsmbshares
{
$share
}
->
{
path
};
...
...
@@ -684,8 +684,10 @@ if (!$TESTMODE) {
# Next the SMB shares
if
(
$WINSUPPORT
)
{
TBDebugTimeStamp
("
Invoking exports_setup.proxy (samba)...
");
system
("
$SSH
$PROG
-S <
$smbconftail
")
==
0
or
fatal
("
Failed:
$SSH
$PROG
<
$smbconftail
: $?
");
TBDebugTimeStamp
("
exports_setup.proxy (samba) done
");
unlink
("
$smbconftail
");
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment