r19357: More ldbbrowse work.
[jra/samba/.git] / swat / index.esp
1 <% page_header("columns", "Server Status", "main");
2   libinclude("base.js");
3   libinclude("management.js");
4   libinclude("provision.js");
5
6   if (install_ok(session.authinfo.session_info, session.authinfo.credentials) == false) {
7           redirect("/install/");
8   }
9
10 %>
11
12 <h1>Server Status</h1>
13
14 <%
15 var servers = new Array("nbt_server", "smb_server", "ldap_server", "cldap_server", "kdc_server");
16 var i;
17 var info = new Object();
18
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");
26
27 simple_table(info);
28 %>
29
30 <% page_footer(); %>