summaryrefslogtreecommitdiff
path: root/swat
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-19 09:44:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:43 -0500
commit6c38e3324a3d2dc92c6456e2bfb3f3f62d98c77a (patch)
treed538ab4f63ae9fe69e16b664165f94c71dc8b8f1 /swat
parent01dd0f8c6cbf9ab546842aaa6dd1a6453c6e0ebc (diff)
downloadsamba-6c38e3324a3d2dc92c6456e2bfb3f3f62d98c77a.tar.gz
samba-6c38e3324a3d2dc92c6456e2bfb3f3f62d98c77a.tar.bz2
samba-6c38e3324a3d2dc92c6456e2bfb3f3f62d98c77a.zip
r8594: more placeholder pages for server status
(This used to be commit 1ad6b5878352708fb8863b85492e308a6c588a54)
Diffstat (limited to 'swat')
-rw-r--r--swat/index.esp14
-rw-r--r--swat/kdc_server/index.esp13
-rw-r--r--swat/menu.js9
-rw-r--r--swat/rpc_server/index.esp13
-rw-r--r--swat/wins_server/index.esp13
5 files changed, 52 insertions, 10 deletions
diff --git a/swat/index.esp b/swat/index.esp
index 0abfcc46d9..e1ec624308 100644
--- a/swat/index.esp
+++ b/swat/index.esp
@@ -10,13 +10,13 @@ var servers = new Array("nbt_server", "smb_server", "ldap_server", "cldap_server
var i;
var info = new Object();
-info["NBT Server"] = server_status("nbt");
-info["WINS Server"] = server_status("wins");
-info["CLDAP Server"] = server_status("cldap");
-info["KDC"] = server_status("kdc");
-info["SMB Server"] = stream_server_status("smb");
-info["LDAP Server"] = stream_server_status("ldap");
-info["RPC Server"] = stream_server_status("rpc");
+info["NBT Server"] = server_status("nbt");
+info["WINS Server"] = server_status("wins");
+info["CLDAP Server"] = server_status("cldap");
+info["Kerberos Server"] = server_status("kdc");
+info["SMB Server"] = stream_server_status("smb");
+info["LDAP Server"] = stream_server_status("ldap");
+info["RPC Server"] = stream_server_status("rpc");
simple_table(info);
%>
diff --git a/swat/kdc_server/index.esp b/swat/kdc_server/index.esp
new file mode 100644
index 0000000000..ed70f7ff46
--- /dev/null
+++ b/swat/kdc_server/index.esp
@@ -0,0 +1,13 @@
+<% page_header("columns", "Kerberos Server", "");
+
+ libinclude("base.js");
+ libinclude("management.js");
+%>
+
+<h1>Kerberos Server</h1>
+
+<%
+writefln("Status: %s\n", server_status("kdc"));
+%>
+
+<% page_footer(); %>
diff --git a/swat/menu.js b/swat/menu.js
index 78d61b34d2..406bba0a56 100644
--- a/swat/menu.js
+++ b/swat/menu.js
@@ -1,8 +1,11 @@
/* show a menu for the esp test pages */
simple_menu(
"Main Menu",
- "File Server", session_uri("/smb_server/"),
- "LDAP Server", session_uri("/ldap_server/"),
- "CLDAP Server", session_uri("/cldap_server/"),
+ "File Server", session_uri("/smb_server/"),
+ "LDAP Server", session_uri("/ldap_server/"),
+ "CLDAP Server", session_uri("/cldap_server/"),
+ "RPC Server", session_uri("/rpc_server/"),
"NBT Server", session_uri("/nbt_server/"),
+ "WINS Server", session_uri("/wins_server/"),
+ "Kerberos Server", session_uri("/kdc_server/"),
"ESP Tests", session_uri("/esptest/"));
diff --git a/swat/rpc_server/index.esp b/swat/rpc_server/index.esp
new file mode 100644
index 0000000000..5c42907783
--- /dev/null
+++ b/swat/rpc_server/index.esp
@@ -0,0 +1,13 @@
+<% page_header("columns", "RPC Server", "");
+
+ libinclude("base.js");
+ libinclude("management.js");
+%>
+
+<h1>RPC Server</h1>
+
+<%
+writefln("Status: %s\n", stream_server_status("rpc"));
+%>
+
+<% page_footer(); %>
diff --git a/swat/wins_server/index.esp b/swat/wins_server/index.esp
new file mode 100644
index 0000000000..d24fa3410d
--- /dev/null
+++ b/swat/wins_server/index.esp
@@ -0,0 +1,13 @@
+<% page_header("columns", "WINS Server", "");
+
+ libinclude("base.js");
+ libinclude("management.js");
+%>
+
+<h1>WINS Server</h1>
+
+<%
+writefln("Status: %s\n", server_status("wins"));
+%>
+
+<% page_footer(); %>