---- Changes since 1.430 ----
The 'Password never expires' flag can be set for user accounts, thanks to a patch from Juan Miguel Corral.
Allow the server description to be set to explicitly nothing.
+---- Changes since 1.500 ----
+Show the real Samba version number on the main page.
}
# Check the samba version
-if ($samba_version = &get_samba_version(\$out)) {
+if ($samba_version = &get_samba_version(\$out, 0)) {
# Save version number
&open_tempfile(VERSION, ">$module_config_directory/version");
&print_tempfile(VERSION, $samba_version,"\n");
else {
&ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0,
&help_search_link("samba", "man", "doc", "google"));
- print &text('error_version', $config{'samba_server'}, "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n";
+ print &text('error_version', $config{'samba_server'},
+ "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n";
print "<pre>$out</pre>\n";
&ui_print_footer("/", $text{'index'});
exit;
}
&ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0,
&help_search_link("samba", "man", "doc", "google"), undef, undef,
- &text('index_version', $samba_version));
+ &text('index_version', &get_samba_version(\$out, 1)));
@empty = &list_shares();
if (!@empty && (-r $config{alt_smb_conf})) {