s4: Create helpers functions related to provision
[Samba.git] / swat2 / index.esp
blob1924e4021056ac095cb2f45a235ba6e6f4939b12
1 <% page_header("columns", "Server Status", "main");
2   libinclude("base.js");
3   libinclude("management.js");
4   libinclude("provision.js");
6   if (install_ok(session.authinfo.session_info, session.authinfo.credentials) == false) {
7           redirect("/install/");
8   }
12 <h1>Server Status</h1>
15 var servers = new Array("nbt_server", "smb_server", "ldap_server", "cldap_server", "kdc_server");
16 var i;
17 var info = new Object();
19 info["NBT Server"]      = server_status("nbt");
20 info["WINS Server"]     = server_status("wins");
21 info["CLDAP Server"]    = server_status("cldap");
22 info["Kerberos Server"] = server_status("kdc");
23 info["SMB Server"]      = stream_server_status("smb");
24 info["LDAP Server"]     = stream_server_status("ldap");
25 info["RPC Server"]      = stream_server_status("rpc");
27 simple_table(info);
30 <% page_footer(); %>