1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r8594: more placeholder pages for server status

This commit is contained in:
Andrew Tridgell 2005-07-19 09:44:55 +00:00 committed by Gerald (Jerry) Carter
parent bc9d9531f5
commit 1ad6b58783
5 changed files with 52 additions and 10 deletions

View File

@ -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);
%>

13
swat/kdc_server/index.esp Normal file
View File

@ -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(); %>

View File

@ -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/"));

13
swat/rpc_server/index.esp Normal file
View File

@ -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(); %>

View File

@ -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(); %>