svn commit: samba r12876 - in branches/tmp/deryck-samba4-swat/swat:
.
deryck at samba.org
deryck at samba.org
Thu Jan 12 21:57:32 GMT 2006
Author: deryck
Date: 2006-01-12 21:57:30 +0000 (Thu, 12 Jan 2006)
New Revision: 12876
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12876
Log:
In the spirit of Samba4, I'm tossing it all out
and starting fresh. :-)
There's just too much here that's playing around,
and it's taking me too long to sort through it all.
I can selectively bring over things from SAMBA_4_0
when needed.
deryck
Removed:
branches/tmp/deryck-samba4-swat/swat/cldap_server/
branches/tmp/deryck-samba4-swat/swat/desktop/
branches/tmp/deryck-samba4-swat/swat/docs/
branches/tmp/deryck-samba4-swat/swat/esptest/
branches/tmp/deryck-samba4-swat/swat/html/
branches/tmp/deryck-samba4-swat/swat/images/
branches/tmp/deryck-samba4-swat/swat/index.esp
branches/tmp/deryck-samba4-swat/swat/install/
branches/tmp/deryck-samba4-swat/swat/kdc_server/
branches/tmp/deryck-samba4-swat/swat/ldap_server/
branches/tmp/deryck-samba4-swat/swat/login.esp
branches/tmp/deryck-samba4-swat/swat/logout.esp
branches/tmp/deryck-samba4-swat/swat/menu.js
branches/tmp/deryck-samba4-swat/swat/nbt_server/
branches/tmp/deryck-samba4-swat/swat/rpc_server/
branches/tmp/deryck-samba4-swat/swat/scripting/
branches/tmp/deryck-samba4-swat/swat/smb_server/
branches/tmp/deryck-samba4-swat/swat/style/
branches/tmp/deryck-samba4-swat/swat/wins_server/
Changeset:
Deleted: branches/tmp/deryck-samba4-swat/swat/index.esp
===================================================================
--- branches/tmp/deryck-samba4-swat/swat/index.esp 2006-01-12 21:54:37 UTC (rev 12875)
+++ branches/tmp/deryck-samba4-swat/swat/index.esp 2006-01-12 21:57:30 UTC (rev 12876)
@@ -1,30 +0,0 @@
-<% page_header("columns", "Server Status", "main");
- libinclude("base.js");
- libinclude("management.js");
- libinclude("provision.js");
-
- if (install_ok(session.authinfo.session_info, session.authinfo.credentials) == false) {
- redirect("/install/");
- }
-
-%>
-
-<h1>Server Status</h1>
-
-<%
-var servers = new Array("nbt_server", "smb_server", "ldap_server", "cldap_server", "kdc_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["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);
-%>
-
-<% page_footer(); %>
Deleted: branches/tmp/deryck-samba4-swat/swat/login.esp
===================================================================
--- branches/tmp/deryck-samba4-swat/swat/login.esp 2006-01-12 21:54:37 UTC (rev 12875)
+++ branches/tmp/deryck-samba4-swat/swat/login.esp 2006-01-12 21:57:30 UTC (rev 12876)
@@ -1,59 +0,0 @@
-<% page_header("plain", "SWAT Login", "");
- libinclude("auth.js");
- include("/scripting/forms.js");
-
-if (request['SESSION_EXPIRED'] == "True") {
- write("<b>Your session has expired - please authenticate again<br /></b>\n");
-}
-
-var f = FormObj("login", 3, 1);
-f.element[0].label = "Username";
-f.element[0].value = form['Username'];
-f.element[1].label = "Password";
-f.element[1].value = form['Password'];
-f.element[1].type = "password";
-f.element[2].label = "Domain";
-f.element[2].type = "select";
-f.element[2].list = getDomainList();
-f.submit[0] = "Login";
-
-f.display();
-%>
-
-<%
- if (request.REQUEST_METHOD == "POST") {
- var creds = credentials_init();
- creds.set_username(form.Username);
- creds.set_password(form.Password);
- creds.set_domain(form.Domain);
- creds.set_workstation(request['REMOTE_HOST']);
-
- auth = userAuth(creds, request['REMOTE_SOCKET_ADDRESS']);
- if (auth == undefined) {
- write("<b>Invalid login - please try again<br /></b>\n");
- } else if (auth.result) {
- session.AUTHENTICATED = true;
- session.authinfo = new Object();
-
- session.authinfo.username = auth.username;
- session.authinfo.domain = auth.domain;
- session.authinfo.credentials = creds;
- session.authinfo.session_info = auth.session_info;
-
- /* if the user was asking for the login page, then now
- redirect them to the main page. Otherwise just
- redirect them to the current page, which will now
- show its true content */
- if (request.REQUEST_URI == "/login.esp") {
- redirect(session_uri("/"));
- } else {
- redirect(session_uri(request.REQUEST_URI));
- }
- } else if (auth.report == undefined) {
- write("<b>Login failed - please try again<br /></b>\n");
- } else {
- write("<b>Login failed: " + auth.report + " - please try again<br /></b>\n");
- }
- }
-%>
-<% page_footer(); %>
Deleted: branches/tmp/deryck-samba4-swat/swat/logout.esp
===================================================================
--- branches/tmp/deryck-samba4-swat/swat/logout.esp 2006-01-12 21:54:37 UTC (rev 12875)
+++ branches/tmp/deryck-samba4-swat/swat/logout.esp 2006-01-12 21:57:30 UTC (rev 12876)
@@ -1,8 +0,0 @@
-<%
-page_header("plain", "Logging out", "");
-
-session.AUTHENTICATED = false;
-redirect("/login.esp");
-
-page_footer();
-%>
Deleted: branches/tmp/deryck-samba4-swat/swat/menu.js
===================================================================
--- branches/tmp/deryck-samba4-swat/swat/menu.js 2006-01-12 21:54:37 UTC (rev 12875)
+++ branches/tmp/deryck-samba4-swat/swat/menu.js 2006-01-12 21:57:30 UTC (rev 12876)
@@ -1,63 +0,0 @@
-/*
- the menu hierarchy for SWAT
-*/
-
-include("/scripting/menus.js");
-
-swat_menus = new Object();
-
-swat_menus.main = simple_menu(
- "Main Menu",
- "Servers", session_uri("/?menu=servers"),
- "Installation", session_uri("/install/"),
- "Configuration", session_uri("/config/"),
- "ESP Tests", session_uri("/esptest/"));
-
-swat_menus.servers = simple_menu(
- "Servers",
- "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/"));
-
-swat_menus.esptest = simple_menu(
- "ESP Tests",
- "ldb database", session_uri("/esptest/ldb.esp"),
- "samr calls", session_uri("/esptest/samr.esp"),
- "html forms", session_uri("/esptest/formtest.esp"),
- "esp includes", session_uri("/esptest/include.esp"),
- "session variables", session_uri("/esptest/session.esp"),
- "loadparm access", session_uri("/esptest/loadparm.esp"),
- "exception handling", session_uri("/esptest/exception.esp"),
- "environment variables", session_uri("/esptest/showvars.esp"),
- "qooxdoo", session_uri("/esptest/qooxdoo.esp"),
- "registry", session_uri("/esptest/registry.esp"));
-
-
-swat_menus.install = simple_menu(
- "Installation",
- "Provisioning", session_uri("/install/provision.esp"),
- "New User", session_uri("/install/newuser.esp"),
- "Import from Samba3", session_uri("/install/samba3.esp"));
-
-
-swat_menus.nbt_server = simple_menu(
- "NBT Server",
- "Statistics", session_uri("/nbt_server/index.esp"));
-
-
-swat_menus.docs = simple_menu(
- "Links",
- "Samba4 development", "http://devel.samba.org/",
- "Recent Checkins", "http://build.samba.org/?tree=samba4;function=Recent+Checkins",
- "Recent Builds", "http://build.samba.org/?tree=samba4;function=Recent+Builds",
- "EJS Information", "http://www.appwebserver.org/products/ejs/ejs.html",
- "ESP Information", "http://www.appwebserver.org/products/esp/esp.html",
- "XHTML Spec", "http://www.w3.org/TR/xhtml1/",
- "JavaScript Spec", "http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf",
- "CSS Specs", "http://www.w3.org/Style/CSS/#specs",
- "CSS1/2 Reference", "http://www.w3schools.com/css/css_reference.asp",
- "qooxdoo info", "http://qooxdoo.sourceforge.net/");
-
More information about the samba-cvs
mailing list