Commit dc1781e3 authored by Leigh B Stoller's avatar Leigh B Stoller

Don't do samba stuff if WINSUPPORT=0.

parent 7b79b5b7
......@@ -62,6 +62,7 @@ my $TBLOGS = "@TBLOGSEMAIL@";
my $TBAUDIT = "@TBAUDITEMAIL@";
my $CONTROL = "@USERNODE@";
my $BOSSNODE = "@BOSSNODE@";
my $WINSUPPORT = @WINSUPPORT@;
my $WITHZFS = @WITHZFS@;
my $ZFS_NOEXPORT= @ZFS_NOEXPORT@;
my $WIKISUPPORT = @WIKISUPPORT@;
......@@ -812,6 +813,12 @@ sub UpdateWindowsPassword()
return 0
if (! ($status eq USERSTATUS_ACTIVE || $status eq USERSTATUS_FROZEN));
#
# Do nothing if we are not even doing windoze.
#
return 0
if (! $WINSUPPORT);
#
# Change on ops for Samba only if there is a real account there.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment