summaryrefslogtreecommitdiff
path: root/swat/esptest/samr.esp
diff options
context:
space:
mode:
Diffstat (limited to 'swat/esptest/samr.esp')
-rw-r--r--swat/esptest/samr.esp4
1 files changed, 2 insertions, 2 deletions
diff --git a/swat/esptest/samr.esp b/swat/esptest/samr.esp
index 65902e0ce4..a60a02e7c8 100644
--- a/swat/esptest/samr.esp
+++ b/swat/esptest/samr.esp
@@ -7,9 +7,9 @@
<h1>Samba4 samr rpc test</h1>
<%
-var conn = new Object();
+var conn = samr_init();
var binding = "ncalrpc:";
-status = rpc_connect(conn, binding, "samr");
+status = conn.connect(binding);
check_status_ok(status);
handle = samrConnect(conn);